08/19/19 - Official ESP-IDF Mesh example into PlatformIO

A project log for My attempt at an ESP-NOW Mesh

Designing a custom mesh for sensors, home automation and remote controlling using Espressif's ESP-NOW

david-mDavid M. 08/19/2019 at 23:202 Comments

I tried uploading the ESP-MESH Internal Communication Example through PlatformIO but I couldn't compile it due to several undefined variable errors. 

Fig. 28 - I switched the framework from Arduino to espidf in platform.ini but I received errors when compiling.

After a few tries I realized that a few variables weren't assigned because they are supposed to be defined in the project configuration menu when using the official ESP-IDF toolkit. I followed the getting started guide and tried uploading it the old-fashioned way.

Fig. 29 - Project configuration menu

However, I would like to continue using PlatformIO due to its "Peek Definition" feature, so I instead define all of these variables at the top of the file:

Fig. 30 - Manual defining of the config variables without configuration menu.


joshua.vader wrote 02/27/2020 at 17:29 point

So after defining all of those IDF variables, you were able compile in PIO?

  Are you sure? yes | no

David M. wrote 02/28/2020 at 19:04 point


  Are you sure? yes | no