Merge pull request #5220 from mysterywolf/kconfig
This commit is contained in:
commit
9ea2c2b075
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue