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.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
So after defining all of those IDF variables, you were able compile in PIO?
Are you sure? yes | no
Yep
Are you sure? yes | no