Skip to content

Commit 0a8f2a1

Browse files
FiveYellowMiced-a-v
authored andcommitted
Document ISRs need ICACHE_RAM_ATTR before them (#6141)
1 parent a389a99 commit 0a8f2a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/reference.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ pins 9 and 11. These may be used as IO if flash chip works in DIO mode
3232
Pin interrupts are supported through ``attachInterrupt``,
3333
``detachInterrupt`` functions. Interrupts may be attached to any GPIO
3434
pin, except GPIO16. Standard Arduino interrupt types are supported:
35-
``CHANGE``, ``RISING``, ``FALLING``.
35+
``CHANGE``, ``RISING``, ``FALLING``. ISRs need to have
36+
``ICACHE_RAM_ATTR`` before the function definition.
3637

3738
Analog input
3839
------------

0 commit comments

Comments
 (0)