Native machine code in Pico .mpy files
Posted: Sat Apr 24, 2021 2:42 pm
"micropython/py/dynruntime.mk" does not know about "Pico" (cortex-m0plus) archtecture. I did hijack "armv7m" for the Pico and added support for Pico with 1line change commit on my micropython fork, that provides "string" example module with multiple member functions and multiple (int+str) arguments, for details:
https://www.raspberrypi.org/forums/view ... 6#p1856106
"peek" screenrecorder animation demonstrates building "string.c" and using module's "len()" and "substr()" member functions:
https://www.raspberrypi.org/forums/view ... 6#p1856106
"peek" screenrecorder animation demonstrates building "string.c" and using module's "len()" and "substr()" member functions: