menu "Hardware Drivers Config" config SOC_R7FA6M5BH bool select SOC_SERIES_R7FA6M5 select RT_USING_COMPONENTS_INIT select RT_USING_USER_MAIN default y menu "Onboard Peripheral Drivers" endmenu menu "On-chip Peripheral Drivers" source "../libraries/HAL_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_UART4 bool "Enable UART4" default n if BSP_USING_UART4 config BSP_UART0_RX_USING_DMA bool "Enable UART4 RX DMA" depends on BSP_USING_UART4 && RT_SERIAL_USING_DMA default n config BSP_UART4_TX_USING_DMA bool "Enable UART4 TX DMA" depends on BSP_USING_UART4 && RT_SERIAL_USING_DMA default n config BSP_UART4_RX_BUFSIZE int "Set UART4 RX buffer size" range 64 65535 depends on RT_USING_SERIAL_V2 default 256 config BSP_UART4_TX_BUFSIZE int "Set UART4 TX buffer size" range 0 65535 depends on RT_USING_SERIAL_V2 default 0 endif endif endmenu menu "Board extended module Drivers" endmenu endmenu