summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/config/Config.in.cpu10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 61b9ca18a..5e66cdcef 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -223,6 +223,15 @@ config ADK_TARGET_CPU_ARM_CORTEX_M3
select ADK_TARGET_CPU_WITH_THUMB2
depends on ADK_TARGET_ARCH_ARM
+config ADK_TARGET_CPU_ARM_CORTEX_M0
+ bool "cortex-m0"
+ select ADK_TARGET_SUPPORTS_THREADS
+ select ADK_TARGET_SUPPORTS_LT
+ select ADK_TARGET_UCLINUX
+ select ADK_TARGET_WITHOUT_MMU
+ select ADK_TARGET_CPU_WITH_THUMB2
+ depends on ADK_TARGET_ARCH_ARM
+
config ADK_TARGET_CPU_ARM_XSCALE
bool "xscale"
select ADK_TARGET_SUPPORTS_THREADS
@@ -1885,6 +1894,7 @@ config ADK_TARGET_GCC_CPU
default "cortex-a57" if ADK_TARGET_CPU_ARM_CORTEX_A57
default "cortex-a53" if ADK_TARGET_CPU_AARCH64_CORTEX_A53
default "cortex-a57" if ADK_TARGET_CPU_AARCH64_CORTEX_A57
+ default "cortex-m0" if ADK_TARGET_CPU_ARM_CORTEX_M0
default "cortex-m3" if ADK_TARGET_CPU_ARM_CORTEX_M3
default "cortex-m4" if ADK_TARGET_CPU_ARM_CORTEX_M4
default "cortex-m7" if ADK_TARGET_CPU_ARM_CORTEX_M7