micropython/tests/ports
Angus Gratton ba98533454 rp2: Stop machine.idle() blocking indefinitely.
Updates rp2 port to always resume from idle within 1ms max.

When rp2 port went tickless the behaviour of machine.idle() changed as
there is no longer a tick interrupt to wake it up every millisecond. On a
quiet system it would now block indefinitely. No other port does this.

See parent commit for justification of why this change is useful.

Also adds a test case that fails without this change.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2024-07-23 16:46:27 +10:00
..
cc3200 all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
esp32 tests: Move port-specific test directories into tests/ports/ directory. 2024-01-22 11:48:27 +11:00
qemu-arm tests: Move port-specific test directories into tests/ports/ directory. 2024-01-22 11:48:27 +11:00
renesas-ra tests: Move port-specific test directories into tests/ports/ directory. 2024-01-22 11:48:27 +11:00
rp2 rp2: Stop machine.idle() blocking indefinitely. 2024-07-23 16:46:27 +10:00
stm32 tests: Move port-specific test directories into tests/ports/ directory. 2024-01-22 11:48:27 +11:00
stm32_hardware stm32/dma: Add D-cache protection for DMA RX operations, including SPI. 2024-03-08 12:19:48 +11:00
unix py/objint: Try to convert big-int back to small-int after binary op. 2024-07-01 13:52:59 +10:00
webassembly webassembly: Reuse PyProxy objects when they are the same Python object. 2024-07-19 11:55:24 +10:00