diff --git a/bsp/imxrt1052-evk/Kconfig b/bsp/imxrt1052-evk/Kconfig index ad79f2480d..b9a10b2c78 100644 --- a/bsp/imxrt1052-evk/Kconfig +++ b/bsp/imxrt1052-evk/Kconfig @@ -342,7 +342,7 @@ endif endchoice endmenu -if !BOARD_RT1050_ATK && !BOARD_RT1050_SeeedStudio +if !BOARD_RT1050_SeeedStudio menu "Select lcd driver" if RT_USING_LCD && BOARD_RT1050_EVK comment "Notice: Evk Board para: 480*272 4 4 8 2 40 10 106 45" @@ -355,6 +355,10 @@ menu "Select lcd driver" if RT_USING_LCD && BOARD_RT1050_FIRE comment "Notice: Fire Board para: 800*480 4 4 8 2 40 10 58 45" endif + + if RT_USING_LCD && BOARD_RT1050_ATK + comment "Notice: ATK Board para: 480*272 4 4 8 2 40 10 109 45" + endif config RT_USING_LCD bool "Using lcd" @@ -362,52 +366,53 @@ menu "Select lcd driver" config LCD_WIDTH int "Width pixel num" - default 480 if BOARD_RT1050_EVK + default 480 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK) default 800 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard) depends on RT_USING_LCD config LCD_HEIGHT int "Height pixel num" - default 272 if BOARD_RT1050_EVK + default 272 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK) default 480 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard) depends on RT_USING_LCD config LCD_HFP int "HFP" - default 4 if BOARD_RT1050_EVK + default 4 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK) default 4 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard) depends on RT_USING_LCD config LCD_VFP int "VFP" - default 4 if BOARD_RT1050_EVK + default 4 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK) default 4 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard) depends on RT_USING_LCD config LCD_HBP int "HBP" - default 8 if BOARD_RT1050_EVK + default 8 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK) default 8 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard) depends on RT_USING_LCD config LCD_VBP int "VBP" - default 2 if BOARD_RT1050_EVK + default 2 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK) default 2 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard) depends on RT_USING_LCD config LCD_HSW int "HSW" - default 40 if BOARD_RT1050_EVK + default 40 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK) default 40 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard) depends on RT_USING_LCD config LCD_VSW int "VSW" - default 10 if BOARD_RT1050_EVK + default 10 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK) default 10 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard) depends on RT_USING_LCD config LCD_BL_PIN int "Backlight pin index" + default 109 if BOARD_RT1050_ATK default 106 if BOARD_RT1050_EVK default 58 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard) depends on RT_USING_LCD config LCD_RST_PIN int "Reset pin index" - default 45 if BOARD_RT1050_EVK + default 45 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK) default 45 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard) depends on RT_USING_LCD endmenu