2023-09-22 13:38:33 +08:00
|
|
|
mainmenu "RT-Thread Configuration"
|
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
BSP_DIR := .
|
2023-09-22 13:38:33 +08:00
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
RTT_DIR := ../../..
|
2023-09-22 13:38:33 +08:00
|
|
|
|
|
|
|
# you can change the RTT_ROOT default: "rt-thread"
|
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
PKGS_DIR := packages
|
2023-09-22 13:38:33 +08:00
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
source "$(RTT_DIR)/Kconfig"
|
|
|
|
osource "$PKGS_DIR/Kconfig"
|
|
|
|
rsource "board/Kconfig"
|
2023-09-22 13:38:33 +08:00
|
|
|
|
|
|
|
config SOC_SAMD51
|
|
|
|
bool
|
|
|
|
select ARCH_ARM
|
|
|
|
select ARCH_ARM_CORTEX_M
|
|
|
|
select ARCH_ARM_CORTEX_M4
|
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
default y
|