I added design thoughts on the clocks and timers to https://github.com/espruino/Espruino/wiki/ESP8266-Design-Notes#system-time.
I'll add comments to jshardware.h and you can then review and correct.
@tve started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I added design thoughts on the clocks and timers to https://github.com/espruino/Espruino/wiki/ESP8266-Design-Notes#system-time.
I'll add comments to jshardware.h and you can then review and correct.