PlatformIO Community

PlatformIO does not show boards when making a new project in clion

Hey guys,

I already used platformIO with Visual Studio Code and now tried to integrate it into Clion. But when I want to open some new project, I can not chose any board (first picture)
The windows changes a little bit, when I name the project, but I still can not create a project (second picture):

Thank you!

It says “PlatformIO utility not found”. When you open a shell (cmd.exe) the pio command is not available right?

Yes, so I did not install platformIO correctly?

Since you’ve installed PIO with VSCode the PIO core probably isn’t added to the PATH automatically, allowing the program to be found. Can you open VSCode then a PIO shell and get the output of

where pio

?

When I start visual studio code and type “where pio” in the powershell terminal, nothing happens.

If I type it into the cmd, the following happens:

2020-03-29 16_19_50-Window

Oh so PIO does seem available under the path C:\Users\and\.platformio\penv\Scripts\pio.exe?

What happens if you just run pio --version?

It shows the version (4.3.1)

I now also tried it in the Clion terminal, here it only shows:
“INFORMATION: Es konnten keine Dateien mit dem angegebenen Muster gefunden werden.”
which roughly means: “Info: Could not be found”

oh wow, now it works.

So, my error was, that I made some typing error for the system path yesterday and now I just booted my computer again and Clion got it now…

But thanks a lot!

1 Like

I have this exact issue, but on my Linux machine. I already had CLion (latest 2020 version) installed and I installed the PlatformIO plugin. Then I got to this error, after some searching I noticed the platformIO core needed to be installed still, did that and added the installation dir to the system path. I can run pio just fine from the terminal. CLion however still can’t find it, is it not simply looking for the pio binary?

Thank you in advance, Vincent