From 1d6fc00fdba25774783553df7d403012378fb5d2 Mon Sep 17 00:00:00 2001 From: Markus Sattler Date: Fri, 24 Apr 2015 21:15:41 +0200 Subject: [PATCH 1/2] uart_interrupt_handler is now 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 27cc35e96..907e29733 100644 --- a/cores/esp8266/HardwareSerial.cpp +++ b/cores/esp8266/HardwareSerial.cpp @@ -101,7 +101,7 @@ UARTnr_t uart_get_debug(); // #################################################################################################### // #################################################################################################### -void ICACHE_FLASH_ATTR uart_interrupt_handler(uart_t* uart) { +void uart_interrupt_handler(uart_t* uart) { // -------------- UART 0 -------------- uint32_t status = READ_PERI_REG(UART_INT_ST(0)); From 7f6a588773aa43a8c0c1209e7a91c4dcbbf3c282 Mon Sep 17 00:00:00 2001 From: Markus Sattler Date: Sat, 25 Apr 2015 10:43:10 +0200 Subject: [PATCH 2/2] include stdlib_noniso.h in Arduino.h see #110 --- cores/esp8266/Arduino.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cores/esp8266/Arduino.h b/cores/esp8266/Arduino.h index 1057240db..f75f9ebf1 100644 --- a/cores/esp8266/Arduino.h +++ b/cores/esp8266/Arduino.h @@ -33,11 +33,10 @@ extern "C" { #include #include +#include "stdlib_noniso.h" #include "binary.h" #include "pgmspace.h" - - void yield(void); #define HIGH 0x1