Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdkconfig.defaults vs other defaults files (IDFGH-14273) #15066

Closed
3 tasks done
pavel808 opened this issue Dec 20, 2024 · 2 comments
Closed
3 tasks done

sdkconfig.defaults vs other defaults files (IDFGH-14273) #15066

pavel808 opened this issue Dec 20, 2024 · 2 comments
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@pavel808
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Perhaps a trivial question this, but I don't understand it fully.

I am building my application using idf.py for an esp32-c6 device.

When I do idf.py set-target esp32c6 , this will load the configurations from my sdkconfig.defaults.esp32c6 file right?

Then to build the application : idf.py build.

Does the normal sdkconfig.defaults file get taken into consideration here also?

@espressif-bot espressif-bot added the Status: Opened Issue is new label Dec 20, 2024
@github-actions github-actions bot changed the title sdkconfig.defaults vs other defaults files sdkconfig.defaults vs other defaults files (IDFGH-14273) Dec 20, 2024
@igrr
Copy link
Member

igrr commented Dec 20, 2024

Yes, both files are considered: first the options from sdkconfig.defaults are applied, then the options from sdkconfig.defaults.TARGET.

Please see this documentation section for more details: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html#target-dependent-sdkconfig-defaults

@pavel808
Copy link
Author

@igrr Thanks

@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: Opened Issue is new labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

3 participants