circuitpython/ports
Sean Cross 77cf4dce8f nrf: disable interrupts before running wfi
In order to ensure we don't have any outstanding requests, disable
interrupts prior to issuing `WFI`.

As part of this process, check to see if there are any pending USB
requests, and only execute the `WFI` if there is no pending data.

This fixes #2855 on NRF.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-21 21:43:52 +08:00
..
atmel-samd Initial version 2020-05-20 21:11:06 -05:00
cxd56 Merge pull request #2910 from tannewt/esp32s2 2020-05-19 12:53:23 -07:00
esp32s2 Add commend about FreeRTOS stack canary 2020-05-18 17:28:13 -07:00
litex Initial ESP32S2 port. 2020-05-15 15:36:16 -07:00
mimxrt10xx Merge pull request #2898 from hierophect/mimxrt-claiming 2020-05-20 11:32:22 -07:00
nrf nrf: disable interrupts before running wfi 2020-05-21 21:43:52 +08:00
stm Merge pull request #2910 from tannewt/esp32s2 2020-05-19 12:53:23 -07:00
unix ulab: rename enable macro so it appears in the support matrix 2020-03-17 09:33:03 -05:00