Browse Source

对CM3,CM4,CM7 自动开启RT_USING_CPU_FFS

HubretXie 6 years ago
parent
commit
36ffdc058b
1 changed files with 7 additions and 0 deletions
  1. 7 0
      libcpu/Kconfig

+ 7 - 0
libcpu/Kconfig

@@ -4,6 +4,10 @@ config ARCH_CPU_64BIT
 config ARCH_ARM
     bool
 
+config RT_USING_CPU_FFS
+    bool
+    default n
+
 config ARCH_ARM_CORTEX_M
     bool
     select ARCH_ARM
@@ -18,6 +22,7 @@ config ARCH_ARM_CORTEX_M0
 config ARCH_ARM_CORTEX_M3
     bool
     select ARCH_ARM_CORTEX_M
+    select RT_USING_CPU_FFS
 
 config ARCH_ARM_MPU
     bool
@@ -26,10 +31,12 @@ config ARCH_ARM_MPU
 config ARCH_ARM_CORTEX_M4
     bool
     select ARCH_ARM_CORTEX_M
+    select RT_USING_CPU_FFS
 
 config ARCH_ARM_CORTEX_M7
     bool
     select ARCH_ARM_CORTEX_M
+    select RT_USING_CPU_FFS
 
 config ARCH_ARM_CORTEX_R
     bool