circuitpython/ports/stm32f4
Jeff Epler 7f744a2369 Supervisor: move most of systick to the supervisor
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-18 11:01:23 -06:00
..
boards Merge remote-tracking branch 'upstream/master' into stm32-uart 2019-11-12 09:49:17 -05:00
common-hal Supervisor: move most of systick to the supervisor 2019-11-18 11:01:23 -06:00
peripherals/stm32f4 Raise clock speed, adjust divisors 2019-11-13 13:18:43 -05:00
stm32f4@89a356f0b4 Requested changes, general cleanup 2019-07-24 14:21:27 -04:00
supervisor Style overhaul, extra error checks 2019-11-12 11:26:14 -05:00
.gitignore Serial REPL support 2019-07-11 13:41:10 -04:00
background.c Merge pull request #2065 from hierophect/f411re-feature-buildout 2019-09-04 15:45:54 -04:00
background.h Requested changes, general cleanup 2019-07-24 14:21:27 -04:00
fatfs_port.c name change but actually 2019-06-28 16:34:27 -04:00
Makefile Rename feather across folders and config, fix makefile def issue 2019-10-24 12:51:40 -04:00
mpconfigport.h Style overhaul, extra error checks 2019-11-12 11:26:14 -05:00
mpconfigport.mk PWM Base functionality testing for F405 2019-10-24 12:43:34 -04:00
mphalport.c Supervisor: move most of systick to the supervisor 2019-11-18 11:01:23 -06:00
mphalport.h Supervisor: move most of systick to the supervisor 2019-11-18 11:01:23 -06:00
qstrdefsport.h name change but actually 2019-06-28 16:34:27 -04:00
README.md Python doc generator fixes 2019-07-23 13:48:59 -04:00
system_stm32f4xx.c Add STM32F412-DISCO support, cleanup 2019-07-09 13:03:22 -04:00
tick.c Supervisor: move most of systick to the supervisor 2019-11-18 11:01:23 -06:00
tick.h Supervisor: move most of systick to the supervisor 2019-11-18 11:01:23 -06:00

CircuitPython Port To The ST Microelectronics STM32F4 Series

This is a port of CircuitPython to the STM32F4 series of chips.