From 4d1d5a36c7a9fa1b22ffd0b7ec6759e25cbd3b0d Mon Sep 17 00:00:00 2001 From: unknown <1084534438@qq.com> Date: Wed, 2 May 2018 22:46:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8Dshareboard=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1、menuconfig适配shareboard选项。 2、对应的bsp的scons脚本不需要更改。 --- bsp/imxrt1052-evk/Kconfig | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/bsp/imxrt1052-evk/Kconfig b/bsp/imxrt1052-evk/Kconfig index 0f7f6b52de..d3fbda5c3c 100644 --- a/bsp/imxrt1052-evk/Kconfig +++ b/bsp/imxrt1052-evk/Kconfig @@ -31,6 +31,8 @@ choice bool "RT1050_EVK" config BOARD_RT1050_FIRE bool "RT1050_FIRE" + config BOARD_RT1050_ShareBoard + bool "RT1050_ShareBoard" endchoice menu "RT1050 Bsp Config" @@ -332,7 +334,11 @@ menu "Select lcd driver" comment "Notice: Evk Board para: 480*272 4 4 8 2 40 10 106 45" endif - if RT_USING_LCD && BOARD_RT1050_FIRE + if RT_USING_LCD && BOARD_RT1050_ShareBoard + comment "Notice: ShareBoard Board para: 800*480 4 4 8 2 40 10 58 45" + endif + + if RT_USING_LCD && BOARD_RT1050_FIRE comment "Notice: Fire Board para: 800*480 4 4 8 2 40 10 58 45" endif @@ -343,52 +349,52 @@ menu "Select lcd driver" config LCD_WIDTH int "Width pixel num" 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 config LCD_HEIGHT int "Height pixel num" 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 config LCD_HFP int "HFP" 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 config LCD_VFP int "VFP" 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 config LCD_HBP int "HBP" 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 config LCD_VBP int "VBP" 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 config LCD_HSW int "HSW" 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 config LCD_VSW int "VSW" 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 config LCD_BL_PIN int "Backlight pin index" 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 config LCD_RST_PIN int "Reset pin index" 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 endmenu