Paul Sokolovsky
a4c8ef9d16
esp8266: Reset "virtual RTC" on power on.
...
Initialize RTC period coefficients, etc. if RTC RAM doesn't contain valid
values. time.time() then will return number of seconds since power-on, unless
set to different timebase.
This reuses MEM_MAGIC for the purpose beyond its initial purpose (but the whole
modpybrtc.c need to be eventually reworked completely anyway).
2016-03-04 16:49:01 +02:00
Damien George
b41a14a4b9
esp8266: Add mp_hal_delay_us function.
2016-03-04 09:25:05 +02:00
Paul Sokolovsky
6a09e7d7ae
esp8266: Switch to standard mp_hal_ticks_ms() MPHAL function.
2015-10-29 19:40:05 +03:00
Paul Sokolovsky
ebd9f550e8
esp8266: Switch to standard mp_hal_delay_ms() MPHAL function.
2015-10-29 13:03:59 +03:00
Paul Sokolovsky
5699fc9d0e
esp8266: Switch to standard mp_hal_delay_us() MPHAL function.
2015-10-29 02:06:58 +03:00
Josef Gajdusek
492fd5cb6b
esp8266: Enable setting CPU frequency to 160MHz
2015-05-28 21:28:29 +03:00
Josef Gajdusek
800d5cd16f
esp8266: Implement time functions
2015-05-12 23:47:18 +01:00
Damien George
0b32e50365
stmhal: Make pybstdio usable by other ports, and use it.
...
Now all ports can use pybstdio.c to provide sys.stdin/stdout/stderr, so
long as they implement mp_hal_stdin_* and mp_hal_stdout_* functions.
2015-02-13 15:04:53 +00:00
Damien George
075d597464
esp8266: New port of Micro Python to ESP8266 wifi module.
2014-11-27 20:30:33 +00:00