1
2config BSP_SUPPORT_FPU
3    bool "Using Float"
4    default n
5
6menu "Hardware Drivers Config"
7    menu "BCM Peripheral Drivers"
8        menuconfig BSP_USING_UART
9            bool "Using UART"
10            select RT_USING_SERIAL
11            default y
12
13            if BSP_USING_UART
14                config RT_USING_UART0
15                bool "Enabel UART 0"
16                default y
17
18                config RT_USING_UART1
19                bool "Enabel UART 1"
20                default n
21
22                config RT_USING_UART3
23                bool "Enabel UART 3"
24                default n
25
26                config RT_USING_UART4
27                bool "Enabel UART 4"
28                default n
29
30                config RT_USING_UART5
31                bool "Enabel UART 5"
32                default n
33            endif
34
35        menuconfig BSP_USING_GIC
36            bool "Enable GIC"
37            select RT_USING_GIC
38            default y
39        if BSP_USING_GIC
40            config BSP_USING_GIC400
41                bool "Enable GIC400"
42                default y
43            config BSP_USING_GIC500
44                bool "Enable GIC500"
45                default n
46        endif
47
48        config BSP_USING_PIN
49            bool "Using PIN"
50            select RT_USING_PIN
51            default y
52
53        menuconfig BSP_USING_SPI
54            bool "Enable SPI"
55            select RT_USING_SPI
56            default n
57
58        if BSP_USING_SPI
59            config BSP_USING_SPI0_BUS
60                bool "Enable SPI0 BUS"
61                default n
62            config BSP_USING_SPI0_DEVICE0
63                bool "Enable SPI0 DEVICE0"
64                select BSP_USING_SPI0_BUS
65                default n
66            config BSP_USING_SPI0_DEVICE1
67                bool "Enable SPI0 DEVICE1"
68                select BSP_USING_SPI0_BUS
69                default n
70        endif
71
72        menuconfig BSP_USING_I2C
73            bool "Enable I2C"
74            select RT_USING_I2C
75            default n
76
77        if BSP_USING_I2C
78            config BSP_USING_I2C0
79                bool "Enable I2C0 BUS"
80                default n
81            config BSP_USING_I2C1
82                bool "Enable I2C1 BUS"
83                default n
84            config BSP_USING_I2C3
85                bool "Enable I2C3 BUS"
86                default n
87            config BSP_USING_I2C4
88                bool "Enable I2C4 BUS"
89                default n
90            config BSP_USING_I2C5
91                bool "Enable I2C5 BUS"
92                default n
93            config BSP_USING_I2C6
94                bool "Enable I2C6 BUS"
95                default n
96        endif
97
98        config BSP_USING_CORETIMER
99            bool "Using core timer"
100            select RT_USING_CORETIMER
101            default y
102
103        menuconfig BSP_USING_SYSTIMER
104            bool "Enable SYSTIMER"
105            default n
106
107        if  BSP_USING_SYSTIMER
108            config RT_USING_SYSTIMER1
109                bool "Enable sys timer1"
110                default n
111            config RT_USING_SYSTIMER3
112                bool "Enable sys timer3"
113                default n
114        endif
115
116        config BSP_USING_WDT
117            bool "Enable WDT"
118            select RT_USING_WDT
119            default n
120
121        config BSP_USING_ETH
122            bool "Enable ETH"
123            default n
124
125        config BSP_USING_BULETOOTH
126            bool "Enable BULETOOTH"
127            default n
128
129        menuconfig BSP_USING_RTC
130            bool "Enable RTC"
131            select RT_USING_RTC
132            default n
133
134        if BSP_USING_RTC
135            config BSP_USING_ALARM
136                bool "Enable Alarm"
137                select RT_USING_ALARM
138                default n
139        endif
140
141        menuconfig BSP_USING_SDIO
142            bool "Enable SDIO"
143            select RT_USING_SDIO
144            default n
145
146        if BSP_USING_SDIO
147            config BSP_USING_SDIO0
148                bool "Enable SDIO0"
149                select RT_USING_SDIO
150                default n
151        endif
152    endmenu
153
154    menu "Board Peripheral Drivers"
155        menuconfig BSP_USING_LCD
156            bool "Enable LCD"
157            default n
158
159        if BSP_USING_LCD
160            config BSP_USING_HDMI_DISPLAY
161                bool "HDMI DISPLAY"
162                default n
163            config BSP_USING_DSI_DISPLAY
164                bool "DSI DISPLAY"
165                default n
166            config BSP_USING_ILI9486
167                bool "ILI9486 DISPLAY"
168                default n
169        endif
170
171        menuconfig BSP_USING_TOUCH
172            bool "Enable Touch"
173            default n
174
175        if BSP_USING_TOUCH
176            config BSP_USING_DSI_TOUCH_DEV
177                bool "DSI TOUCH"
178                default n
179            config BSP_USING_XPT_TOUCH_DEV
180                bool "XPT TOUCH"
181                default n
182        endif
183
184        config USING_LCD_CONSOLE
185            bool "LCD CONSOLE"
186            default n
187    endmenu
188endmenu
189