menu "Hardware Drivers Config"

config SOC_CH579M
    bool
    select RT_USING_USER_MAIN
    select RT_USING_COMPONENTS_INIT
    default y

menu "On-chip Peripheral Drivers"

    menuconfig BSP_USING_UART
        bool "Enable UART"
        default y
        select RT_USING_SERIAL
        if BSP_USING_UART
            config BSP_USING_UART0
                bool "Enable UART0"
                default n

            config BSP_USING_UART1
                bool "Enable UART1"
                default y

            config BSP_USING_UART2
                bool "Enable UART2"
                default n

            config BSP_USING_UART3
                bool "Enable UART3"
                default n
        endif

    config BSP_USING_USBH
        bool "Enable USBH"
        default n
        select RT_USING_USB_HOST

    config BSP_USING_ETH
        bool "Enable ETH"
        default n
        select RT_USING_LWIP

endmenu

endmenu
