File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
esp8266com/esp8266/cores/esp8266
tools/esp8266/sdk/include Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ UARTnr_t uart_get_debug();
101
101
// ####################################################################################################
102
102
// ####################################################################################################
103
103
104
- void uart_interrupt_handler (uart_t * uart) {
104
+ void ICACHE_RAM_ATTR uart_interrupt_handler (uart_t * uart) {
105
105
106
106
// -------------- UART 0 --------------
107
107
uint32_t status = READ_PERI_REG (UART_INT_ST (0 ));
Original file line number Diff line number Diff line change @@ -66,10 +66,12 @@ typedef enum {
66
66
#define SHMEM_ATTR
67
67
68
68
#ifdef ICACHE_FLASH
69
- #define ICACHE_FLASH_ATTR __attribute__((section(".irom0.text")))
70
- #define ICACHE_RODATA_ATTR __attribute__((section(".irom.text")))
69
+ #define ICACHE_FLASH_ATTR __attribute__((section(".irom0.text")))
70
+ #define ICACHE_RAM_ATTR __attribute__((section(".text")))
71
+ #define ICACHE_RODATA_ATTR __attribute__((section(".irom.text")))
71
72
#else
72
73
#define ICACHE_FLASH_ATTR
74
+ #define ICACHE_RAM_ATTR
73
75
#define ICACHE_RODATA_ATTR
74
76
#endif /* ICACHE_FLASH */
75
77
You can’t perform that action at this time.
0 commit comments