Hi All,
Anyone using PlatformIO? I welcome opinions, experience, Pros and cons for this platform.
Thanks
[BEN]
Using PlatformIO?
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Using PlatformIO?
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
Re: Using PlatformIO?
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
I mean Visual Studio Code + CMake build environment for ESP32 freeRTOS
Re: Using PlatformIO?
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.
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?
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
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?
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?
It means you're able to use PlatformIO for either Arduino projects or ESP-IDF projects side-by-side in one single installation.Deouss wrote:What do you mean both ?
P.S.: I will have a look at your guide, it could happen that I find your way better than PIO, who knows!
Who is online
Users browsing this forum: No registered users and 78 guests