From 0e774213938d5533e69f89accecc70d36db5ecb5 Mon Sep 17 00:00:00 2001 From: EricB-ADI Date: Wed, 21 Aug 2024 15:33:18 -0500 Subject: [PATCH] Revert "fix(CMSIS): Fix zephyr build issues (#1030)" This reverts commit daa71f84621e6780355e4830fa4af142bac93739. --- Libraries/CMSIS/Device/Maxim/MAX32662/Source/system_max32662.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Libraries/CMSIS/Device/Maxim/MAX32662/Source/system_max32662.c b/Libraries/CMSIS/Device/Maxim/MAX32662/Source/system_max32662.c index 89c352333d..29e5c8b94b 100644 --- a/Libraries/CMSIS/Device/Maxim/MAX32662/Source/system_max32662.c +++ b/Libraries/CMSIS/Device/Maxim/MAX32662/Source/system_max32662.c @@ -32,7 +32,8 @@ extern void (*const __isr_vector[])(void); -uint32_t SystemCoreClock = HIRC_FREQ; +uint32_t SystemCoreClock __attribute__((section(".shared"))); +volatile uint32_t mailbox __attribute__((section(".mailbox"))); /* The libc implementation from GCC 11+ depends on _getpid and _kill in some places.