diff --git a/bsp/stm32/stm32l475-atk-pandora/board/Kconfig b/bsp/stm32/stm32l475-atk-pandora/board/Kconfig index 836fa1cb45..7c3e5645e9 100644 --- a/bsp/stm32/stm32l475-atk-pandora/board/Kconfig +++ b/bsp/stm32/stm32l475-atk-pandora/board/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 diff --git a/bsp/stm32/stm32l475-atk-pandora/board/SConscript b/bsp/stm32/stm32l475-atk-pandora/board/SConscript index 086974334a..0f09160a9a 100644 --- a/bsp/stm32/stm32l475-atk-pandora/board/SConscript +++ b/bsp/stm32/stm32l475-atk-pandora/board/SConscript @@ -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')