QUERY · ISSUE
how can i load a bytearray which contains a mpy file,and run it in main.c ( ports/esp32)
enhancementneeds-info
Description
I want to load a compiled .mpy file stored in a uint8_t array (named data with length _size) in main.c and run it. I've tried many methods but failed. I hope the maintainers can add a function load_from_mem_run(uint8_t data, size_t l_size) to pexec.h to enable a new way of running MicroPython. I am currently using version 1.25.0-preview." , thanks all
Code Size
No response
Implementation
I hope the MicroPython maintainers or community will implement this feature
Code of Conduct
Yes, I agree
CANDIDATE · PULL REQUEST
webassembly/mpconfigport: Enable importing of .mpy files.
port-webassembly
(no description)