micropython/ports
Angus Gratton bcbdee2357 rp2: Change to use TinyUSB dcd_event_handler hook.
This change:
- Has a small code size reduction.
- Should slightly improve overall performance.  The old hook code
  seemed to use between 0.1% and 1.6% of the total CPU time doing no-op
  calls even when no USB work was required.
- USB performance is mostly the same, there is a small increase in
  latency for some workloads that seems to because sometimes the hook
  usbd_task() is called at the right time to line up with the next USB host
  request.  This only happened semi-randomly due to the timing of the hook.
  Improving the wakeup latency by switching rp2 to tickless WFE allows the
  usbd_task() to run in time for the next USB host request almost always,
  improving performance and more than offsetting this impact.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2023-11-09 12:28:28 +11:00
..
bare-arm shared/libc/string0: Don't deref args for n==0 case. 2023-11-07 16:01:50 +11:00
cc3200 {cc3200,nrf}/boards/make-pins.py: Add a note about tools/boardgen.py. 2023-11-03 14:18:54 +11:00
embed all: Rename *umodule*.c to remove the "u" prefix. 2023-06-08 17:54:17 +10:00
esp32 extmod/machine_adc_block: Factor esp32 ADCBlock bindings to common code. 2023-11-07 16:44:35 +11:00
esp8266 ports: Remove SRC_QSTR_AUTO_DEPS from all ports' Makefiles. 2023-11-03 14:04:17 +11:00
mimxrt mimxrt/modmachine: Fix settings for the MIMXRT1170 board. 2023-11-05 08:30:18 +11:00
minimal py/builtinevex: Handle invalid filenames for execfile. 2023-10-12 15:17:59 +11:00
nrf {cc3200,nrf}/boards/make-pins.py: Add a note about tools/boardgen.py. 2023-11-03 14:18:54 +11:00
pic16bit ports: Remove SRC_QSTR_AUTO_DEPS from all ports' Makefiles. 2023-11-03 14:04:17 +11:00
powerpc py/builtinevex: Handle invalid filenames for execfile. 2023-10-12 15:17:59 +11:00
qemu-arm tools/tinytest-codegen.py: Externalise tests list. 2023-11-07 15:53:27 +11:00
renesas-ra extmod/machine_adc_block: Factor esp32 ADCBlock bindings to common code. 2023-11-07 16:44:35 +11:00
rp2 rp2: Change to use TinyUSB dcd_event_handler hook. 2023-11-09 12:28:28 +11:00
samd samd/pin_af: Fix a typo in a conditional compile. 2023-11-06 11:11:18 +11:00
stm32 stm32/boards/make-pins.py: Only support ADC1-3. 2023-11-05 08:33:49 +11:00
unix py/misc: Change sizeof to offsetof for variable-length alloc. 2023-11-03 16:03:18 +11:00
webassembly py/builtinevex: Handle invalid filenames for execfile. 2023-10-12 15:17:59 +11:00
windows windows: Use the MicroPython logo as application icon. 2023-11-07 17:22:52 +11:00
zephyr extmod/modmachine: Consolidate mem, i2c and spi headers to modmachine.h. 2023-10-26 17:40:22 +11:00