mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-11 16:40:17 +00:00
nits
This commit is contained in:
1 parent
6b5d358ede
commit
897d26edfb
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -503,7 +503,7 @@ static inline uint32_t mg_ota_esp32_state_set(uint32_t state) {
|
|||||||
#ifndef MG_IRAM
|
#ifndef MG_IRAM
|
||||||
#if defined(CPU_MIMXRT1186CVJ8C_cm33) || defined(MIMXRT1186_cm33_H_)
|
#if defined(CPU_MIMXRT1186CVJ8C_cm33) || defined(MIMXRT1186_cm33_H_)
|
||||||
#define MG_IRAM \
|
#define MG_IRAM \
|
||||||
__attribute__((noinline, section(".data.$SRAM_ITC_cm33")))
|
__attribute__((noinline, section(".ramfunc.$SRAM_ITC_cm33")))
|
||||||
#else
|
#else
|
||||||
#define MG_IRAM __attribute__((noinline, section(".data_RAM2")))
|
#define MG_IRAM __attribute__((noinline, section(".data_RAM2")))
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -92,7 +92,7 @@
|
|||||||
#ifndef MG_IRAM
|
#ifndef MG_IRAM
|
||||||
#if defined(CPU_MIMXRT1186CVJ8C_cm33) || defined(MIMXRT1186_cm33_H_)
|
#if defined(CPU_MIMXRT1186CVJ8C_cm33) || defined(MIMXRT1186_cm33_H_)
|
||||||
#define MG_IRAM \
|
#define MG_IRAM \
|
||||||
__attribute__((noinline, section(".data.$SRAM_ITC_cm33")))
|
__attribute__((noinline, section(".ramfunc.$SRAM_ITC_cm33")))
|
||||||
#else
|
#else
|
||||||
#define MG_IRAM __attribute__((noinline, section(".data_RAM2")))
|
#define MG_IRAM __attribute__((noinline, section(".data_RAM2")))
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user