summaryrefslogtreecommitdiff
path: root/nuttx/configs/mikroe-stm32f4/src/up_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/mikroe-stm32f4/src/up_boot.c')
-rw-r--r--nuttx/configs/mikroe-stm32f4/src/up_boot.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/configs/mikroe-stm32f4/src/up_boot.c b/nuttx/configs/mikroe-stm32f4/src/up_boot.c
index 4fd18f729..bbdd435c7 100644
--- a/nuttx/configs/mikroe-stm32f4/src/up_boot.c
+++ b/nuttx/configs/mikroe-stm32f4/src/up_boot.c
@@ -71,6 +71,12 @@
void stm32_boardinitialize(void)
{
+ /* Configure GPIOs for controlling the LCD */
+
+#ifdef CONFIG_LCD_MIO283QT2
+ stm32_lcdinitialize();
+#endif
+
/* Configure SPI chip selects if 1) SPI is not disabled, and 2) the weak function
* stm32_spiinitialize() has been brought into the link.
*/