Closed realZnS closed 2 months ago
And there is a wired situation: even with the errors above, I can still successfully build and upload my codes to pico, but not fully functional. For example, I copied this code to main.cpp, and no usb hid gamepad showed up in device manager at all. I tried the same code in Arduino IDE with this core, and it is fully functional as expected.
It appears you did not successfully enable longpaths in windows, as described in the instructions you followed for arduino-pico
Depending what version of windows you are using, you might need to find another way to enable longpaths in windows, gpedit.msc is not typically available on windows home.
I was able to use these instructions to get it done on windows 11
I'm gonna attribute this to not enabling long paths. We do document that on https://arduino-pico.readthedocs.io/en/latest/platformio.html#important-steps-for-windows-users-before-installing, but not here. Will add a note in the readme.
Done in https://github.com/maxgerhardt/platform-raspberrypi/commit/503933d536b4345e964b2dc5f04761e61edc9ed6.
I've followed the instructions on https://arduino-pico.readthedocs.io/en/latest/platformio.html trying to install this core on windows.
platformio.ini
I tried
pio pkg install -p https://github.com/maxgerhardt/platform-raspberrypi.git
, and the error logs are below.