Using c++ for ESP32 develpment with ESP-IDF, PlatformIO
Posted: Thu Oct 12, 2017 3:46 pm
Been searching this topic for awhile without luck so if there are already answers somewhere, I'd be happy to follow someone's link.
Just started with ESP32 dev. Have esp8266 code (arduino framework) developed using VS Code with PlatformIO extension that I am trying to migrate to ESP32. I have selected to use the ESP-IDF framework (rather than arduino) because it seems like I will have access to more functionality in a faster timeframe. I started working c++ code but had issues with including standard c++ libraries (PlatformIO seems to overwrite c_cpp_properties.json every time VS Code is started). I found a couple of snippets that said this is intended function and that the json should not be modifiable. So, because of this and a bunch of googling, I am beginning to wonder if this combination will work.
Could someone please provide some feedback on this subject? Can I use c++ with ESP-IDF? Is so, do I need a different environment than what I have described? Or can someone give me pointers on how to set up so I can move forward?
Just started with ESP32 dev. Have esp8266 code (arduino framework) developed using VS Code with PlatformIO extension that I am trying to migrate to ESP32. I have selected to use the ESP-IDF framework (rather than arduino) because it seems like I will have access to more functionality in a faster timeframe. I started working c++ code but had issues with including standard c++ libraries (PlatformIO seems to overwrite c_cpp_properties.json every time VS Code is started). I found a couple of snippets that said this is intended function and that the json should not be modifiable. So, because of this and a bunch of googling, I am beginning to wonder if this combination will work.
Could someone please provide some feedback on this subject? Can I use c++ with ESP-IDF? Is so, do I need a different environment than what I have described? Or can someone give me pointers on how to set up so I can move forward?