[PATCH] spec/cpukit: Omit Cortex-M from libdebugger build

Kinsey Moore kinsey.moore at oarcorp.com
Wed Aug 16 20:30:28 UTC 2023


The current ARM support in libdebugger does not cover Cortex-M series
cores since it requires support for CP14 system register accessor
instructions. Cortex-M series cores support debug monitor mode, but its
configuration is accessed by memory mapped registers instead of using
CP14. This omits building libdebugger from BSPs that use a cortex-m ABI
flag.
---
 spec/build/cpukit/optlibdebugger.yml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/spec/build/cpukit/optlibdebugger.yml b/spec/build/cpukit/optlibdebugger.yml
index 4cee9809f6..5ff67d6bd8 100644
--- a/spec/build/cpukit/optlibdebugger.yml
+++ b/spec/build/cpukit/optlibdebugger.yml
@@ -9,7 +9,15 @@ default: []
 description: ''
 enabled-by:
 - aarch64
-- arm
+- and:
+  - arm
+  - not: bsps/arm/atsam
+  - not: bsps/arm/imxrt
+  - not: bsps/arm/lm3s69xx
+  - not: bsps/arm/lpc176x
+  - not: bsps/arm/lpc24xx
+  - not: bsps/arm/stm32h7
+  - not: bsps/arm/stm32f4
 - i386
 - microblaze
 links: []
-- 
2.39.2



More information about the devel mailing list