1mainmenu "RT-Thread Configuration"
2
3BSP_DIR := .
4
5RTT_DIR := ../..
6
7PKGS_DIR := packages
8
9source "$(RTT_DIR)/Kconfig"
10osource "$PKGS_DIR/Kconfig"
11
12config SOC_SIMULATOR
13    bool
14    select RT_USING_COMPONENTS_INIT
15    select RT_USING_USER_MAIN
16    default y
17
18menu "Peripheral Drivers"
19
20    config RT_USING_DFS_WINSHAREDIR
21        bool "Enable shared file system between Windows"
22        select RT_USING_POSIX_FS
23        default y
24
25    config BSP_USING_RTC
26        bool "Enable RTC"
27        select RT_USING_RTC
28        default y
29
30    config BSP_USING_ALARM
31        bool "Enable RTC alarm"
32        select RT_USING_ALARM
33        depends on BSP_USING_RTC
34        default n
35
36    config BSP_USING_SOCKET
37        bool "Enable BSD Socket"
38        select RT_USING_POSIX_FS
39        select RT_USING_POSIX_SOCKET
40        default y
41
42    config BSP_USING_LVGL
43        bool "Enable LVGL for LCD"
44        select PKG_USING_LVGL
45        default n
46
47    if BSP_USING_LVGL
48        config BSP_USING_LVGL_DEMO
49            bool "Enable LVGL demo"
50            select PKG_USING_LV_MUSIC_DEMO
51            default y
52
53        config BSP_LCD_WIDTH
54            int "LCD width"
55            default 800
56
57        config BSP_LCD_HEIGHT
58            int "LCD height"
59            default 480
60    endif
61
62endmenu
63