From 92a684d4050e5461cb759721cedadb344b1c85eb Mon Sep 17 00:00:00 2001 From: hujun5 Date: Fri, 6 Dec 2024 15:58:31 +0800 Subject: [PATCH] fix regresion from https://github.com/apache/nuttx/pull/14881 reason: svc call may trigger hardfalt Signed-off-by: hujun5 --- arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 464b1ad9ffa24..e35a213e3cfe2 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -864,6 +864,7 @@ config ARCH_ARMV7M select ARCH_HAVE_CPUINFO select ARCH_HAVE_DEBUG select ARCH_HAVE_PERF_EVENTS + select ARMV7M_USEBASEPRI config ARCH_CORTEXM3 bool @@ -1011,6 +1012,7 @@ config ARCH_ARMV8M select ARCH_HAVE_CPUINFO select ARCH_HAVE_DEBUG select ARCH_HAVE_PERF_EVENTS + select ARMV8M_USEBASEPRI config ARCH_CORTEXM23 bool