Search code examples
esp32esp-idf

ESP32 esp-idf what is the sdkconfig.ci file used for?


Several of the examples in the esp-idf contain a sdkconfig.ci file (e.g. examples/bluetooth/nimble/blehr).

I understand the usage of sdkconfig.defaults but I can't find any reference to sdkconfig.ci in the Espressif build system API guide.

When should the .ci file be used and under what conditions are the configurations in it applied?


Solution

  • sdkconfig.ci are configs used when building apps in their own CI system, so these by default won't do anything in your project.

    Usually, we can set config values using menuconfig, and these will be saved to sdkconfig. If there is a need to set some default values ( without using menuconfig), then this is possible by adding a sdkconfig.default file, and then add the new options there.