menu "Hardware Drivers Config"

    menu "On-chip Peripheral Drivers"
        source "$BSP_DIR/../libraries/nuc980/rtt_port/Kconfig"
    endmenu

    menu "On-board Peripheral Drivers"

        config BSP_USING_CONSOLE
            bool "Enable UART0 for RTT Console(uart0)"
            select BSP_USING_UART
            select BSP_USING_UART0
            default y

        config BOARD_USING_UART8_RS485
            bool "Enable UART8 for RS485(AUD) communication(uart8)"
            select BSP_USING_UART
            select BSP_USING_UART8
            default y

        config BOARD_USING_STORAGE_SPIFLASH
            bool "SPI NOR FLASH supporting(over qspi0)"
            select BSP_USING_QSPI
            select BSP_USING_QSPI0
            default y

        config BOARD_USING_USB0_DEVICE_HOST
            select BSP_USING_USBH
            select BSP_USING_USBD
            bool "Enable USB0 Device/Host"
            help
                Choose this option if you need USB device or host function mode.
                    If you need USB host, please remember short to ground on JP1 jumper.

    endmenu

    menu "Board extended module drivers"

        config BOARD_USING_IP101GR
            bool "Enable ethernet phy supporting(over emac/mdio)"
            select BSP_USING_EMAC
            select BSP_USING_EMAC1
            default n

    endmenu

    source "$BSP_DIR/../libraries/nu_packages/Kconfig"

endmenu