Micropython rp2 fails to build on windows systems.
When attempting to build micropython for rp2040 in a windows environment, the make/cmake environment generates a command line that exceeds the windows10/cmd.exe line length limit of 8191 characters.
This is because the RP2 SDK requires about 3k worth of C include paths, and the list of files compiled that is generated on a single command line is about 6k (depending on exact path names.)
Extensive discussion and whining here: https://www.raspberrypi.org/forums/viewtopic.php?f=144&t=306333
I'll add that compiling all the C files for micropython with a single command line seems ... dangerously likely not to scale well on other build platforms as well.
Extending MicroPython in C
Hello
I try to build the native example from this link: https://docs.micropython.org/en/latest/develop/natmod.html#minimal-example
but I get this error
$ make ARCH=xtensa
process_begin: CreateProcess(NULL, /bin/mkdir -p build, ...) failed.
make (e=2): El sistema no puede encontrar el archivo especificado.
make: *** [build] Error 2
I change MPY_DIR to the direction of micropython folder.
os: windows 10
python: 3.11.1
GNU Make 3.81
I think the path /bin/mkdir is for linux not for windows.
any help please