diff options
author | Damien George <damien.p.george@gmail.com> | 2020-04-23 16:19:15 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-30 23:47:11 +1000 |
commit | 0bd58a56137bd9124756ed0f57b4213daccfc7d5 (patch) | |
tree | 7d9c4344ee20daa0f0287e90f244f4ca270c1bcd /docs/library/micropython.rst | |
parent | 544c308c18d134ade0ce23f39b73dc3f46074825 (diff) |
esp8266/machine_pin: Move pin_intr_handler to iRAM, de-support hard IRQ.
GPIO interrupts can occur when the flash ROM cache is in use and so the
GPIO interrupt handler must be in iRAM. This commit moves the handler to
iRAM, and also moves mp_sched_schedule to iRAM which is called by
pin_intr_handler.
As part of this fix the Pin class can no longer support hard=True in the
Pin.irq() method, because the VM and runtime are too big to put in iRAM.
Fixes #5714.
Diffstat (limited to 'docs/library/micropython.rst')
0 files changed, 0 insertions, 0 deletions