[bsp][imxrt1052-evk] add SeeedStudio RT-M7 lcd support
修改Kconfig文件支持SeeedStudio RT-M7的lcd屏幕
This commit is contained in:
parent
c9b430a023
commit
6b9797e9a7
|
@ -342,13 +342,13 @@ endif
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
if !BOARD_RT1050_SeeedStudio
|
|
||||||
menu "Select lcd driver"
|
menu "Select lcd driver"
|
||||||
if RT_USING_LCD && BOARD_RT1050_EVK
|
if RT_USING_LCD && BOARD_RT1050_EVK
|
||||||
comment "Notice: Evk Board para: 480*272 4 4 8 2 40 10 106 45"
|
comment "Notice: Evk Board para: 480*272 4 4 8 2 40 10 106 45"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if RT_USING_LCD && BOARD_RT1050_ShareBoard
|
if RT_USING_LCD && BOARD_RT1050_ShareBoard
|
||||||
comment "Notice: ShareBoard Board para: 800*480 4 4 8 2 40 10 58 45"
|
comment "Notice: ShareBoard Board para: 800*480 4 4 8 2 40 10 58 45"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -360,63 +360,68 @@ menu "Select lcd driver"
|
||||||
comment "Notice: ATK Board para: 480*272 4 4 8 2 40 10 109 45"
|
comment "Notice: ATK Board para: 480*272 4 4 8 2 40 10 109 45"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if RT_USING_LCD && BOARD_RT1050_SeeedStudio
|
||||||
|
comment "Notice: SeeedStudio Board para: 480*272 4 4 8 2 40 10 127 45"
|
||||||
|
endif
|
||||||
|
|
||||||
config RT_USING_LCD
|
config RT_USING_LCD
|
||||||
bool "Using lcd"
|
bool "Using lcd"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config LCD_WIDTH
|
config LCD_WIDTH
|
||||||
int "Width pixel num"
|
int "Width pixel num"
|
||||||
default 480 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK)
|
default 480 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK || BOARD_RT1050_SeeedStudio)
|
||||||
default 800 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
default 800 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
||||||
depends on RT_USING_LCD
|
depends on RT_USING_LCD
|
||||||
config LCD_HEIGHT
|
config LCD_HEIGHT
|
||||||
int "Height pixel num"
|
int "Height pixel num"
|
||||||
default 272 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK)
|
default 272 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK || BOARD_RT1050_SeeedStudio)
|
||||||
default 480 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
default 480 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
||||||
depends on RT_USING_LCD
|
depends on RT_USING_LCD
|
||||||
config LCD_HFP
|
config LCD_HFP
|
||||||
int "HFP"
|
int "HFP"
|
||||||
default 4 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK)
|
default 4 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK || BOARD_RT1050_SeeedStudio)
|
||||||
default 4 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
default 4 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
||||||
depends on RT_USING_LCD
|
depends on RT_USING_LCD
|
||||||
config LCD_VFP
|
config LCD_VFP
|
||||||
int "VFP"
|
int "VFP"
|
||||||
default 4 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK)
|
default 4 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK || BOARD_RT1050_SeeedStudio)
|
||||||
default 4 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
default 4 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
||||||
depends on RT_USING_LCD
|
depends on RT_USING_LCD
|
||||||
config LCD_HBP
|
config LCD_HBP
|
||||||
int "HBP"
|
int "HBP"
|
||||||
default 8 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK)
|
default 8 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK || BOARD_RT1050_SeeedStudio)
|
||||||
default 8 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
default 8 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
||||||
depends on RT_USING_LCD
|
depends on RT_USING_LCD
|
||||||
config LCD_VBP
|
config LCD_VBP
|
||||||
int "VBP"
|
int "VBP"
|
||||||
default 2 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK)
|
default 2 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK || BOARD_RT1050_SeeedStudio)
|
||||||
default 2 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
default 2 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
||||||
depends on RT_USING_LCD
|
depends on RT_USING_LCD
|
||||||
config LCD_HSW
|
config LCD_HSW
|
||||||
int "HSW"
|
int "HSW"
|
||||||
default 40 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK)
|
default 40 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK || BOARD_RT1050_SeeedStudio)
|
||||||
default 40 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
default 40 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
||||||
depends on RT_USING_LCD
|
depends on RT_USING_LCD
|
||||||
config LCD_VSW
|
config LCD_VSW
|
||||||
int "VSW"
|
int "VSW"
|
||||||
default 10 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK)
|
default 10 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK || BOARD_RT1050_SeeedStudio)
|
||||||
default 10 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
default 10 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
||||||
depends on RT_USING_LCD
|
depends on RT_USING_LCD
|
||||||
config LCD_BL_PIN
|
config LCD_BL_PIN
|
||||||
int "Backlight pin index"
|
int "Backlight pin index"
|
||||||
|
default 127 if BOARD_RT1050_SeeedStudio
|
||||||
default 109 if BOARD_RT1050_ATK
|
default 109 if BOARD_RT1050_ATK
|
||||||
default 106 if BOARD_RT1050_EVK
|
default 106 if BOARD_RT1050_EVK
|
||||||
default 58 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
default 58 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
||||||
depends on RT_USING_LCD
|
depends on RT_USING_LCD
|
||||||
config LCD_RST_PIN
|
config LCD_RST_PIN
|
||||||
int "Reset pin index"
|
int "Reset pin index"
|
||||||
default 45 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK)
|
default 45 if (BOARD_RT1050_EVK || BOARD_RT1050_ATK || BOARD_RT1050_SeeedStudio)
|
||||||
default 45 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
default 45 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
|
||||||
depends on RT_USING_LCD
|
depends on RT_USING_LCD
|
||||||
endmenu
|
endmenu
|
||||||
endif
|
|
||||||
#menu "Select SDRAM driver"
|
#menu "Select SDRAM driver"
|
||||||
config RT_USING_SDRAM
|
config RT_USING_SDRAM
|
||||||
bool "Using sdram"
|
bool "Using sdram"
|
||||||
|
|
Loading…
Reference in New Issue