micropython/ports
Damien George 120ac0f8d2 rp2/modmachine: Re-sync time_ns offset when coming out of lightsleep.
Prior to this fix, `tests/extmod/vfs_lfs_mtime.py` would fail when run
after the `tests/ports/rp2/rp2_lightsleep.py` test, because
`time.time_ns()` would have a large and constant offset from `time.time()`.

Fix this by re-syncing the time-ns offset when coming out of lightsleep.

Signed-off-by: Damien George <damien@micropython.org>
2024-10-24 23:24:09 +11:00
..
bare-arm shared/libc/string0: Don't deref args for n==0 case. 2023-11-07 16:01:50 +11:00
cc3200 cc3200/mods/pybuart: Add the UART.IRQ_RX class constant. 2024-08-29 16:27:43 +10:00
embed all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
esp32 esp32/modmachine: Allow building with USB CDC disabled. 2024-10-22 14:45:51 +11:00
esp8266 esp32,esp8266: Use new mp_obj_new_str_from_cstr() function. 2024-07-05 11:27:25 +10:00
mimxrt ports: Include py/mphal.h instead of mphalport.h. 2024-10-09 14:39:34 +11:00
minimal minimal: Use printf instead of echo -e. 2024-02-15 16:36:22 +11:00
nrf ports: Include py/mphal.h instead of mphalport.h. 2024-10-09 14:39:34 +11:00
pic16bit all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
powerpc py/mpconfig: Disable qstr hashing at minimum feature level. 2024-01-25 16:38:17 +11:00
qemu qemu/mcu/rv32: Fix test of mcause value in lookup_cause. 2024-10-22 14:52:01 +11:00
renesas-ra renesas-ra/pendsv: Remove preemptive keyboard interrupt via PendSV. 2024-10-15 10:32:24 +11:00
rp2 rp2/modmachine: Re-sync time_ns offset when coming out of lightsleep. 2024-10-24 23:24:09 +11:00
samd ports: Include py/mphal.h instead of mphalport.h. 2024-10-09 14:39:34 +11:00
stm32 Revert "stm32/machine_uart: Allow changing only the baudrate." 2024-10-22 11:50:05 +11:00
unix unix/main: Add --version command-line option. 2024-10-15 14:44:10 +11:00
webassembly ports: Include py/mphal.h instead of mphalport.h. 2024-10-09 14:39:34 +11:00
windows github/workflows: Improve MSYS2-based CI builds. 2024-07-25 16:22:21 +10:00
zephyr zephyr/boards: Add support for BeagleConnect Freedom. 2024-10-15 11:44:42 +11:00