micropython/ports/nrf/drivers
Angus Gratton 00ba6aaae4 ports: On cold boot, enable USB after boot.py completes.
For mimxrt, nrf, renesas-ra, rp2 and samd ports, this commit implements
similar behaviour to the stm32 port, where USB is only brought up after
boot.py completes execution.

Currently this doesn't add any useful functionality (and may break
workflows that depend on USB-CDC being live in boot.py), however it's a
precondition for more usable workflows with USB devices defined in
Python (allows setting up USB interfaces in boot.py before the device
enumerates for the first time).

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2024-02-15 12:31:26 +11:00
..
bluetooth ports: Fix sys.stdout.buffer.write() return value. 2023-12-22 10:32:46 +11:00
secureboot nrf: Fix _start() build issue with CMSIS 5.9.0. 2024-01-22 12:40:16 +11:00
usb ports: On cold boot, enable USB after boot.py completes. 2024-02-15 12:31:26 +11:00
flash.c nrf/drivers: Add support for using flash block device with SoftDevice. 2021-08-08 23:09:26 +10:00
flash.h nrf: Add nrf9160 base support. 2019-10-10 21:35:27 +02:00
rng.c nrf: Update to work with nrfx v2.0.0, to match TinyUSB. 2020-05-15 15:06:02 +10:00
rng.h nrf: Remove custom "random" module and use extmod version instead. 2020-02-18 12:43:16 +11:00
softpwm.c nrf: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
softpwm.h nrf/drivers: Add license text to ticker.h and softpwm.h. 2018-07-18 17:12:26 +10:00
ticker.c all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
ticker.h nrf: Clean up source by removing tabs, trailing spaces, non-ASCII chars. 2019-08-28 13:34:45 +10:00