"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:
Native machine code in Pico .mpy files
Native machine code in Pico .mpy files
Pico-W Access Point static file webserver:
https://github.com/Hermann-SW/pico-w
Tiny MicroPython robots (the PCB IS the robot platform)
viewtopic.php?f=5&t=11454
webrepl_client.py
https://github.com/Hermann-SW/webrepl#webrepl-shell
https://github.com/Hermann-SW/pico-w
Tiny MicroPython robots (the PCB IS the robot platform)
viewtopic.php?f=5&t=11454
webrepl_client.py
https://github.com/Hermann-SW/webrepl#webrepl-shell