feat(lvgl_helpers): Add function to initialize GPIOs

Adds helper function to initialize GPIOs, this avoids having to configure and initialize GPIOs in the drivers init function.

Closes #128
This commit is contained in:
C47D 2021-10-06 23:17:03 -05:00
parent f6999a52fe
commit 4255e3005b
2 changed files with 35 additions and 0 deletions

View file

@ -98,6 +98,8 @@ void lvgl_driver_init(void);
bool lvgl_spi_driver_init(int host, int miso_pin, int mosi_pin, int sclk_pin,
int max_transfer_sz, int dma_channel, int quadwp_pin, int quadhd_pin);
/* Initialize display GPIOs, e.g. DC and RST pins */
void display_bsp_init_io(void);
/**********************
* MACROS
**********************/