Getting .mpy modules to stay in flash, mostly.

I'm aware the main approach is to freeze modules into the firmware of a board, but I like to keep things modular and multi purpose when I can... and avoid compiling stuff :P. I see back in 2022 there was some effort to change the way .mpy files work so that even after importing modules that are in .mpy format, most of it resides in flash instead of RAM. Is this still in development or is there a way to do this now? https://git.kfayun.com/xpstem/micropython/-/commit/f2040bfc7ee033e48acef9f289790f3b4e6b74e5

Posted Aug 1, 2024, 6:33 PM UTC

20
Loading comments…