From 61238e93e2c5b3c672d3a55f6273bfd3615f05d7 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 21 Mar 2025 22:47:57 +0100 Subject: fw: Add mcuboot submodule This provides the source code for the used bootloader. --- .gitmodules | 3 +++ fw/CMakeLists.txt | 1 + fw/zephyrproject/bootloader/mcuboot | 1 + 3 files changed, 5 insertions(+) create mode 160000 fw/zephyrproject/bootloader/mcuboot diff --git a/.gitmodules b/.gitmodules index 98ea5fb..d26a2ad 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "fw/zephyrproject/modules/crypto/mbedtls"] path = fw/zephyrproject/modules/crypto/mbedtls url = https://github.com/zephyrproject-rtos/mbedtls.git +[submodule "fw/zephyrproject/bootloader/mcuboot"] + path = fw/zephyrproject/bootloader/mcuboot + url = https://github.com/zephyrproject-rtos/mcuboot.git diff --git a/fw/CMakeLists.txt b/fw/CMakeLists.txt index d1e1d90..8d9591f 100644 --- a/fw/CMakeLists.txt +++ b/fw/CMakeLists.txt @@ -9,6 +9,7 @@ set(ZEPHYR_MODULES "${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/modules/hal/cmsis" "${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/modules/hal/stm32" "${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/modules/crypto/mbedtls" + "${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/bootloader/mcuboot" ) find_package(Zephyr REQUIRED diff --git a/fw/zephyrproject/bootloader/mcuboot b/fw/zephyrproject/bootloader/mcuboot new file mode 160000 index 0000000..346f737 --- /dev/null +++ b/fw/zephyrproject/bootloader/mcuboot @@ -0,0 +1 @@ +Subproject commit 346f7374ff4467e40b5594658f8ac67a5e9813c9 -- cgit v1.2.3-70-g09d2