From 2b3302c714f9b32e1b9f77d32990109a1fe7930b Mon Sep 17 00:00:00 2001 From: Markus Sattler Date: Sun, 26 Apr 2015 15:40:19 +0200 Subject: [PATCH] add new macro for force function to ram move uart_interrupt_handler in ram --- cores/esp8266/HardwareSerial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp8266/HardwareSerial.cpp b/cores/esp8266/HardwareSerial.cpp index 46a9c28f3..ad8766444 100644 --- a/cores/esp8266/HardwareSerial.cpp +++ b/cores/esp8266/HardwareSerial.cpp @@ -101,7 +101,7 @@ UARTnr_t uart_get_debug(); // #################################################################################################### // #################################################################################################### -void uart_interrupt_handler(uart_t* uart) { +void ICACHE_RAM_ATTR uart_interrupt_handler(uart_t* uart) { // -------------- UART 0 -------------- uint32_t status = READ_PERI_REG(UART_INT_ST(0));