mainmenu "RT-Thread Project Configuration"

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

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

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

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

config BOARD_K210_EVB
    bool
    select ARCH_RISCV64
    select ARCH_RISCV_FPU_S
    select PKG_USING_KENDRYTE_SDK
    select RT_USING_COMPONENTS_INIT
    select RT_USING_USER_MAIN
    default y

source "driver/Kconfig"

config __STACKSIZE__
    int "stack size for interrupt"
    default 4096