Browse Source

arm: add cortex-m0 cpu type

Waldemar Brodkorb 7 năm trước cách đây
mục cha
commit
13062b648c
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 10 0
      target/config/Config.in.cpu

+ 10 - 0
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