[simulator] improve Kconfig structure

add Onboard Peripheral Drivers menu
This commit is contained in:
Meco Man 2022-05-16 00:31:52 -04:00 committed by guo
parent bfdd0b628b
commit 5ee36367da
1 changed files with 32 additions and 28 deletions

View File

@ -24,34 +24,38 @@ config SOC_SIMULATOR
select RT_USING_USER_MAIN
default y
config RT_USING_DFS_WINSHAREDIR
bool "Enable shared file system between windows"
select RT_USING_POSIX_FS
default n
menu "Onboard Peripheral Drivers"
config BSP_USING_SAL_WINSOCK
bool "Enable Windows socket (winsock) with SAL"
select RT_USING_POSIX_FS
select RT_USING_POSIX_SOCKET
select SAL_USING_WINSOCK
default n
config BSP_USING_LVGL
bool "Enable LVGL for LCD"
select PKG_USING_LVGL
default n
if BSP_USING_LVGL
config BSP_USING_LVGL_DEMO
bool "Enable LVGL demo"
select PKG_USING_LV_MUSIC_DEMO
config RT_USING_DFS_WINSHAREDIR
bool "Enable shared file system between Windows"
select RT_USING_POSIX_FS
default n
config BSP_LCD_WIDTH
int "LCD width"
default 800
config BSP_USING_SOCKET
bool "Enable BSD Socket"
select RT_USING_POSIX_FS
select RT_USING_POSIX_SOCKET
select SAL_USING_WINSOCK
default n
config BSP_LCD_HEIGHT
int "LCD height"
default 480
endif
config BSP_USING_LVGL
bool "Enable LVGL for LCD"
select PKG_USING_LVGL
default n
if BSP_USING_LVGL
config BSP_USING_LVGL_DEMO
bool "Enable LVGL demo"
select PKG_USING_LV_MUSIC_DEMO
default n
config BSP_LCD_WIDTH
int "LCD width"
default 800
config BSP_LCD_HEIGHT
int "LCD height"
default 480
endif
endmenu