Hello,
I've been investigating improving pristine build times in VSCode for my nRF5340, and I saw some Kconfig options for "build strategies" for B0 and mcuboot to "use hex file instead of building". I'm referring to B0_BUILD_STRATEGY_USE_HEX_FILE and MCUBOOT_BUILD_STRATEGY_USE_HEX_FILE.
Do these options imply that we can build our NSIB and MCUboot images one time and use their hex files for the next pristine builds, or am I mistaken in my understanding of these options? I would like to find a method to only pristine build the images that change to speed up the time it takes.
Also, is it possible to not have VSCode pristine build my project when I restart VSCode? As it stands, my pristine build takes about 3 minutes and 30 seconds, but for my nRF52840 that I used before switching to the nRF5340, a clean build took a matter of a few seconds. Why is this, and what changed?
Also, are there any other major tips for improving build times? I'm on Windows. I heard WSL was a good option, so I'll be researching that extension for VSCode next.
Thanks for your help in advance!