未验证 提交 9ea2c2b0 编写于 作者: G guo 提交者: GitHub

Merge pull request #5220 from mysterywolf/kconfig

......@@ -37,15 +37,14 @@ menu "Onboard Peripheral Drivers"
default n
config BSP_USING_LCD_SAMPLE
bool "Enable LCD sample"
depends on BSP_USING_SPI_LCD
depends on !BSP_USING_LVGL
bool "Enable LCD raw driver sample"
depends on BSP_USING_SPI_LCD && !BSP_USING_LVGL
default n
config BSP_USING_LVGL
bool "Enable LVGL for LCD"
select BSP_USING_SPI_LCD
select PKG_USING_LVGL
select BSP_USING_SPI_LCD
default n
config BSP_USING_SDCARD
......
......@@ -56,4 +56,10 @@ elif rtconfig.CROSS_TOOL == 'iar':
CPPDEFINES = ['STM32L475xx']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
list = os.listdir(cwd)
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):
group = group + SConscript(os.path.join(d, 'SConscript'))
Return('group')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册