PlatformIO support for ESP32-IDF - Requires some improvement

Brian Griffin
Posts: 2
Joined: Wed Jan 24, 2018 2:18 pm

PlatformIO support for ESP32-IDF - Requires some improvement

Postby Brian Griffin » Wed Jan 24, 2018 2:38 pm

Hello guys,

I have just tried Visual Code Studio + PlatformIO with the ESP32-IDF and found out that I could not compile the sample code due to the absence of:

1.) msys32 (it is not included inside the PlatformIO, had to manually download it myself)
2.) The components.mk file. (had to manually add it into the /main folder)
3.) The related automation scripts for "make all", "make menuconfig" and such.
4.) The PlatformIO does not generate the /main folder inside - instead it is the /src, and that is also why it wouldn't compile because 'app_main' isn't found.

I have used this guide from a Japanese blog: http://fanoutsendai-yagiyama.blogspot.m ... -grep.html (use a Google translate) and I managed to get it to compile.

Any way to inform the PlatformIO to fine tune these intergration? I feel that it is almost there, but that small problem could put off engineers and coders to work on the ESP32. A plug and play approach is more beneficial to us and it allows us to focus on the programming problem instead of just messing with the settings.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: PlatformIO support for ESP32-IDF - Requires some improvement

Postby ESP_Angus » Wed Jan 24, 2018 11:34 pm

Hi Brian,

Platform.io has their own community site here: https://community.platformio.org/ - This is probably the best place to start discussions about their environment.

Did you also look at their own official docs? These are located at http://platformio.org/get-started

Windows environment setup on ESP-IDF is fairly involved right now, for regular ESP-IDF as well. We're working on simplifying this in the future.

ebertbrea
Posts: 2
Joined: Tue Jan 23, 2018 8:29 pm

Re: PlatformIO support for ESP32-IDF - Requires some improvement

Postby ebertbrea » Sat Jan 27, 2018 7:30 pm

Hi everybody,

Let me share with all of you an IDE for ESP32 & ESP8266, which is very easy to code your ESP under uPy.

You can download uPyCraft IDE at
https://github.com/DFRobot/uPyCraft

Ebert

Tranzmetro
Posts: 9
Joined: Fri Jan 05, 2018 1:38 am

Re: PlatformIO support for ESP32-IDF - Requires some improvement

Postby Tranzmetro » Sun Jan 28, 2018 4:01 am

I've been running Platformio with Visual Studio Code for some time. The Platformio documentation was accurate and complete, and I've never had a problem with compiling or uploading. But you do need to follow the instructions, particularly about NOT installing Arduino Core, and selecting Platformio IDE in VSCode not just Platformio. I hope your experience improves. Cheers.

Who is online

Users browsing this forum: No registered users and 100 guests