PlatformIO & MacOS  

  RSS

Pugwash
(@pugwash)
Honorable Member
Joined: 6 months ago
Posts: 569
2019-08-12 12:40 pm  

On installing PlatformIO in VSCode on a Mac, all appeared to go well until I tried to compile a sketch, then the following warning showed up on the Terminal.

The terminal shell path "platformio" does not exist.

I found other cases when I googled the error, some suggesting installing a previous version of VSCode and others advising to delete core installations etc..

I got VSCode up and running by just renaming the .platformio folder in the HOME directory and restarting VSCode, forcing VSCode to make a new installation of PlatformIO.

Yes, I do like it, especially the code completion function which makes coding sketches much quicker. I suppose only one thing becomes time-consuming and that is having to have separate programs for different boards.

But we will get used to it!

SteveC - Oh Lord, please don't let me be misunderstood! (Eric Burdon and the Animals)


Quote
Topic Tags
triform
(@triform)
Estimable Member
Joined: 5 months ago
Posts: 194
2019-08-12 2:11 pm  

@pugwash You can add multiple boards to a project by adding them to your platformio.ini file for the project. I used to do it for uno and pro mini boards in testing. If I remember, don't set a default in the .ini and it will build all the boards/targets or if you just one built, put a default in. Not sure if there is an automated way to do this.  

Scott

 


ReplyQuote
triform
(@triform)
Estimable Member
Joined: 5 months ago
Posts: 194
2019-08-12 2:16 pm  

In looking, there is this thread on doing it. Seems to match mostly with what I have done.

https://community.platformio.org/t/changing-destination-boards/4751

 


ReplyQuote

Please Login or Register