mainmenu "RT-Thread Configuration"

config BSP_DIR
    string
    option env="BSP_ROOT"
    default "."

config RTT_DIR
    string
    option env="RTT_ROOT"
    default "../.."

# you can change the RTT_ROOT default: "rt-thread"
# example : default "F:/git_repositories/rt-thread"

config PKGS_DIR
    string
    option env="PKGS_ROOT"
    default "packages"

source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"

config BSP_USING_UART1
    bool "using uart1"
    select RT_USING_SERIAL
    default n
config BSP_USING_UART2
    bool "using uart2"
    select RT_USING_SERIAL
    default y
config BSP_USING_UART3
    bool "using uart3"
    select RT_USING_SERIAL
    default n
config BSP_USING_UART4
    bool "using uart4"
    select RT_USING_SERIAL
    default n
config BSP_USING_UART5
    bool "using uart5"
    select RT_USING_SERIAL
    default n
config BSP_USING_LPUART1
    bool "using lpuart1"
    select RT_USING_SERIAL
    default n