mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
When CONFIG_MCUBOOT_SIGNATURE_KEY_FILE is set and the build system successfully creates signed outputs, use them as the default artifacts to flash. This flashes the non-confirmed variant regardless of CONFIG_MCUBOOT_GENERATE_CONFIRMED_IMAGE, allowing POST code in the application to confirm the image or not. Since this is used primarily from development, I'd hesitate to assume the confirmed image is good. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>