circuitpython/shared
Angus Gratton 83e82c5ad3 rp2: Refactor to not use pico-sdk alarm pool functions for sleeping.
The best_effort_wfe_or_timeout() and sleep_us() pico-sdk functions use the
pico-sdk alarm pool internally, and that has a bug.

Some usages inside pico-sdk (notably multicore_lockout_start_blocking())
will still end up calling best_effort_wfe_or_timeout(), although usually
with "end_of_time" as the timeout value so it should avoid any alarm pool
race conditions.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2024-05-31 16:44:09 +10:00
..
libc all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
memzip py/mkrules.mk: Add rule for compiling auto-generated source files. 2023-11-03 13:57:47 +11:00
netutils extmod/modlwip: Support IPv6. 2024-02-16 11:46:40 +11:00
readline all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
runtime rp2: Refactor to not use pico-sdk alarm pool functions for sleeping. 2024-05-31 16:44:09 +10:00
timeutils all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
tinyusb shared/tinyusb: Stall the CDC IN endpoint while disconnecting. 2024-05-09 15:22:31 +10:00
upytesthelper py/modsys: Allow sys.path to be assigned to. 2023-06-08 17:54:24 +10:00
README.md lib,shared: Update README's based on contents of these dirs. 2021-07-13 00:17:02 +10:00

This directory contains libraries, utilities and helper code developed specifically for this project. The code is intended to be portable and usable by any port.