2017-12-13 20:38:56 +08:00
|
|
|
mainmenu "RT-Thread Configuration"
|
|
|
|
|
2019-01-16 23:23:38 +08:00
|
|
|
config BSP_DIR
|
2017-12-13 20:38:56 +08:00
|
|
|
string
|
|
|
|
option env="BSP_ROOT"
|
|
|
|
default "."
|
|
|
|
|
2019-01-16 23:23:38 +08:00
|
|
|
config RTT_DIR
|
2017-12-13 20:38:56 +08:00
|
|
|
string
|
|
|
|
option env="RTT_ROOT"
|
|
|
|
default "../.."
|
|
|
|
|
2019-01-16 23:23:38 +08:00
|
|
|
config PKGS_DIR
|
2017-12-13 20:38:56 +08:00
|
|
|
string
|
|
|
|
option env="PKGS_ROOT"
|
|
|
|
default "packages"
|
|
|
|
|
|
|
|
source "$RTT_DIR/Kconfig"
|
|
|
|
source "$PKGS_DIR/Kconfig"
|
|
|
|
|
2021-03-31 21:38:19 +08:00
|
|
|
config SOC_SIMULATOR
|
2022-05-16 12:31:52 +08:00
|
|
|
bool
|
2021-03-31 21:38:19 +08:00
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
default y
|
|
|
|
|
2022-05-16 13:22:35 +08:00
|
|
|
menu "Peripheral Drivers"
|
2022-05-16 12:31:52 +08:00
|
|
|
|
|
|
|
config RT_USING_DFS_WINSHAREDIR
|
|
|
|
bool "Enable shared file system between Windows"
|
|
|
|
select RT_USING_POSIX_FS
|
2022-05-16 12:35:31 +08:00
|
|
|
default y
|
2022-05-16 12:31:52 +08:00
|
|
|
|
2022-05-16 13:22:35 +08:00
|
|
|
config BSP_USING_RTC
|
|
|
|
bool "Enable RTC"
|
|
|
|
select RT_USING_RTC
|
|
|
|
default y
|
|
|
|
|
|
|
|
config BSP_USING_ALARM
|
|
|
|
bool "Enable RTC alarm"
|
|
|
|
select RT_USING_ALARM
|
|
|
|
depends on BSP_USING_RTC
|
|
|
|
default n
|
|
|
|
|
2022-05-16 12:31:52 +08:00
|
|
|
config BSP_USING_SOCKET
|
|
|
|
bool "Enable BSD Socket"
|
|
|
|
select RT_USING_POSIX_FS
|
|
|
|
select RT_USING_POSIX_SOCKET
|
2022-05-16 12:35:31 +08:00
|
|
|
default y
|
2022-05-11 11:22:25 +08:00
|
|
|
|
2022-05-16 12:31:52 +08:00
|
|
|
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
|
2022-08-14 10:02:41 +08:00
|
|
|
default y
|
2022-05-16 12:31:52 +08:00
|
|
|
|
|
|
|
config BSP_LCD_WIDTH
|
|
|
|
int "LCD width"
|
|
|
|
default 800
|
|
|
|
|
|
|
|
config BSP_LCD_HEIGHT
|
|
|
|
int "LCD height"
|
|
|
|
default 480
|
|
|
|
endif
|
2021-03-31 21:38:19 +08:00
|
|
|
|
2022-05-16 12:31:52 +08:00
|
|
|
endmenu
|