summaryrefslogtreecommitdiffstatshomepage
path: root/py/builtinhelp.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-07-03 14:39:50 +1000
committerDamien George <damien.p.george@gmail.com>2018-07-03 14:46:29 +1000
commitb6e5f82ba524b953d5b93bc9713bb0a4ef55489b (patch)
treee8427cf04973fffc403bab45d0bfccfe760c3dbf /py/builtinhelp.c
parenta3c3dbd9559523937267fe5a24d86417e909ada7 (diff)
downloadmicropython-b6e5f82ba524b953d5b93bc9713bb0a4ef55489b.tar.gz
micropython-b6e5f82ba524b953d5b93bc9713bb0a4ef55489b.zip
esp8266/modesp: Run ets_loop_iter before/after doing flash erase/write.
A flash erase/write takes a while and during that time tasks may be scheduled via an IRQ. To prevent overflow of the task queue (and loss of tasks) call ets_loop_iter() before and after slow flash operations. Note: if a task is posted to a full queue while a flash operation is in progress then this leads to a fault when trying to print out the error message that the queue is full. This patch doesn't try to fix this particular issue, it just prevents it from happening in the first place.
Diffstat (limited to 'py/builtinhelp.c')
0 files changed, 0 insertions, 0 deletions