@@ -300,7 +300,7 @@ extern uint32_t stack_thunk_get_stack_bot() __attribute__((weak, alias("__zero_r
300
300
#ifdef USE_IRAM
301
301
#undef USE_IRAM
302
302
#define USE_IRAM 1
303
- #define IRAM_MAYBE ICACHE_RAM_ATTR
303
+ #define IRAM_MAYBE IRAM_ATTR
304
304
305
305
#else
306
306
#undef USE_IRAM
@@ -441,8 +441,8 @@ extern "C" {
441
441
442
442
extern cont_t * get_noextra4k_g_pcont (void );
443
443
444
- cont_t * ICACHE_RAM_ATTR get_noextra4k_g_pcont (void ) __attribute__((weak));
445
- cont_t * ICACHE_RAM_ATTR get_noextra4k_g_pcont (void ) {
444
+ cont_t * IRAM_ATTR get_noextra4k_g_pcont (void ) __attribute__((weak));
445
+ cont_t * IRAM_ATTR get_noextra4k_g_pcont (void ) {
446
446
return NULL ;
447
447
}
448
448
@@ -1027,7 +1027,7 @@ extern "C" void Cache_Read_Disable(void);
1027
1027
extern " C" void Cache_Read_Enable (uint8_t map, uint8_t p, uint8_t v);
1028
1028
1029
1029
#ifndef USE_IRAM
1030
- static void ICACHE_RAM_ATTR __attribute__ ((noinline)) handle_hwdt_icache() __attribute__((used));
1030
+ static void IRAM_ATTR __attribute__ ((noinline)) handle_hwdt_icache() __attribute__((used));
1031
1031
void handle_hwdt_icache () {
1032
1032
Cache_Read_Enable (0 , 0 , ICACHE_SIZE_16);
1033
1033
handle_hwdt ();
@@ -1055,7 +1055,7 @@ void hwdt_pre_sdk_init(void) {
1055
1055
#endif
1056
1056
}
1057
1057
1058
- static void ICACHE_RAM_ATTR __attribute__ ((noinline)) hwdt_pre_sdk_init_icache(void ) __attribute__((used));
1058
+ static void IRAM_ATTR __attribute__ ((noinline)) hwdt_pre_sdk_init_icache(void ) __attribute__((used));
1059
1059
void hwdt_pre_sdk_init_icache (void ) {
1060
1060
Cache_Read_Enable (0 , 0 , ICACHE_SIZE_16);
1061
1061
#ifdef DEBUG_ESP_HWDT_UART_SPEED
@@ -1154,7 +1154,7 @@ asm (
1154
1154
);
1155
1155
1156
1156
#else
1157
- void ICACHE_RAM_ATTR app_entry_start(void) {
1157
+ void IRAM_ATTR app_entry_start(void) {
1158
1158
1159
1159
#ifdef USE_IRAM
1160
1160
handle_hwdt();
@@ -1191,7 +1191,7 @@ void ICACHE_RAM_ATTR app_entry_start(void) {
1191
1191
__builtin_unreachable();
1192
1192
}
1193
1193
1194
- void ICACHE_RAM_ATTR app_entry_redefinable(void) {
1194
+ void IRAM_ATTR app_entry_redefinable(void) {
1195
1195
/*
1196
1196
* There are 4 sections of code that share the stack starting near
1197
1197
* 0x40000000.
0 commit comments