So… whenever I try installing it always stalls on these lines:
ubmodule path ‘pico-sdk/lib/tinyusb/tools/uf2/hidapi’: checked out ‘a6a622ffb680c55da0de787ff93b80280498330f’
Submodule path ‘tools/libbearssl/bearssl’: checked out ‘f294aa022f82833941ffdf3b0f306c2072e3a26c’
Submodule path ‘tools/pyserial’: checked out ‘0e7634747568547b8a7f9fd0c48ed74f16af4b23’
Then on that third thing… it just stalls and then the installation fails and I don’t even get an error code!
I uninstalled VScode multiple times and reinstalled platformIO multiple times only for the same exact point of failure.
This is confusing.
Does it “stall” while installing or while building / compiling a project?
Can you post the complete error message? I’m missing some context.
Please also show a screenshot to get the context more clear.
Thanks for the response. So yeah, the installation “stalls” when trying to INSTALL PLATFORMIO. We’re not even on the building yet.
Here’s the part where the installation stalls:
Like the installation just pauses on that for like 15 minutes then eventually gives out and doesn’t install the rest.
And then at the end I don’t even get a specified error message.
I’ve tried restarting PC, reinstalling VC and platformio, trying to install the file it gets hung up on through powershell… I’m so lost
No, this is not while installing PlatformIO - This is while configuring a (pico-sdk based) project.
Please show more details of the project you’re trying to setup (platformio.ini).
Sorry for responding late, I’m used to getting pinged when someone responds to me lol.
And about the details… I’m not sure what else to show?
Here’s the entirety of platformio.ini. I’ll also attach in image form over various messages (new user can’t put all the images in one.)
Woo this looks like a quite complex project!
How long did you wait? PlatformIO need to install the framework,tools and libraries used by the project. This takes some time (and gigabtyes of downloads)…
I waited a while… and by “I waited” I mean the program kept trying to install that file for a while before giving up.
While I was responding to you… the file did end up installing but something is clearly amiss about all of this in general because when I go to build there’s errors.
It’s funny because I got to be able to build and use this program normally earlier… then suddenly things stopped working and I’ve been having a HELL reinstalling ever since.
Then something must have been changed.
Please paste your errors here (using preformatted text instead of screenshots)
If you use my platform-raspberry pi fork with Arduino-Pico, you must follow the documentation on preconditions so that it installs correctly
https://arduino-pico.readthedocs.io/en/latest/platformio.html#important-steps-for-windows-users-before-installing
Also I would suggest to use a much, much simpler platformio.ini
that would just be the blinky example code. Don’t start with a project that heas a fricking 130 lines of platformio.ini code in it. Keep it simple for verifying your bases.
[env:pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
; Raspberry Pi Pico (RP2040)
board = rpipico
framework = arduino
board_build.filesystem_size = 0.5m
1 Like