Skip to content

Commit 361a2aa

Browse files
committed
audio_kconfig
1 parent d5d627f commit 361a2aa

File tree

1 file changed

+21
-139
lines changed
  • bsp/imxrt/imxrt1052-nxp-evk/board

1 file changed

+21
-139
lines changed

bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig

Lines changed: 21 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,6 @@ config SOC_MIMXRT1052DVL6B
1212
select RT_USING_USER_MAIN
1313
default y
1414

15-
menu "Onboard Peripheral Drivers"
16-
17-
config BSP_USING_POT
18-
bool "Enable potentiometer"
19-
select BSP_USING_ADC
20-
select BSP_USING_ADC1
21-
default n
22-
23-
endmenu
24-
2515
menu "On-chip Peripheral Drivers"
2616

2717
config BSP_USING_DMA
@@ -95,61 +85,6 @@ menu "On-chip Peripheral Drivers"
9585
int "Set LPUART3 TX DMA channel (0-32)"
9686
default 1
9787
endif
98-
menuconfig BSP_USING_HWTIMER
99-
bool "Enable GPT"
100-
default n
101-
select RT_USING_HWTIMER
102-
if BSP_USING_HWTIMER
103-
config BSP_USING_HWTIMER1
104-
bool "Enable GPT1"
105-
default n
106-
107-
config BSP_USING_HWTIMER2
108-
bool "Enable GPT2"
109-
default n
110-
endif
111-
112-
menuconfig BSP_USING_PWM
113-
bool "Enable PWM"
114-
default n
115-
select RT_USING_PWM
116-
if BSP_USING_PWM
117-
menuconfig BSP_USING_PWM1
118-
bool "Enable output pwm1"
119-
default n
120-
if BSP_USING_PWM1
121-
config BSP_USING_PWM1_CH3
122-
bool "Enable PWM1 channel3"
123-
default n
124-
endif
125-
126-
menuconfig BSP_USING_PWM4
127-
bool "Enable output pwm4"
128-
default n
129-
if BSP_USING_PWM4
130-
config BSP_USING_PWM4_CH0
131-
bool "Enable PWM4 channel0"
132-
default n
133-
134-
config BSP_USING_PWM4_CH1
135-
bool "Enable PWM4 channel1"
136-
default n
137-
endif
138-
endif
139-
menuconfig BSP_USING_SPI
140-
bool "Enable SPI"
141-
default n
142-
select RT_USING_SPI
143-
if BSP_USING_SPI
144-
menuconfig BSP_USING_SPI1
145-
bool "Enable SPI1"
146-
default n
147-
if BSP_USING_SPI1
148-
config BSP_SPI1_USING_DMA
149-
bool "Enable SPI1 DMA"
150-
default n
151-
endif
152-
endif
15388

15489
menuconfig BSP_USING_I2C
15590
bool "Enable I2C"
@@ -170,51 +105,6 @@ menu "On-chip Peripheral Drivers"
170105
bool "Badurate 400kHZ"
171106
endchoice
172107
endif
173-
174-
config BSP_USING_RTC
175-
bool "Enable RTC"
176-
select RT_USING_RTC
177-
default n
178-
179-
menuconfig BSP_USING_ADC
180-
bool "Enable ADC"
181-
default n
182-
select RT_USING_ADC
183-
if BSP_USING_ADC
184-
config BSP_USING_ADC1
185-
bool "Enable ADC1"
186-
default n
187-
endif
188-
189-
config BSP_USING_ON_CHIP_FLASH
190-
bool "Enable on-chip FLASH"
191-
default n
192-
193-
menuconfig BSP_USING_WDT
194-
bool "Enable Watchdog Timer"
195-
select RT_USING_WDT
196-
default n
197-
if BSP_USING_WDT
198-
config BSP_USING_WDT1
199-
bool "Enable WDT1"
200-
default n
201-
config BSP_USING_WDT3
202-
bool "Enable WDT3"
203-
default n
204-
endif
205-
menuconfig BSP_USING_CAN
206-
bool "Enable CAN"
207-
select RT_USING_CAN
208-
default n
209-
if BSP_USING_CAN
210-
config BSP_USING_CAN1"
211-
bool "Enable CAN1"
212-
default n
213-
config BSP_USING_CAN2
214-
bool "Enable CAN2"
215-
default n
216-
endif
217-
218108
endmenu
219109

220110
menu "Onboard Peripheral Drivers"
@@ -227,6 +117,7 @@ menu "Onboard Peripheral Drivers"
227117
bool "Enable Ethernet"
228118
select RT_USING_NETDEV
229119
default n
120+
230121

231122
if BSP_USING_ETH
232123
config BSP_USING_PHY
@@ -261,45 +152,36 @@ menu "Onboard Peripheral Drivers"
261152
endif
262153
endif
263154

264-
menuconfig BSP_USING_SDIO
265-
bool "Enable SDcard"
266-
select RT_USING_SDIO
267-
select RT_USING_DFS_DEVFS
268-
select RT_USING_DFS
269-
select RT_USING_DFS_ELMFAT
270-
default n
271-
272-
config BSP_USING_AUDIO
273-
bool "Enable AUDIO (WM8960)"
274-
select BSP_USING_I2C1
275-
select RT_USING_AUDIO
276-
default n
155+
menuconfig BSP_USING_AUDIO
156+
bool "Enable AUDIO (WM8960)"
157+
select BSP_USING_I2C1
158+
select RT_USING_AUDIO
159+
default n
277160

278-
if BSP_USING_AUDIO
279-
menuconfig BSP_USING_AUDIO_PLAY
161+
if BSP_USING_AUDIO
162+
config BSP_USING_AUDIO_PLAY
280163
bool "Enable Audio Play"
281164
default y
282-
if BSP_USING_AUDIO_PLAY
283-
config BSP_AUDIO_USING_DMA
284-
bool "Enable AUDIO DMA"
285-
default y
286-
endif
165+
if BSP_USING_AUDIO_PLAY
166+
config BSP_AUDIO_USING_DMA
167+
bool "Enable AUDIO DMA"
168+
default y
169+
endif
287170

288-
menuconfig BSP_USING_AUDIO_RECORD
171+
config BSP_USING_AUDIO_RECORD
289172
bool "Enable Audio Record"
290173
select BSP_USING_AUDIO_PLAY
291174
default n
292-
if BSP_USING_AUDIO_RECORD
293-
config BSP_AUDIO_USING_DMA
294-
bool "Enable AUDIO DMA"
295-
default n
296-
endif
297-
endif
298-
175+
if BSP_USING_AUDIO_RECORD
176+
config BSP_AUDIO_USING_DMA
177+
bool "Enable AUDIO DMA"
178+
default n
179+
endif
180+
endif
299181
endmenu
300182

301183
menu "Board extended module Drivers"
302184

303185
endmenu
304186

305-
endmenu
187+
endmenu

0 commit comments

Comments
 (0)