This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
mirror of
https://github.com/micropython/micropython.git
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
6d11918d49
micropython
/
esp8266
/
ets_alt_task.h
3 lines
60 B
C
Raw
Normal View
History
Unescape
Escape
esp8266: Provide a dedicated variable to disable ets_loop_iter. So ets_loop_iter is now only disabled when using machine.disable_irq.
2016-06-01 17:26:49 +01:00
extern
int
ets_loop_iter_disable
;
esp8266: Add alternative event loop implementation. This implementation provides the same interface and uses the same datastructures as used by BootROM, i.e. is a drop-in replacement for it. But it offers one advantage: it allows to run single iteration of event-pumping loop. Original BootROM function are renamed, prefixed with underscore. There's a switch which allows to use forward calls to them, for compatibility testing. The implementation also includes workarounds for hardware timer handler, and these workarounds may be SDK version specific.
2015-12-21 21:04:11 +00:00
bool
ets_loop_iter
(
void
)
;