From d9e215265ad6d4ae66ab3005ccaa9b2ddd01bf14 Mon Sep 17 00:00:00 2001 From: HubretXie Date: Mon, 27 May 2019 22:50:52 +0800 Subject: [PATCH 1/3] =?UTF-8?q?[BSP][STM32]=20=E5=A2=9E=E5=8A=A0RT=5FUSING?= =?UTF-8?q?=5FCPU=5FFFS=E9=85=8D=E7=BD=AE=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit kconfig中增加RT_USING_CPU_FFS配置选项,并且默认开启 --- bsp/stm32/libraries/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bsp/stm32/libraries/Kconfig b/bsp/stm32/libraries/Kconfig index 34280eb7ca..983dfd9648 100644 --- a/bsp/stm32/libraries/Kconfig +++ b/bsp/stm32/libraries/Kconfig @@ -39,4 +39,8 @@ config SOC_SERIES_STM32G0 config SOC_SERIES_STM32H7 bool select ARCH_ARM_CORTEX_M7 - select SOC_FAMILY_STM32 \ No newline at end of file + select SOC_FAMILY_STM32 + +config RT_USING_CPU_FFS + bool "Using CPU FFS" + default y From 524f78a2dd53c9bf54049d6e0380139510bb39b7 Mon Sep 17 00:00:00 2001 From: HubretXie Date: Tue, 28 May 2019 21:27:53 +0800 Subject: [PATCH 2/3] Update Kconfig --- bsp/stm32/libraries/Kconfig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bsp/stm32/libraries/Kconfig b/bsp/stm32/libraries/Kconfig index 983dfd9648..9f09dac678 100644 --- a/bsp/stm32/libraries/Kconfig +++ b/bsp/stm32/libraries/Kconfig @@ -40,7 +40,3 @@ config SOC_SERIES_STM32H7 bool select ARCH_ARM_CORTEX_M7 select SOC_FAMILY_STM32 - -config RT_USING_CPU_FFS - bool "Using CPU FFS" - default y From 36ffdc058b3aeb447d74dd916c26e1dd80b80def Mon Sep 17 00:00:00 2001 From: HubretXie Date: Tue, 28 May 2019 21:30:45 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=AF=B9CM3,CM4,CM7=20=20=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=BC=80=E5=90=AFRT=5FUSING=5FCPU=5FFFS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libcpu/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libcpu/Kconfig b/libcpu/Kconfig index 239fa58346..3c8c73636d 100644 --- a/libcpu/Kconfig +++ b/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