circuitpython/ports
robert-hh 5890a17ae0 rp2/rp2_flash: Call MICROPY_EVENT_POLL_HOOK_FAST after reading flash.
To allow the USB to work in cases where there is a lot of filesystem
access, in particular on boot.

For example, registering of the USB CDC interface may fail if:
- the board file system is lfs2 (default), and
- sys.path contains entries for the local file system (default), and
- files are imported by boot.py or main.py from frozen bytecode of the file
  system (common) and the file system contains many files, like 100.

In that case the board is very busy with scanning LFS, and registering the
USB interface seems to time out.  This commit fixes this by allowing the
USB to make progress during filesystem reads.

Also switch existing MICROPY_EVENT_POLL_HOOK uses in this file to
MICROPY_EVENT_POLL_HOOK_FAST now that the latter macro exists.
2023-01-12 16:53:02 +11:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 cc3200: Remove unused NIC type customisation. 2022-12-15 17:40:18 +11:00
esp32 esp32/boards/GENERIC_S3_SPIRAM_OCT: Add ESP32S3 board with Octal SPIRAM. 2022-12-19 13:29:33 +11:00
esp8266 esp8266/machine_pin: Disable open drain when pin becomes input/output. 2022-11-15 12:51:39 +11:00
mimxrt mimxrt/sdcard: Remove obsolete code already excluded by preprocessor. 2022-12-14 13:05:27 +11:00
minimal minimal/Makefile: Set linker to $(CC). 2022-11-15 17:09:37 +11:00
nrf nrf/boards/seeed_xiao_nrf52: Add defn for Seeed XIAO NRF52840 Sense. 2022-12-15 14:27:08 +11:00
pic16bit all: Use += rather than = everywhere for CFLAGS/LDFLAGS/LIBS. 2022-10-11 23:17:41 +11:00
powerpc all: Use += rather than = everywhere for CFLAGS/LDFLAGS/LIBS. 2022-10-11 23:17:41 +11:00
qemu-arm py/objstr: Add hex/fromhex to bytes/memoryview/bytearray. 2022-08-12 12:44:30 +10:00
renesas-ra renesas-ra: Add the UART methods uart.txdone() and uart.flush(). 2022-12-15 12:09:34 +01:00
rp2 rp2/rp2_flash: Call MICROPY_EVENT_POLL_HOOK_FAST after reading flash. 2023-01-12 16:53:02 +11:00
samd samd/boards/SEEED_XIAO: Rename to SEEED_XIAO_SAMD21. 2022-12-15 14:18:44 +11:00
stm32 stm32/powerctrl: Fix build on STM32G0xx and STM32H7Bx MCUs. 2022-12-16 16:48:59 +11:00
teensy extmod: Make extmod.mk self-contained. 2022-10-11 23:31:49 +11:00
unix unix/moduos: Implement 2-arg version of os.getenv(). 2022-12-14 13:38:39 +11:00
webassembly webassembly/library: Extract and send data to print as UInt8Array. 2022-12-13 17:16:37 +11:00
windows windows/.gitignore: Simplify by removing build artefacts. 2022-12-13 17:22:11 +11:00
zephyr zephyr: Rename machine I2C and SPI types consistently across ports. 2022-10-22 12:58:21 +11:00