7f744a2369
This code is shared by most parts, except where not all the #ifdefs inside the tick function were present in all ports. This mostly would have broken gamepad tick support on non-samd ports. The "ms32" and "ms64" variants of the tick functions are introduced because there is no 64-bit atomic read. Disabling interrupts avoids a low probability bug where milliseconds could be off by ~49.5 days once every ~49.5 days (2^32 ms). Avoiding disabling interrupts when only the low 32 bits are needed is a minor optimization. Testing performed: on metro m4 express, USB still works and time.monotonic_ns() still counts up |
||
---|---|---|
.. | ||
boards | ||
common-hal | ||
peripherals/stm32f4 | ||
stm32f4@89a356f0b4 | ||
supervisor | ||
.gitignore | ||
background.c | ||
background.h | ||
fatfs_port.c | ||
Makefile | ||
mpconfigport.h | ||
mpconfigport.mk | ||
mphalport.c | ||
mphalport.h | ||
qstrdefsport.h | ||
README.md | ||
system_stm32f4xx.c | ||
tick.c | ||
tick.h |
CircuitPython Port To The ST Microelectronics STM32F4 Series
This is a port of CircuitPython to the STM32F4 series of chips.