Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

MicroPython • MicroPython 1.26 released

$
0
0
https://github.com/micropython/micropython/releases/tag/v1.26.0

Full list of added features and changes at that link but the highlights seem to me to be -
  • This release of MicroPython sees the introduction of machine.I2CTarget, which allows Python code to implement an I2C target device.

    In the simplest case it can create an I2C register/memory device that connects to a bytearray (or similar buffer) and allows an I2C controller to read from and write into that bytearray. For more complex scenarios the I2CTarget class exposes a set of interrupts which can be acted upon by Python code, allowing an arbitrary I2C device to be created.
  • The rp2 port now enables compressed error messages by default, which reduces firmware size by about 3000 bytes.
  • The pico-sdk alarm pool is now used (again, instead of custom soft-time code) for power-saving delays, and lightsleep has been improved.
  • The lwIP socket layer now has a queue of incoming UDP and raw packets (previously it only had room for one outstanding packet), allowing for more robust and efficient UDP protocols.
  • Open drain mode has been fixed on RP2350 with more than 32 GPIOs, and support for hard IRQ timer callbacks has been added.
  • Floating point support has been improved in a few ways
  • Mpremote has had a few improvements.
Note that MicroPython includes its own copy of Pico SDK as a library which is still version 2.1.1 - That will probably be updated to use 2.2.0 in due course.


Downloads of latest 1.26 firmware UF2 are available from -

Statistics: Posted by hippy — Sun Aug 10, 2025 6:23 pm



Viewing all articles
Browse latest Browse all 8082

Trending Articles