Version 1.19.18
MicroPython Magic Memory
Okay so 1.19.17 was a bit of a memory corruption disaster. It turned out that - despite our best efforts - our C++ code was still assuming it had heap RAM it could use at its leisure. This was... sort-of... the case, except MicroPython's heap overlapped this same memory with disastrous and unpredictable results.
This is a re-issue of sorts, fixing the critical flaws in 1.19.17 but not introducing much else.
This change fixes some init heap usage in LTR559, LTP-305 (Dot Matrix display breakout) - removing almost 10k of memory usage - and PicoGraphics and introduces a new module cppmem
which quietly redirects C++ heap allocations over to the MicroPython heap.
🦡 Badger 2040 and Badger 2040 W builds now live here: https://github.com/pimoroni/badger2040/releases/latest
What's Changed
- Inky Frame: add new examples and update sample images by @helgibbons in #713
- Scroll Pack: Fix demo.py by @helgibbons in #723
- Docs: Fix link by @helgibbons in #727
- Add reference to 7.3 inkyframe by @tjp in #729
- MicroPython: Magic C++ Memory Management. by @Gadgetoid in #725
- Badger 2040: Add deprecation warnings and firmware links. by @Gadgetoid in #722
- Move boot.py to modules_py.cmake by @Gadgetoid in #730
- MicroPython: Various networking fixes to code & examples. by @Gadgetoid in #731
- CI: Bump MicroPython to 38e7b84. by @Gadgetoid in #732
- Refactor out remaining C++ heap usage during init. by @Gadgetoid in #733
Full Changelog: v1.19.17...v1.19.18
MicroPython Changes: micropython/micropython@05bb260...38e7b84