1mainmenu "RT-Thread Configuration"
2
3BSP_DIR := .
4
5RTT_DIR := ../../..
6
7PKGS_DIR := packages
8
9source "$(RTT_DIR)/Kconfig"
10source "$(RTT_DIR)/libcpu/mips/common/Kconfig"
11osource "$PKGS_DIR/Kconfig"
12
13config SOC_LS1C300
14    bool
15    select RT_USING_COMPONENTS_INIT
16    select RT_USING_USER_MAIN
17    default y
18
19choice
20    prompt "Board Type"
21        config RT_LS1C_OPENLOONGSON
22            bool "OpenLoongson Board"
23        config RT_LS1C_BAICAIBOARD
24            bool "Baicai Board"
25endchoice
26
27config RT_USING_SELF_BOOT
28    bool "Enable RT-Thread run without bootloader"
29    default n
30
31if RT_USING_SELF_BOOT
32    config RT_SELF_BOOT_DEBUG
33    bool "Debug self boot code"
34    default n
35endif
36
37if RT_USING_SERIAL
38config RT_USING_UART2
39    bool "Using RT_USING_UART2"
40    default y
41config RT_USING_UART1
42    bool "Using RT_USING_UART1"
43    default y
44config RT_USING_UART3
45    bool "Using RT_USING_UART3"
46    default n
47
48config RT_UART_RX_BUFFER_SIZE
49    int "The rx buffer size"
50    default 64 if RT_USING_SERIAL
51    default 64
52endif
53
54config RT_USING_GMAC_INT_MODE
55    bool "Using RT_USING_GMAC_INT_MODE"
56    default y
57
58config RT_USING_SPI0
59    bool "Enable SPI0"
60    select RT_USING_SPI
61    default y
62
63config RT_USING_SPI1
64    bool "Enable SPI1"
65    select RT_USING_SPI
66    default y
67
68if RT_USING_I2C
69config RT_USING_I2C1
70    bool "Enable I2C1"
71    default y
72
73config RT_USING_I2C2
74    bool "Enable I2C2"
75    default y
76endif
77
78
79config USING_BXCAN0
80    bool "Enable CAN0"
81    select RT_USING_CAN
82    default y
83
84config USING_BXCAN1
85    bool "Enable CAN1"
86    select RT_USING_CAN
87    default y
88
89if RT_USING_CAN
90config RT_CAN_USING_HDR
91    bool "Using RT_CAN_USING_HDR"
92    default y
93endif
94
95choice
96    prompt "Touch format"
97    default NO_TOUCH
98
99    config NO_TOUCH
100        bool "with no touch"
101
102if RT_USING_RTGUI
103    config XPT2046_USING_TOUCH
104        bool "with XPT2046 touch"
105endif
106
107    config TINA_USING_TOUCH
108        bool "with TINA touch"
109endchoice
110
111if RT_USING_RTC
112config RT_RTC_NAME
113    string "RT_RTC_NAME"
114    default "RTC"
115endif
116
117