Merge pull request #1396 from RCSN/master

适配shareboard。
This commit is contained in:
Tanek 2018-05-04 17:00:50 +08:00 committed by GitHub
commit 8b3e676a11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 11 deletions

View File

@ -31,6 +31,8 @@ choice
bool "RT1050_EVK" bool "RT1050_EVK"
config BOARD_RT1050_FIRE config BOARD_RT1050_FIRE
bool "RT1050_FIRE" bool "RT1050_FIRE"
config BOARD_RT1050_ShareBoard
bool "RT1050_ShareBoard"
endchoice endchoice
menu "RT1050 Bsp Config" menu "RT1050 Bsp Config"
@ -330,6 +332,10 @@ endmenu
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
if RT_USING_LCD && BOARD_RT1050_ShareBoard
comment "Notice: ShareBoard Board para: 800*480 4 4 8 2 40 10 58 45"
endif endif
if RT_USING_LCD && BOARD_RT1050_FIRE if RT_USING_LCD && BOARD_RT1050_FIRE
@ -343,52 +349,52 @@ menu "Select lcd driver"
config LCD_WIDTH config LCD_WIDTH
int "Width pixel num" int "Width pixel num"
default 480 if BOARD_RT1050_EVK default 480 if BOARD_RT1050_EVK
default 800 if BOARD_RT1050_FIRE 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 default 272 if BOARD_RT1050_EVK
default 480 if BOARD_RT1050_FIRE 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 default 4 if BOARD_RT1050_EVK
default 4 if BOARD_RT1050_FIRE 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 default 4 if BOARD_RT1050_EVK
default 4 if BOARD_RT1050_FIRE 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 default 8 if BOARD_RT1050_EVK
default 8 if BOARD_RT1050_FIRE 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 default 2 if BOARD_RT1050_EVK
default 2 if BOARD_RT1050_FIRE 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 default 40 if BOARD_RT1050_EVK
default 40 if BOARD_RT1050_FIRE 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 default 10 if BOARD_RT1050_EVK
default 10 if BOARD_RT1050_FIRE 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 106 if BOARD_RT1050_EVK default 106 if BOARD_RT1050_EVK
default 58 if BOARD_RT1050_FIRE 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 default 45 if BOARD_RT1050_EVK
default 45 if BOARD_RT1050_FIRE default 45 if (BOARD_RT1050_FIRE || BOARD_RT1050_ShareBoard)
depends on RT_USING_LCD depends on RT_USING_LCD
endmenu endmenu