From 897d26edfbc6a5b53ccd177f86640751cfe3878f Mon Sep 17 00:00:00 2001 From: robert Date: Wed, 26 Aug 2026 15:11:09 +0300 Subject: [PATCH] nits --- mongoose.h | 2 +- src/arch_mcuxpresso.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mongoose.h b/mongoose.h index 00880880..d8b6a6c5 100644 --- a/mongoose.h +++ b/mongoose.h @@ -503,7 +503,7 @@ static inline uint32_t mg_ota_esp32_state_set(uint32_t state) { #ifndef MG_IRAM #if defined(CPU_MIMXRT1186CVJ8C_cm33) || defined(MIMXRT1186_cm33_H_) #define MG_IRAM \ - __attribute__((noinline, section(".data.$SRAM_ITC_cm33"))) + __attribute__((noinline, section(".ramfunc.$SRAM_ITC_cm33"))) #else #define MG_IRAM __attribute__((noinline, section(".data_RAM2"))) #endif diff --git a/src/arch_mcuxpresso.h b/src/arch_mcuxpresso.h index 18a29b61..b0571c47 100644 --- a/src/arch_mcuxpresso.h +++ b/src/arch_mcuxpresso.h @@ -92,7 +92,7 @@ #ifndef MG_IRAM #if defined(CPU_MIMXRT1186CVJ8C_cm33) || defined(MIMXRT1186_cm33_H_) #define MG_IRAM \ - __attribute__((noinline, section(".data.$SRAM_ITC_cm33"))) + __attribute__((noinline, section(".ramfunc.$SRAM_ITC_cm33"))) #else #define MG_IRAM __attribute__((noinline, section(".data_RAM2"))) #endif