# micropython v1.22.2 — Patch release for rp2 DMA, UART and BLE, esp32 BLE, renesas-ra I2C - Product: micropython (https://whatsnew.fyi/product/micropython) - Vendor: micropython - Date: 2024-02-20 - Version: v1.22.2 - Original notes: https://github.com/micropython/micropython/releases/tag/v1.22.2 - Permalink: https://whatsnew.fyi/product/micropython/releases/v1.22.2 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **fixed** — fix potential Py-stack overflow in try-finally with return - **changed** — support gather of tasks that finish early in asyncio - **fixed** — fix cipher iteration in SSLContext.get_ciphers - **fixed** — reset pending_value_handle before calling write-done callback in btstack - **fixed** — reset pending_value_handle before calling read-done callback in btstack - **changed** — release the GIL while doing NimBLE port deinit on esp32 - **changed** — increase NimBLE task stack size and overflow detection headroom on esp32 - **fixed** — fix deepsleep wakeup pin ifdef in mimxrt modmachine - **fixed** — fix SysTick clock source on renesas-ra - **fixed** — fix the RTC clock source on renesas-ra ARDUINO_PORTENTA_C33 - **fixed** — fix 1 byte and 2 bytes read issue in renesas-ra ra_i2c - **fixed** — fix fetching 'write' buffers for writing not reading in rp2_dma - **fixed** — fix event wait in uart.flush() and uart.read() on rp2 machine_uart - **changed** — change machine.I2S and rp2.DMA to use shared DMA IRQ handlers This is a patch release containing the following commits: - py/compile: fix potential Py-stack overflow in try-finally with return - extmod/asyncio: support gather of tasks that finish early - extmod/modssl_mbedtls: fix cipher iteration in SSLContext.get_ciphers - extmod/btstack: reset pending_value_handle before calling write-done cb - extmod/btstack: reset pending_value_handle before calling read-done cb - esp32/mpnimbleport: release the GIL while doing NimBLE port deinit - esp32: increase NimBLE task stack size and overflow detection headroom - mimxrt/modmachine: fix deepsleep wakeup pin ifdef - renesas-ra/ra: fix SysTick clock source - renesas-ra/boards/ARDUINO_PORTENTA_C33: fix the RTC clock source - renesas-ra/ra/ra_i2c: fix 1 byte and 2 bytes read issue - rp2/rp2_dma: fix fetching 'write' buffers for writing not reading - rp2/machine_uart: fix event wait in uart.flush() and uart.read() - rp2: change machine.I2S and rp2.DMA to use shared DMA IRQ handlers