Code: Select all
- myProject/
- build/
...
- CMakeLists.txt
- sdkconfig
- components/ - component1/ - CMakeLists.txt
- Kconfig
- src1.c
- component2/ - CMakeLists.txt
- Kconfig
- src1.c
- include/ - component2.h
- main/ - CMakeLists.txt
- src1.c
- src2.c
- .vscode/ - launch.json
- settings.json
- c_cpp_properties.json
This is the typical structure of your project source code. I think everything in the build and .vscode directory should be avoided and the rest should be shared. The vscode folder may have required settings such as idf.espIdfPath but doesn't make sense to share since they match your local setup IDF_PATH and would not work on others setup. Just make sure the other user has configured the extension like you have (same esp-idf version python and IDF tools for example).