PlatformIO & MacOS  

  RSS

Pugwash
(@pugwash)
Estimable Member
Joined: 2 months ago
Posts: 199
12/08/2019 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 - Let there be light(God) - Let there be more light(Pink Floyd)


Quote
Topic Tags
triform
(@triform)
Estimable Member
Joined: 1 month ago
Posts: 141
12/08/2019 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: 1 month ago
Posts: 141
12/08/2019 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
  
Working

Please Login or Register