| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-02-01 | tests/extmod/utime_time_ns.py: Relax bounds on time_ns measurement. | Damien George | |
| Some devices have lower precision than 1ms for time_ns() (eg PYBv1.x has 3.9ms resolution of the RTC) so make the test more lenient for them. Signed-off-by: Damien George <damien@micropython.org> | |||
| 2020-10-01 | extmod/utime_mphal: Add generic utime.time_ns() function. | Damien George | |
| It requires mp_hal_time_ns() to be provided by a port. This function allows very accurate absolute timestamps. Enabled on unix, windows, stm32, esp8266 and esp32. Signed-off-by: Damien George <damien@micropython.org> | |||
