ESP-IDF uses CMake for it's build system. At the minimum we need a root
CMakeLists.txt and an optional
sdkconfig.defaults. We also need a
main folder with it's own
CMakeLists.txt and a
main.c source file.
CMakeLists.txt with the following contents, replace the projectname with something.
sdkconfig.defaults and fill it with the defaults for your esp32 platform. The ones given here are for an odroid go. You can leave this file out if you do not want to specify any custom options at this time.
main folder create the following files
These are the files required for a minimal project. You can then use
idf.py build to build the project, refer to the esp-idf documentation to get started setting up the esp-idf environment.