aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/config_default.cmake2
-rw-r--r--lib/ext/mcuboot/CMakeLists.txt4
2 files changed, 4 insertions, 2 deletions
diff --git a/config/config_default.cmake b/config/config_default.cmake
index a5ca8cc515..f25d35c898 100644
--- a/config/config_default.cmake
+++ b/config/config_default.cmake
@@ -125,7 +125,7 @@ set(TFM_TEST_REPO_PATH "DOWNLOAD" CACHE PATH "Path to TFM
set(CMSIS_5_PATH "DOWNLOAD" CACHE PATH "Path to CMSIS_5 (or DOWNLOAD to fetch automatically")
set(MCUBOOT_PATH "DOWNLOAD" CACHE PATH "Path to MCUboot (or DOWNLOAD to fetch automatically")
-set(MCUBOOT_VERSION "v1.6.0" CACHE STRING "The version of MCUboot to use")
+set(MCUBOOT_VERSION "b2a1a48" CACHE STRING "The version of MCUboot to use")
set(TFM_INTERNAL_MCUBOOT OFF CACHE BOOL "Use internal MCUboot files instead of upstream repo")
set(PSA_ARCH_TESTS_PATH "DOWNLOAD" CACHE PATH "Path to PSA arch tests (or DOWNLOAD to fetch automatically")
diff --git a/lib/ext/mcuboot/CMakeLists.txt b/lib/ext/mcuboot/CMakeLists.txt
index 4c817cd64d..822843f750 100644
--- a/lib/ext/mcuboot/CMakeLists.txt
+++ b/lib/ext/mcuboot/CMakeLists.txt
@@ -17,10 +17,12 @@ if ("${MCUBOOT_PATH}" STREQUAL "DOWNLOAD")
FetchContent_Declare(mcuboot
GIT_REPOSITORY https://github.com/JuulLabs-OSS/mcuboot.git
GIT_TAG ${MCUBOOT_VERSION}
- GIT_SHALLOW TRUE
+ GIT_SHALLOW FALSE
GIT_PROGRESS TRUE
GIT_SUBMODULES ""
)
+ # ToDo: set GIT_SHALLOW to 'TRUE' when MCUBOOT_VERSION will be set to a tag
+ # (instead of a commit hash) with the new release.
FetchContent_GetProperties(mcuboot)
if(NOT mcuboot_POPULATED)