This has been happening for a very long time when building nRF connect SDK applications on a windows 10 machine via the command line with cmake and ninja. In an application whereby it only runs on one core e.g. application core, if a program is built, flashed, modified, built again (without removing build directory) and flashing again then the image flashed is correct, however if the same procedure is followed on a multi-image build e.g. on an nRF5340 bluetooth application where there is an application image and network core image, on the second flash it flashes the old application, not the version it just built (the network core configuration hasn't been modified in these instances, it's only ever the application image). This can also be confirmed by doing a verify check on the output zephyr.hex file in the build folder whereby verification fails. It seems all .hex files must be manually deleted before each ninja flash operation