summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modutime.c
Commit message (Collapse)AuthorAge
* esp8266: Rename "machine" module implementation to use contemporary naming.Paul Sokolovsky2016-11-06
| | | | | | | Previously they used historical "pyb" affix causing confusion and inconsistency (there's no "pyb" module in modern ports; but people took esp8266 port as an example, and "pyb" naming kept proliferating, while other people complained that source structure is not clear).
* esp8266/modutime: Consistently convert to MP_ROM_QSTR/MP_ROM_PTR.Paul Sokolovsky2016-10-29
|
* extmod/utime_mphal: Implement ticks_add(), add to all maintained ports.Paul Sokolovsky2016-10-29
|
* extmod/utime_mphal: Factor out implementations in terms of mp_hal_* for reuse.Paul Sokolovsky2016-10-14
| | | | | | As long as a port implement mp_hal_sleep_ms(), mp_hal_ticks_ms(), etc. functions, it can just use standard implementations of utime.sleel_ms(), utime.ticks_ms(), etc. Python-level functions.
* all: Remove 'name' member from mp_obj_module_t struct.Damien George2016-09-22
| | | | One can instead lookup __name__ in the modules dict to get the value.
* esp8266/modutime: Actually implement ticks_cpu().Paul Sokolovsky2016-08-07
|
* esp8266/modutime: Support float argument to time.sleep().Paul Sokolovsky2016-03-04
|
* esp8266: Add time.{sleep_ms,sleep_us,ticks_ms,ticks_us,ticks_diff}.Damien George2016-03-04
| | | | Framework for time.ticks_cpu added, but not implemented.
* all: Add py/mphal.h and use it in all ports.Damien George2015-10-31
| | | | | | py/mphal.h contains declarations for generic mp_hal_XXX functions, such as stdio and delay/ticks, which ports should provide definitions for. A port will also provide mphalport.h with further HAL declarations.
* esp8266: Switch to standard mp_hal_delay_ms() MPHAL function.Paul Sokolovsky2015-10-29
|
* esp8266: Add utime and pyb.RTCJosef Gajdusek2015-05-13