[simulator] improve Kconfig structure
add Onboard Peripheral Drivers menu
This commit is contained in:
parent
bfdd0b628b
commit
5ee36367da
|
@ -19,39 +19,43 @@ source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/Kconfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
|
|
||||||
config SOC_SIMULATOR
|
config SOC_SIMULATOR
|
||||||
bool
|
bool
|
||||||
select RT_USING_COMPONENTS_INIT
|
select RT_USING_COMPONENTS_INIT
|
||||||
select RT_USING_USER_MAIN
|
select RT_USING_USER_MAIN
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config RT_USING_DFS_WINSHAREDIR
|
menu "Onboard Peripheral Drivers"
|
||||||
bool "Enable shared file system between windows"
|
|
||||||
select RT_USING_POSIX_FS
|
|
||||||
default n
|
|
||||||
|
|
||||||
config BSP_USING_SAL_WINSOCK
|
config RT_USING_DFS_WINSHAREDIR
|
||||||
bool "Enable Windows socket (winsock) with SAL"
|
bool "Enable shared file system between Windows"
|
||||||
select RT_USING_POSIX_FS
|
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
|
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_LCD_WIDTH
|
config BSP_USING_SOCKET
|
||||||
int "LCD width"
|
bool "Enable BSD Socket"
|
||||||
default 800
|
select RT_USING_POSIX_FS
|
||||||
|
select RT_USING_POSIX_SOCKET
|
||||||
|
select SAL_USING_WINSOCK
|
||||||
|
default n
|
||||||
|
|
||||||
config BSP_LCD_HEIGHT
|
config BSP_USING_LVGL
|
||||||
int "LCD height"
|
bool "Enable LVGL for LCD"
|
||||||
default 480
|
select PKG_USING_LVGL
|
||||||
endif
|
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
|
||||||
|
|
Loading…
Reference in New Issue