menu "Hardware Drivers Config" menu "Onboard Peripheral Drivers" endmenu menu "On-chip Peripheral Drivers" rsource "../../libraries/HAL_Drivers/drivers/Kconfig" menuconfig BSP_USING_UART bool "Enable UART" default y select RT_USING_SERIAL select RT_USING_SERIAL_V2 if BSP_USING_UART menuconfig BSP_USING_UART9 bool "Enable UART9" default n if BSP_USING_UART9 config BSP_UART9_RX_USING_DMA bool "Enable UART9 RX DMA" depends on BSP_USING_UART9 && RT_SERIAL_USING_DMA default n config BSP_UART9_TX_USING_DMA bool "Enable UART9 TX DMA" depends on BSP_USING_UART9 && RT_SERIAL_USING_DMA default n config BSP_UART9_RX_BUFSIZE int "Set UART9 RX buffer size" range 64 65535 depends on RT_USING_SERIAL_V2 default 256 config BSP_UART9_TX_BUFSIZE int "Set UART9 TX buffer size" range 0 65535 depends on RT_USING_SERIAL_V2 default 0 endif endif menuconfig BSP_USING_HW_I2C bool "Enable hardware I2C BUS" default n select RT_USING_I2C if BSP_USING_HW_I2C config BSP_USING_HW_I2C0 bool "Enable Hardware I2C0 BUS" default n endif menuconfig BSP_USING_SPI bool "Enable hardware SPI BUS" default n select RT_USING_SPI if BSP_USING_SPI config BSP_USING_SPI0 bool "Enable Hardware SPI0 BUS" default n endif menuconfig BSP_USING_PWM bool "Enable PWM" default n select RT_USING_PWM if BSP_USING_PWM config BSP_USING_PWM4 bool "Enable GPT4 (16-Bits) output PWM" default n config BSP_USING_PWM5 bool "Enable GPT5 (16-Bits) output PWM" default n config BSP_USING_PWM6 bool "Enable GPT6 (16-Bits) output PWM" default n config BSP_USING_PWM7 bool "Enable GPT7 (16-Bits) output PWM" default n config BSP_USING_PWM8 bool "Enable GPT8 (16-Bits) output PWM" default n config BSP_USING_PWM9 bool "Enable GPT9 (16-Bits) output PWM" default n endif menuconfig BSP_USING_ADC bool "Enable ADC" default n select RT_USING_ADC if BSP_USING_ADC config BSP_USING_ADC0 bool "Enable ADC0" default n endif endmenu menu "Board extended module Drivers" endmenu endmenu