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:
parent
f6999a52fe
commit
4255e3005b
2 changed files with 35 additions and 0 deletions
|
@ -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
|
||||
**********************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue