Martin CR
Martin CR

Reputation: 1420

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?

Upvotes: 4

Views: 2718

Answers (2)

Zim Kalinowski
Zim Kalinowski

Reputation: 31

The documentation (https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html?highlight=default%20component) has been updated, and now it mentions sdkconfig.ci file.

"Some of the IDF examples include a sdkconfig.ci file. This is part of the continuous integration (CI) test framework and is ignored by the normal build process."

Upvotes: 2

Rahul
Rahul

Reputation: 181

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.

Upvotes: 5

Related Questions