File tree Expand file tree Collapse file tree
esp8266com/esp8266/cores/esp8266
tools/esp8266/sdk/include Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ UARTnr_t uart_get_debug();
101101// ####################################################################################################
102102// ####################################################################################################
103103
104- void uart_interrupt_handler (uart_t * uart) {
104+ void ICACHE_RAM_ATTR uart_interrupt_handler (uart_t * uart) {
105105
106106 // -------------- UART 0 --------------
107107 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 {
6666#define SHMEM_ATTR
6767
6868#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")))
7172#else
7273#define ICACHE_FLASH_ATTR
74+ #define ICACHE_RAM_ATTR
7375#define ICACHE_RODATA_ATTR
7476#endif /* ICACHE_FLASH */
7577
You can’t perform that action at this time.
0 commit comments