Yes, that’s true. However, in the absence of the file, it just pulls out the default from the bowels of esp-idf (which was no good to me) – thus the hack in CMakeLists.txt (which took me entirely too long to google/figure out).
I (thought that I) needed to provide a pattern where new dev could just create a new env entry in platformio.ini for themselves that inherits from a main config. The new twist is that now I have two different main configs that I want to inherit from.
Of course, I could just tell folks to manually copy the correct sdkconfig.defaults for their case but that seems clunky and it feels like this is a good time to sanity check my methods.
The current platform code should definitely support it that config files (when they’re regenerated because they are deleted) are pulled from the sdkconfig.defaults of the project, not ESP-IDF, if present.