mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-08 21:31:08 +08:00
78 lines
1.6 KiB
Plaintext
Executable File
78 lines
1.6 KiB
Plaintext
Executable File
menu "General Drivers Configuration"
|
|
|
|
menuconfig BSP_USING_UART
|
|
bool "Using UART"
|
|
select RT_USING_SERIAL
|
|
default y
|
|
|
|
if BSP_USING_UART
|
|
config RT_USING_UART0
|
|
bool "Enable UART 0"
|
|
default y
|
|
|
|
config UART_IRQ_BASE
|
|
int
|
|
default 44
|
|
|
|
config RT_USING_UART1
|
|
bool "Enable UART 1"
|
|
default n
|
|
|
|
config RT_USING_UART2
|
|
bool "Enable UART 2"
|
|
default n
|
|
|
|
config RT_USING_UART3
|
|
bool "Enable UART 3"
|
|
default n
|
|
|
|
config RT_USING_UART4
|
|
bool "Enable UART 4"
|
|
default n
|
|
|
|
endif
|
|
|
|
config BSP_USING_ADC
|
|
bool "Using ADC"
|
|
select RT_USING_ADC
|
|
default n
|
|
|
|
config BSP_USING_SPI
|
|
bool "Using SPI"
|
|
select RT_USING_SPI
|
|
default n
|
|
|
|
menuconfig BSP_USING_PWM
|
|
bool "Using PWM"
|
|
select RT_USING_PWM
|
|
default n
|
|
|
|
if BSP_USING_PWM
|
|
config BSP_USING_PWM0
|
|
bool "Enable PWM 0"
|
|
default n
|
|
|
|
config BSP_USING_PWM1
|
|
bool "Enable PWM 1"
|
|
default n
|
|
|
|
config BSP_USING_PWM2
|
|
bool "Enable PWM 2"
|
|
default n
|
|
|
|
config BSP_USING_PWM3
|
|
bool "Enable PWM 3"
|
|
default n
|
|
|
|
endif
|
|
|
|
config BSP_USING_SDH
|
|
select RT_USING_SDIO
|
|
select RT_USING_DFS
|
|
select RT_USING_DFS_ELMFAT
|
|
select RT_USING_DFS_ROMFS
|
|
bool "Enable Secure Digital Host Controller"
|
|
default n
|
|
|
|
endmenu
|