File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
samples/nrf_compress/mcuboot_update Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) 2024 Nordic Semiconductor
3+ #
4+ # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+ #
6+
7+ config OUTPUT_BOOT_MESSAGE
8+ bool "Output message on boot"
9+ help
10+ Will output a dummy message on boot, this is to allow for generating a different image
11+ that can be used to test the compressed firmware update.
12+
13+ source "Kconfig.zephyr"
Original file line number Diff line number Diff line change @@ -82,6 +82,10 @@ static int setup_slot_hook(void)
8282 mgmt_callback_register (& image_slot_callback );
8383 k_work_init (& slot_output_work , slot_output_handler );
8484
85+ #if defined(CONFIG_OUTPUT_BOOT_MESSAGE )
86+ LOG_INF ("Dummy message indicating new firmware is running..." );
87+ #endif
88+
8589 return 0 ;
8690}
8791
You can’t perform that action at this time.
0 commit comments