summaryrefslogtreecommitdiffstatshomepage
path: root/examples/usercmodule/cexample/examplemodule.c
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2024-06-25 15:30:02 +1000
committerAngus Gratton <angus@redyak.com.au>2024-07-23 16:46:27 +1000
commitba98533454eef5ab5783039f9929351c8f54d005 (patch)
tree5527d67b243f4b919e1f0a1bcee43e90c2743eb7 /examples/usercmodule/cexample/examplemodule.c
parent81daba31c5f7541986b4cc1b12d2cf9c41e025e1 (diff)
downloadmicropython-ba98533454eef5ab5783039f9929351c8f54d005.tar.gz
micropython-ba98533454eef5ab5783039f9929351c8f54d005.zip
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>
Diffstat (limited to 'examples/usercmodule/cexample/examplemodule.c')
0 files changed, 0 insertions, 0 deletions