This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

VSCode Pristine Build puts Zephyr .config back to default

Hi All,

Likely because I am still quite new to this, but I have started with MQTT simple example and whenever I do use GuiConfig to make mods, it saves them to

proj/build/zephyr/.config

and moves the old one to 

proj/build/zephyr/.config.old

However, because these are in the output folder, if I were to do a pristine build for whatever reason, this gets deleted and I either need to overwrite it with a backup copy or make the changes once more. Is there a more streamline process to this? Perhaps I skipped over some documentation somewhere?

Following the above, if I were to commit code, since the selected board is selected and also in the build folder, what should I be adding to repo for BSP? or generally, does everyone just do a file ignore for *.d, *.a, *.cmake etc and keep the empty output folders?

Kind regards,

Ryan.