circuitpython/ports
Damien George 7d66ae603d esp32/machine_timer: Switch from legacy driver to timer HAL.
The legacy driver was deprecated in IDF v5, and crashes when the ISR
handler is called.  Instead of fixing the legacy code, this commit reworks
the machine.Timer class to use the low-level HAL driver.

Tested on ESP32, ESP32S2, ESP32S3 and ESP32C3.  Behaviour is the same as it
was before this commit, except the way the Timer object is printed, it now
gives more useful information (timer id, mode, period in ms).

Fixes issue #11970.

Signed-off-by: Damien George <damien@micropython.org>
2023-07-14 10:02:42 +10:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 all: Use MP_REGISTER_EXTENSIBLE_MODULE for overrideable built-ins. 2023-06-08 17:54:21 +10:00
embed all: Rename *umodule*.c to remove the "u" prefix. 2023-06-08 17:54:17 +10:00
esp32 esp32/machine_timer: Switch from legacy driver to timer HAL. 2023-07-14 10:02:42 +10:00
esp8266 extmod/asyncio: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
mimxrt ports: In machine_i2s.c, rename uasyncio to asyncio. 2023-06-19 18:36:54 +10:00
minimal all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
nrf extmod/asyncio: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
pic16bit ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
powerpc all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
qemu-arm py/mkrules.mk: Automatically configure frozen options when manifest set. 2023-06-08 23:12:56 +10:00
renesas-ra renesas-ra,stm32: Remove duplicate machine module from constants list. 2023-07-13 13:18:09 +10:00
rp2 ports: In machine_i2s.c, rename uasyncio to asyncio. 2023-06-19 18:36:54 +10:00
samd samd/mpconfigport: Provide the platform module. 2023-06-27 14:58:44 +10:00
stm32 renesas-ra,stm32: Remove duplicate machine module from constants list. 2023-07-13 13:18:09 +10:00
teensy ports: Standardise docs link in help text. 2023-06-02 11:48:46 +10:00
unix extmod/asyncio: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
webassembly webassembly: Replace typeof window check with ENVIRONMENT_IS_NODE flag. 2023-07-13 13:24:35 +10:00
windows extmod/asyncio: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
zephyr py/mkrules.mk: Automatically configure frozen options when manifest set. 2023-06-08 23:12:56 +10:00