Page 1 of 1

Using PlatformIO?

Posted: Wed Aug 01, 2018 12:02 pm
by Vader_Mester
Hi All,

Anyone using PlatformIO? I welcome opinions, experience, Pros and cons for this platform.

Thanks
[BEN]

Re: Using PlatformIO?

Posted: Wed Aug 01, 2018 12:04 pm
by Deouss
I tried and hated it. When I switched to CMake it is so much better and so simple you cannot compare the convenience and speed
I mean Visual Studio Code + CMake build environment for ESP32 freeRTOS

Re: Using PlatformIO?

Posted: Wed Aug 01, 2018 1:00 pm
by mikemoy
I have been using platform IO for several months now. I am still on the fence with using it as compared to VSC & CMake.
I have not had any issues with it at all, and I like the ability to create a new project using either the Arduino framework or IDF.
I'll keep using both for now. The only downside I have seen with Platform IO is that (last I checked) when using Arduino you have no way to setup menuconfig.

Re: Using PlatformIO?

Posted: Wed Aug 01, 2018 1:17 pm
by Deouss
Last time I checked PlatformIO does not work with FreeRTOS.
Did you manage to run and compile IDF projects in full RTOS environment or just Arduino?
I had quite some issues with Arduino as well

Re: Using PlatformIO?

Posted: Wed Aug 01, 2018 2:29 pm
by aboaboit
Vader_Mester wrote: Anyone using PlatformIO? I welcome opinions, experience, Pros and cons for this platform.
It should work fine, both for Arduino and ESP-IDF

As already noted, the major downside is that, for the time being, it is not possible to customize anything below Arduino.

Re: Using PlatformIO?

Posted: Wed Aug 01, 2018 2:48 pm
by Deouss
aboaboit wrote:
It should work fine, both for Arduino and ESP-IDF

As already noted, the major downside is that, for the time being, it is not possible to customize anything below Arduino.
What do you mean both ?
Arduino uses IDF and runs on top of RTOS )
IDF is written in FreeRTOS API. Arduino is just a framework for RTOS.

Check my setup guide posted here:
https://esp32.com/viewtopic.php?f=13&t=6383

Re: Using PlatformIO?

Posted: Wed Aug 01, 2018 4:01 pm
by aboaboit
Deouss wrote:What do you mean both ?
It means you're able to use PlatformIO for either Arduino projects or ESP-IDF projects side-by-side in one single installation.
P.S.: I will have a look at your guide, it could happen that I find your way better than PIO, who knows! :)