rt-thread-official/bsp/cvitek/c906_little/board/Kconfig

95 lines
2.0 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 n
config RT_USING_UART1
bool "Enable UART 1"
default y
config UART_IRQ_BASE
int
default 30
endif
menuconfig BSP_USING_I2C
bool "Using HW I2C"
select RT_USING_I2C
select RT_USING_I2C_BITOPS
select RT_USING_PIN
default n
if BSP_USING_I2C
config BSP_USING_I2C0
bool "Enable I2C0"
default n
config BSP_USING_I2C1
bool "Enable I2C1"
default n
config I2C_IRQ_BASE
int
default 32
endif
config BSP_USING_ADC
bool "Using ADC"
select RT_USING_ADC
default n
menuconfig BSP_USING_WDT
bool "Enable Watchdog Timer"
select RT_USING_WDT
default n
if BSP_USING_WDT
config BSP_USING_WDT0
bool "Enable WDT0"
default n
config BSP_USING_WDT1
bool "Enable WDT1"
default n
config BSP_USING_WDT2
bool "Enable WDT2"
default n
endif
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_RTC
bool "Enable RTC"
select RT_USING_RTC
default n
endmenu