circuitpython/shared
Jim Mussared b1cdb205ec shared/runtime/softtimer: Fix ticks range when computing ticks diff.
The previous computation incorrectly assumed that the uint32_t ticks
counter MICROPY_SOFT_TIMER_TICKS_MS was in the range [0,0x80000000) where
its actually [0,0xffffffff].  This means the diff calculation can be
simplified compared to the original implementation copied from
utime_mphal.c, which has to deal with a ticks range constrained by the
small int range.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-02-17 12:17:28 +11:00
..
libc shared/libc/string0: Don't include string.h, and provide __memcpy_chk. 2021-11-17 13:58:07 +11:00
memzip all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
netutils shared/netutils: Add "py/obj.h" header include. 2022-11-11 15:43:53 +11:00
readline shared/readline: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:48:49 +10:00
runtime shared/runtime/softtimer: Fix ticks range when computing ticks diff. 2023-02-17 12:17:28 +11:00
timeutils mimxrt/machine_rtc: Start RTC at boot and set datetime if not set. 2022-04-11 12:25:23 +10:00
tinyusb shared/tinyusb: Fix CDC bNumInterfaces value. 2022-11-14 13:03:33 +11:00
upytesthelper ports: Add '.frozen' as the first entry in sys.path. 2021-12-18 00:08:07 +11: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.