This commit is contained in:
robert
2026-08-26 15:11:09 +03:00
parent 6b5d358ede
commit 897d26edfb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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