mainmenu "RT-Thread Configuration" BSP_DIR := . RTT_DIR := ../../.. # you can change the RTT_ROOT default: "rt-thread" PKGS_DIR := packages source "$(RTT_DIR)/Kconfig" osource "$PKGS_DIR/Kconfig" rsource "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