From f74f03559d62ca81c948ae36667a2eefef586eca Mon Sep 17 00:00:00 2001 From: Kevin Gillespie Date: Wed, 18 Dec 2024 13:34:26 -0600 Subject: [PATCH] fix(CMSIS): Enable internal cache for Zephyr max32xxx (#1302) --- Libraries/zephyr/MAX/Source/MAX32657/max32xxx_system.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Libraries/zephyr/MAX/Source/MAX32657/max32xxx_system.c b/Libraries/zephyr/MAX/Source/MAX32657/max32xxx_system.c index 9998ccfb0b..c773797684 100644 --- a/Libraries/zephyr/MAX/Source/MAX32657/max32xxx_system.c +++ b/Libraries/zephyr/MAX/Source/MAX32657/max32xxx_system.c @@ -17,8 +17,13 @@ ******************************************************************************/ #include "max32657.h" +#include "icc.h" /* * This function is called during boot up. */ -void max32xx_system_init(void) {} +void max32xx_system_init(void) +{ + /* Enable instruction cache */ + MXC_ICC_Enable(); +}