From 0a8f2a13a6625f5d4e9f83ac0f0107e2d62cdc6a Mon Sep 17 00:00:00 2001 From: Alex Huang Date: Sat, 25 May 2019 21:53:30 +1000 Subject: [PATCH] Document ISRs need ICACHE_RAM_ATTR before them (#6141) --- doc/reference.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/reference.rst b/doc/reference.rst index da033ff54..2744a7164 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 ------------