According to platform.io usering espidf framework , fatal error: sdkconfig.h not found · Issue #16 · platformio/platform-espressif32 · GitHub sdkconfig.h is not “Automatically generated”, but rather manually copied from some other existing project like https://github.com/platformio/platform-espressif32/blob/develop/examples/espidf-hello-world/src/sdkconfig.h