32 lines
574 B
Plaintext
32 lines
574 B
Plaintext
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"
|
|
|
|
config PKGS_DIR
|
|
string
|
|
option env="PKGS_ROOT"
|
|
default "packages"
|
|
|
|
source "$RTT_DIR/Kconfig"
|
|
source "$PKGS_DIR/Kconfig"
|
|
source "board/Kconfig"
|
|
|
|
config SOC_SAMC21
|
|
bool
|
|
select ARCH_ARM
|
|
select ARCH_ARM_CORTEX_M
|
|
select ARCH_ARM_CORTEX_M0
|
|
select RT_USING_COMPONENTS_INIT
|
|
select RT_USING_USER_MAIN
|
|
default y
|