[update] use macro 'BSP_USING_LVGL' to select something about 'lvgl' .
This commit is contained in:
parent
a45953f2bc
commit
40785ea926
|
@ -12,5 +12,5 @@ for d in list:
|
||||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||||
group = group + SConscript(os.path.join(d, 'SConscript'))
|
group = group + SConscript(os.path.join(d, 'SConscript'))
|
||||||
|
|
||||||
group += DefineGroup('LVGL-port', src, depend = ['PKG_USING_LVGL'], CPPPATH = CPPPATH)
|
group += DefineGroup('LVGL-port', src, depend = ['BSP_USING_LVGL'], CPPPATH = CPPPATH)
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|
|
@ -12,5 +12,5 @@ for d in list:
|
||||||
if os.path.isfile(os.path.join(path, 'SConscript')):
|
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||||
group = group + SConscript(os.path.join(d, 'SConscript'))
|
group = group + SConscript(os.path.join(d, 'SConscript'))
|
||||||
|
|
||||||
group += DefineGroup('LVGL-port', src, depend = ['PKG_USING_LVGL'], CPPPATH = CPPPATH)
|
group += DefineGroup('LVGL-port', src, depend = ['BSP_USING_LVGL'], CPPPATH = CPPPATH)
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|
|
@ -36,7 +36,7 @@ menu "Onboard Peripheral Drivers"
|
||||||
|
|
||||||
config BSP_USING_MCU_LCD
|
config BSP_USING_MCU_LCD
|
||||||
bool "Enable ATK LCD"
|
bool "Enable ATK LCD"
|
||||||
select BSP_USING_SDRAM
|
select BSP_USING_SRAM
|
||||||
default n
|
default n
|
||||||
if BSP_USING_MCU_LCD
|
if BSP_USING_MCU_LCD
|
||||||
config BSP_USING_MCU_LCD_TEST
|
config BSP_USING_MCU_LCD_TEST
|
||||||
|
@ -54,6 +54,13 @@ menu "Onboard Peripheral Drivers"
|
||||||
default 17
|
default 17
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
config BSP_USING_LVGL
|
||||||
|
bool "Enable LVGL for LCD"
|
||||||
|
select BSP_USING_MCU_LCD
|
||||||
|
select BSP_USING_TOUCH
|
||||||
|
select PKG_USING_LVGL
|
||||||
|
default n
|
||||||
|
|
||||||
config BSP_USING_SPI_FLASH
|
config BSP_USING_SPI_FLASH
|
||||||
bool "Enable SPI FLASH (W25Q128 spi1)"
|
bool "Enable SPI FLASH (W25Q128 spi1)"
|
||||||
select BSP_USING_SPI
|
select BSP_USING_SPI
|
||||||
|
|
Loading…
Reference in New Issue