Replies: 1 comment
|
Maybe this part of the documentation might help. As far as I'm concerned you just need to change these two lines
to: I think you need to change the link because the board definitions, which are needed for platformio |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am a bit confused. I am using the Arduino-Pico framework and started playing with the Pico 2 and Pico 2 W. I use VScode and in the PlatformIO Home

under Platforms it says the board id is rpipico2,
but if I use what it tells me instead of pico for the board in platformio.ini, I get
I suspect this is because I don't fully understand the difference between the board and the platform, and don't trust the AI enough to believe it. I am adding multiple configurations to my platformio.ini for several different boards and then building the code to make sure it will work for each of them. I discovered that the Pico and Pico 2 had the same env in my platformio.ini, so I am suspicious that my code may work for the Pico, but not the Pico 2. Is this the correct env for the Pico 2?
Here is my platformio.ini for the Pico 2.
Thanks for the help!!
Rob
All reactions