From ad97aa28fbde4bb6cbe79dd33ddd200b0fb27e88 Mon Sep 17 00:00:00 2001 From: Alex Huang Date: Sat, 25 May 2019 18:12:06 +1000 Subject: [PATCH] Document ISRs need ICACHE_RAM_ATTR before them --- doc/reference.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/reference.rst b/doc/reference.rst index da033ff545..2744a7164b 100644 --- a/doc/reference.rst +++ b/doc/reference.rst @@ -32,7 +32,8 @@ pins 9 and 11. These may be used as IO if flash chip works in DIO mode Pin interrupts are supported through ``attachInterrupt``, ``detachInterrupt`` functions. Interrupts may be attached to any GPIO pin, except GPIO16. Standard Arduino interrupt types are supported: -``CHANGE``, ``RISING``, ``FALLING``. +``CHANGE``, ``RISING``, ``FALLING``. ISRs need to have +``ICACHE_RAM_ATTR`` before the function definition. Analog input ------------