Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion boot/bootutil/include/bootutil/boot_request.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ bool boot_request_detect_firmware_loader(void);
int boot_request_init(void);

/**
* @brief Clear/drop all requests.
* @brief Clear boot requests.
*
* @details If the CONFIG_NRF_MCUBOOT_BOOT_REQUEST_PREFERENCE_KEEP option is
* enabled, all requests, except the preferred slot requests, are cleared.
*
* @return 0 if successful, negative error code otherwise.
*/
Expand Down
6 changes: 6 additions & 0 deletions boot/bootutil/zephyr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@ zephyr_library_sources(
../src/bootutil_public.c
)
if(CONFIG_NRF_MCUBOOT_BOOT_REQUEST)
zephyr_library_sources(
src/boot_request.c
)
zephyr_library_sources_ifdef(CONFIG_NRF_MCUBOOT_BOOT_REQUEST_IMPL_RETENTION
src/boot_request_retention.c
)
zephyr_library_sources_ifdef(CONFIG_NRF_MCUBOOT_BOOT_REQUEST_IMPL_FLASH
src/boot_request_flash.c
)
endif()
zephyr_library_sources_ifdef(CONFIG_NCS_MCUBOOT_MANIFEST_UPDATES
../src/mcuboot_manifest.c
Expand Down
Loading