diff --git a/inc/core/codal_target_hal.h b/inc/core/codal_target_hal.h index 92364662..115aa307 100644 --- a/inc/core/codal_target_hal.h +++ b/inc/core/codal_target_hal.h @@ -101,7 +101,7 @@ extern "C" // This is for cycle-precise wait even in presence of flash caches (forces function to sit in RAM) #ifndef FORCE_RAM_FUNC -#define FORCE_RAM_FUNC __attribute__((noinline, long_call, section(".data"))) +#define FORCE_RAM_FUNC __attribute__((noinline, long_call, section(".data.ramfuncs"))) #endif #endif