1From 7aa79a3f45bcf1ef34181b96245a9cb1fc5ae95e Mon Sep 17 00:00:00 2001
2From: Dávid Házi <david.hazi@arm.com>
3Date: Thu, 25 Apr 2024 09:53:10 +0200
4Subject: [PATCH] iar: Add missing v8.1m check
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Signed-off-by: Dávid Házi <david.hazi@arm.com>
10---
11 CMSIS/Core/Include/m-profile/cmsis_iccarm_m.h | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/CMSIS/Core/Include/m-profile/cmsis_iccarm_m.h b/CMSIS/Core/Include/m-profile/cmsis_iccarm_m.h
15index 4fe09f20..c726cecf 100644
16--- a/CMSIS/Core/Include/m-profile/cmsis_iccarm_m.h
17+++ b/CMSIS/Core/Include/m-profile/cmsis_iccarm_m.h
18@@ -77,7 +77,7 @@
19
20 /* Alternativ core deduction for older ICCARM's */
21 #if !defined(__ARM_ARCH_6M__) && !defined(__ARM_ARCH_7M__) && !defined(__ARM_ARCH_7EM__) && \
22-    !defined(__ARM_ARCH_8M_BASE__) && !defined(__ARM_ARCH_8M_MAIN__)
23+    !defined(__ARM_ARCH_8M_BASE__) && !defined(__ARM_ARCH_8M_MAIN__) && !defined(__ARM_ARCH_8_1M_MAIN__)
24   #if defined(__ARM6M__) && (__CORE__ == __ARM6M__)
25     #define __ARM_ARCH_6M__ 1
26   #elif defined(__ARM7M__) && (__CORE__ == __ARM7M__)
27--
282.40.1
29
30