summaryrefslogtreecommitdiff
path: root/ports/stm32f4/tick.c
AgeCommit message (Collapse)Author
2020-03-11remove old directoryLucian Copeland
2019-11-18Supervisor: move most of systick to the supervisorJeff Epler
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
2019-11-12Style overhaul, extra error checksHierophect
2019-10-21non-functional WIPHierophect
2019-09-17Fix crash related to ADC timeoutHierophect
2019-07-24Update SystemCoreClock macroHierophect
2019-07-09Add STM32F412-DISCO support, cleanupHierophect
2019-07-01remove dependencies for stable buildHierophect
2019-06-28name change but actuallyHierophect