sdkconfig - check if file has changed

Die_32_
Posts: 58
Joined: Wed May 05, 2021 2:42 pm

sdkconfig - check if file has changed

Postby Die_32_ » Mon Oct 25, 2021 8:54 am

hi all,

during dev, I accidentally deleted the sdkconfig file.

I then rebuild the project and flash the bin to the esp32 and it crashed of course due to misconfiguration.

I saw that after deleting the file, the esp-idf recreated an sdkconfig ( with default values )

Is there any setting or rules from where I can control if this file has changed ?

Hope my question is clear enough

Victoria Nope
Posts: 75
Joined: Fri Dec 04, 2020 9:56 pm

Re: sdkconfig - check if file has changed

Postby Victoria Nope » Mon Oct 25, 2021 11:41 am

Like for almost any kind of creative work on computer, it is a must have using version control system. Having such, you can get control over changes made in any file.

If there's an option to stop IDF to recreate (or modify) this config file (except protecting it in file system) I don't know, but to me it's not the thing to focus on. To me personally is a must to know which files, including the source files, have been modified before building the project.

Who is online

Users browsing this forum: Baidu [Spider] and 191 guests