I am working on a project where I have assigned to just compile the program which has multiple .h and .cpp files. I read that PlatformIO is one of the best IDE for building app for ESP32.
The main.cpp file in my project is a .ino file. I tired different method to compile the files and build app.
include
- .h files
src
- all .cpp files
- Should I rename the .ino file to .cpp file?
- I just need a small guidance where to begin and I can work from there to try to compile and build the application
PS - I was able to compile the files in Arduino IDE and flash it to the chip