diff --git a/configs/stm3240g-eval/nsh/defconfig b/configs/stm3240g-eval/nsh/defconfig index 3e6e768e561..70eee412fc7 100644 --- a/configs/stm3240g-eval/nsh/defconfig +++ b/configs/stm3240g-eval/nsh/defconfig @@ -1259,6 +1259,12 @@ CONFIG_LCD_LANDSCAPE=n CONFIG_LCD_PORTRAIT=n CONFIG_LCD_RPORTRAIT=y +# +# STM3240G-EVAL specific LCD settings +# +CONFIG_STM32_ILI9320_DISABLE=n +CONFIG_STM32_ILI9325_DISABLE=n + # # Settings for examples/uip # diff --git a/configs/stm3240g-eval/nxconsole/defconfig b/configs/stm3240g-eval/nxconsole/defconfig index f48f04f2474..d845c720693 100644 --- a/configs/stm3240g-eval/nxconsole/defconfig +++ b/configs/stm3240g-eval/nxconsole/defconfig @@ -1259,6 +1259,13 @@ CONFIG_LCD_LANDSCAPE=y CONFIG_LCD_PORTRAIT=n CONFIG_LCD_RPORTRAIT=n + +# +# STM3240G-EVAL specific LCD settings +# +CONFIG_STM32_ILI9320_DISABLE=n +CONFIG_STM32_ILI9325_DISABLE=n + # # Settings for examples/uip # diff --git a/configs/stm3240g-eval/src/up_lcd.c b/configs/stm3240g-eval/src/up_lcd.c index c77af6ac0c6..4ab5c02585b 100644 --- a/configs/stm3240g-eval/src/up_lcd.c +++ b/configs/stm3240g-eval/src/up_lcd.c @@ -914,7 +914,7 @@ static inline void stm3240g_lcdinitialize(void) { uint16_t id; - /* Check if the LCD is xxx Controller (or the compatible) */ + /* Check LCD ID */ id = stm3240g_readreg(LCD_REG_0); lcddbg("LCD ID: %04x\n", id); @@ -1197,6 +1197,6 @@ void stm3240g_lcdclear(uint16_t color) for (i = 0; i < STM3240G_XRES * STM3240G_YRES; i++) { LCD->value = color; - } + } }