summaryrefslogtreecommitdiff
path: root/ports/nrf/mphalport.h
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
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
2018-09-25migrate serial from uart to uartehathach
2018-07-16Merge 3.0.0 final bugfixes and changes to masterDan Halbert
2018-07-11Merge branch 'master' into nrf52840_usbboothathach
2018-07-10code formathathach
2018-07-10nrf: Remove the random hal and modulearturo182
Thus getting rid of the whole old hal! The module is not needed because the common-hal nRF implementation uses HW RNG anyway.
2018-07-10nrf: Remove the old time hal and replace with nRFxarturo182
2018-07-08nrf: Rewrite the DigitalInOut hal using nRFxarturo182
2018-07-08nrf: Rewrite the UART HAL using nrfxarturo182
2018-07-08nrf: mphalport cleanuparturo182
2017-12-21nRF52 update with internal file system supportmicrobuilder
2017-11-23Revert "Supervisor REPL support for ports/nrf/boards/feather52"Kevin Townsend
This reverts commit 92113dde815ce5aaecf63ea9e87bc4addcabd822.
2017-11-23Supervisor REPL support for ports/nrf/boards/feather52Kevin Townsend
2017-10-04ports/nrf: Moving nrf51/52 port to new ports directoryGlenn Ruben Bakke