micropython/ports
Jim Mussared daff597753 rp2: Run USB stack task exclusively from core 0.
The goal is to avoid a situation where core 1 is shut down while holding
the tinyusb spinlock, which could happen during soft reset if
mp_thread_deinit is called while core1 is running tud_task().

This also fixes a latent race where the two cores are competing to
decrement and compare `vm_hook_divisor` with no mem fence or atomic
protection -- only core0 will now do this.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-07-12 16:17:19 +10:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 extmod/extmod.mk: Separate out extmod file list from py.mk to extmod.mk. 2022-06-21 00:14:34 +10:00
esp32 esp32/modmachine: Fix machine.freq to allow maximum 160MHz on ESP32-C3. 2022-07-08 22:46:51 +10:00
esp8266 esp8266/boards: Enable reverse-special-methods on GENERIC board. 2022-07-08 23:06:16 +10:00
javascript extmod/extmod.mk: Separate out extmod file list from py.mk to extmod.mk. 2022-06-21 00:14:34 +10:00
mimxrt mimxrt/boards: Remove conditional assignment of flash type/size. 2022-06-24 17:58:27 +10:00
minimal ports: Use default VFS config for import_stat and builtin_open. 2022-05-25 13:04:45 +10:00
nrf nrf/modmachine: Add machine.idle() function. 2022-07-08 12:37:59 +10:00
pic16bit extmod/extmod.mk: Separate out extmod file list from py.mk to extmod.mk. 2022-06-21 00:14:34 +10:00
powerpc extmod/extmod.mk: Separate out extmod file list from py.mk to extmod.mk. 2022-06-21 00:14:34 +10:00
qemu-arm extmod/extmod.mk: Separate out extmod file list from py.mk to extmod.mk. 2022-06-21 00:14:34 +10:00
renesas-ra extmod/extmod.mk: Separate out extmod file list from py.mk to extmod.mk. 2022-06-21 00:14:34 +10:00
rp2 rp2: Run USB stack task exclusively from core 0. 2022-07-12 16:17:19 +10:00
samd extmod/extmod.mk: Separate out extmod file list from py.mk to extmod.mk. 2022-06-21 00:14:34 +10:00
stm32 stm32/sdram: Include boardctrl.h for fatal-error handler. 2022-07-11 14:47:46 +10:00
teensy extmod/extmod.mk: Separate out extmod file list from py.mk to extmod.mk. 2022-06-21 00:14:34 +10:00
unix unix/moduos: Include errno.h. 2022-07-05 23:44:07 +10:00
windows extmod/extmod.mk: Separate out extmod file list from py.mk to extmod.mk. 2022-06-21 00:14:34 +10:00
zephyr zephyr: Upgrade to Zephyr v3.1.0. 2022-06-17 16:51:34 +10:00