Building saluswear-firmware-v3 C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1 c:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3 --pristine --board nrf9151dk/nrf9151/ns --sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DEXTRA_CONF_FILE=overlay-aws.conf -DCONF_FILE=prj.conf -DDTC_OVERLAY_FILE=boards/nrf9151dk_nrf9151_ns.overlay -DBOARD_ROOT=c:/ncs/v2.8.0" -- west build: generating a build system Loading Zephyr module(s) (Zephyr base): sysbuild_default -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf9151dk, qualifiers: nrf9151/ns Parsing c:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/Kconfig.sysbuild Loaded configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/_sysbuild/empty.conf' Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/_sysbuild/empty.conf' Configuration saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/_sysbuild/autoconf.h' -- ***************************** * Running CMake for mcuboot * ***************************** Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf9151dk, qualifiers: nrf9151 -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151.dts -- Found devicetree overlay: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/sysbuild/mcuboot/boards/nrf9151dk_nrf9151.overlay -- Generated zephyr.dts: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/mcuboot/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/mcuboot/zephyr/dts.cmake warning: MBEDTLS_CFG_FILE (defined at C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig:367, C:/ncs/v2.8.0/nrf\subsys\nrf_security/Kconfig:66, C:/ncs/v2.8.0/zephyr/modules/mbedtls/Kconfig:58, modules\mbedtls\Kconfig:58) was assigned the value 'mcuboot-mbedtls-cfg.h' but got the value ''. Check these unsatisfied dependencies: (MBEDTLS || NRF_SECURITY || (MBEDTLS_BUILTIN && MBEDTLS) || (MBEDTLS_BUILTIN && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_CFG_FILE and/or look up MBEDTLS_CFG_FILE in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. Parsing C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig Loaded configuration 'C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_defconfig' Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/sysbuild/mcuboot/prj.conf' Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/sysbuild/mcuboot/boards/nrf9151dk_nrf9151.conf' Merged configuration 'C:/ncs/v2.8.0/nrf/modules/mcuboot/tfm.conf' Merged configuration 'C:/ncs/v2.8.0/nrf/modules/mcuboot/fih_low_enable.conf' Merged configuration 'C:/ncs/v2.8.0/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf' Merged configuration 'C:/ncs/v2.8.0/nrf/subsys/bootloader/image/log_minimal.conf' Merged configuration 'C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/external_crypto.conf' Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/mcuboot/zephyr/.config.sysbuild' Configuration saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/mcuboot/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/mcuboot/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Setting build type to 'MinSizeRel' as none was specified. MCUBoot bootloader key file: C:/ncs/v2.8.0/bootloader/mcuboot/root-ec-p256.pem -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/mcuboot -- ************************ * Running CMake for b0 * ************************ Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v2.8.0/nrf/samples/bootloader -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf9151dk, qualifiers: nrf9151 -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151.dts -- Generated zephyr.dts: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/b0/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/b0/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/b0/zephyr/dts.cmake Parsing C:/ncs/v2.8.0/zephyr/Kconfig Loaded configuration 'C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_defconfig' Merged configuration 'C:/ncs/v2.8.0/nrf/samples/bootloader/prj.conf' Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/b0/zephyr/.config.sysbuild' Configuration saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/b0/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/b0/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Setting build type to 'MinSizeRel' as none was specified. -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/b0 -- ******************************************* * Running CMake for saluswear-firmware-v3 * ******************************************* Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3 -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf9151dk, qualifiers: nrf9151/ns -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns.dts -- Found devicetree overlay: boards/nrf9151dk_nrf9151_ns.overlay -- Generated zephyr.dts: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/dts.cmake warning: PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY (defined at C:/ncs/v2.8.0/nrf\subsys\partition_manager/Kconfig:214) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: (PM_EXTERNAL_FLASH_ENABLED || MCUBOOT) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY and/or look up PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: Deprecated symbol POSIX_CLOCK is enabled. warning: Deprecated symbol NET_SOCKETS_POSIX_NAMES is enabled. Parsing C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/Kconfig Loaded configuration 'C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns_defconfig' Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/prj.conf' Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/overlay-aws.conf' Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/.config.sysbuild' Configuration saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe =========== Generating psa_crypto_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Backup: CONFIG_MBEDTLS_THREADING: False Backup: CONFIG_MBEDTLS_THREADING_ALT: False =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Restore: CONFIG_MBEDTLS_THREADING: False Restore: CONFIG_MBEDTLS_THREADING_ALT: False =========== End psa_crypto_config =============== =========== Generating psa_crypto_library_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Backup: CONFIG_MBEDTLS_THREADING: False Backup: CONFIG_MBEDTLS_THREADING_ALT: False =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Restore: CONFIG_MBEDTLS_THREADING: False Restore: CONFIG_MBEDTLS_THREADING_ALT: False =========== End psa_crypto_library_config =============== -- Setting build type to 'MinSizeRel' as none was specified. -- Including signing script: C:/ncs/v2.8.0/nrf/cmake/sysbuild/image_signing.cmake CMake Warning at C:/ncs/v2.8.0/zephyr/CMakeLists.txt:2134 (message): __ASSERT() statements are globally ENABLED -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3 -- ****************************** * Running CMake for s1_image * ****************************** Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf9151dk, qualifiers: nrf9151 -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151.dts -- Found devicetree overlay: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/sysbuild/mcuboot/boards/nrf9151dk_nrf9151.overlay -- Generated zephyr.dts: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/s1_image/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/s1_image/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/s1_image/zephyr/dts.cmake -- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Setting build type to 'MinSizeRel' as none was specified. MCUBoot bootloader key file: C:/ncs/v2.8.0/bootloader/mcuboot/root-ec-p256.pem -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: EXTRA_KCONFIG_TARGETS FORCED_CONF_FILE -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/s1_image CMake Warning at C:/ncs/v2.8.0/nrf/cmake/sysbuild/debug_keys.cmake:21 (message): -------------------------------------------------------------- --- WARNING: Using generated NSIB public/private key-pair. --- --- It should not be used for production. --- --- See SB_CONFIG_SECURE_BOOT_SIGNING_KEY_FILE --- -------------------------------------------------------------- Call Stack (most recent call first): C:/ncs/v2.8.0/nrf/cmake/sysbuild/provision_hex.cmake:11 (include) C:/ncs/v2.8.0/nrf/sysbuild/CMakeLists.txt:55 (include) C:/ncs/v2.8.0/nrf/sysbuild/CMakeLists.txt:620 (include_provision_hex) cmake/modules/sysbuild_extensions.cmake:583 (nrf_POST_CMAKE) cmake/modules/sysbuild_extensions.cmake:583 (cmake_language) cmake/modules/sysbuild_images.cmake:23 (sysbuild_module_call) cmake/modules/sysbuild_default.cmake:20 (include) C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include) C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) C:/ncs/v2.8.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include) template/CMakeLists.txt:10 (find_package) CMake Warning at C:/ncs/v2.8.0/nrf/cmake/sysbuild/partition_manager.cmake:106 (message): --------------------------------------------------------------------- --- WARNING: Using a bootloader without pm_static.yml. --- --- There are cases where a deployed product can consist of --- --- multiple images, and only a subset of these images can be --- --- upgraded through a firmware update mechanism. In such cases, --- --- the upgradable images must have partitions that are static --- --- and are matching the partition map used by the bootloader --- --- programmed onto the device. --- --------------------------------------------------------------------- Call Stack (most recent call first): C:/ncs/v2.8.0/nrf/cmake/sysbuild/partition_manager.cmake:630 (partition_manager) C:/ncs/v2.8.0/nrf/sysbuild/CMakeLists.txt:661 (include) cmake/modules/sysbuild_extensions.cmake:583 (nrf_POST_CMAKE) cmake/modules/sysbuild_extensions.cmake:583 (cmake_language) cmake/modules/sysbuild_images.cmake:23 (sysbuild_module_call) cmake/modules/sysbuild_default.cmake:20 (include) C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include) C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) C:/ncs/v2.8.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include) template/CMakeLists.txt:10 (find_package) Dropping partition 'nrf_modem_lib_trace' since its size is 0. -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1 -- west build: building application [0/1] Re-running CMake... Loading Zephyr default modules (Zephyr base (cached)). -- Application: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3 -- CMake version: 3.21.0 -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf9151dk, qualifiers: nrf9151/ns -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk) -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk) -- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns.dts -- Found devicetree overlay: boards/nrf9151dk_nrf9151_ns.overlay -- Generated zephyr.dts: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/dts.cmake warning: Deprecated symbol POSIX_CLOCK is enabled. warning: Deprecated symbol NET_SOCKETS_POSIX_NAMES is enabled. Parsing C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/Kconfig Loaded configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/.config' Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/.config.sysbuild' No change to configuration in 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/.config' No change to Kconfig header in 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/include/generated/zephyr/autoconf.h' =========== Generating psa_crypto_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Backup: CONFIG_MBEDTLS_THREADING: False Backup: CONFIG_MBEDTLS_THREADING_ALT: False =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Restore: CONFIG_MBEDTLS_THREADING: False Restore: CONFIG_MBEDTLS_THREADING_ALT: False =========== End psa_crypto_config =============== =========== Generating psa_crypto_library_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Backup: CONFIG_MBEDTLS_THREADING: False Backup: CONFIG_MBEDTLS_THREADING_ALT: False =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Restore: CONFIG_MBEDTLS_THREADING: False Restore: CONFIG_MBEDTLS_THREADING_ALT: False =========== End psa_crypto_library_config =============== -- Including signing script: C:/ncs/v2.8.0/nrf/cmake/sysbuild/image_signing.cmake CMake Warning at C:/ncs/v2.8.0/zephyr/CMakeLists.txt:2134 (message): __ASSERT() statements are globally ENABLED -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3 [4/461] Generating include/generated/zephyr/version.h -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr), build: v3.7.99-ncs1 [9/461] Generating ../../tfm/CMakeCache.txt CMake Warning at cmake/version.cmake:31 (message): TFM_VERSION_MANUAL mismatches to actual TF-M version. Please update TFM_VERSION_MANUAL in cmake/version.cmake Call Stack (most recent call first): CMakeLists.txt:13 (include) -- Found Git: C:/ncs/toolchains/2d382dcd92/mingw64/bin/git.exe (found version "2.37.3.windows.1") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found version "3.12.4") found components: Interpreter -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache -- Configuring done CMake Warning in C:/ncs/v2.8.0/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeLists.txt: The object file directory C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/./ has 192 characters. The maximum full path to an object file is 250 characters (see CMAKE_OBJECT_PATH_MAX). Object file C_/ncs/v2.8.0/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.o cannot be safely placed under this directory. The build may not work correctly. -- Generating done -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm [8/139] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/target/nordic_nrf/common/core/target_cfg.o FAILED: secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/target/nordic_nrf/common/core/target_cfg.o C:\ncs\toolchains\2d382dcd92\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DBL1_HEADER_SIZE=0x000 -DBL1_TRAILER_SIZE=0x000 -DBL2_HEADER_SIZE=0x000 -DBL2_TRAILER_SIZE=0x000 -DCONFIG_TFM_ENABLE_CP10CP11 -DCONFIG_TFM_FLOAT_ABI=2 -DCONFIG_TFM_HALT_ON_CORE_PANIC -DCONFIG_TFM_LAZY_STACKING -DCONFIG_TFM_USE_TRUSTZONE -DCRYPTO_HW_ACCELERATOR -DDAUTH_CHIP_DEFAULT -DINSIDE_TFM_BUILD -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMBEDTLS_PSA_CRYPTO_DRIVERS -DMCUBOOT_IMAGE_NUMBER=1 -DNRF9120_XXAA -DNRF91_SERIES -DNRF_ALLOW_NON_SECURE_FAULT_HANDLING -DNRF_ALLOW_NON_SECURE_RESET -DNRF_HW_INIT_NRF_PERIPHERALS -DNRF_HW_INIT_RESET_ON_BOOT -DNRF_NS_SECONDARY -DNRF_NS_STORAGE -DNRF_SECURE_UART_INSTANCE=1 -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DPLATFORM_DEFAULT_BL1 -DPLATFORM_NS_NV_COUNTERS=0 -DPROJECT_CONFIG_HEADER_FILE=\"C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/modules/nrf/modules/trusted-firmware-m/tfm_config.h\" -DPS_CRYPTO_AEAD_ALG_CCM -DPS_ENCRYPTION -DSECURE_UART1 -DTFM_EXCEPTION_INFO_DUMP -DTFM_FIH_PROFILE_OFF -DTFM_INTERNAL_TRUSTED_STORAGE_SERVICE_SID=0x00000070 -DTFM_ISOLATION_LEVEL=1 -DTFM_PARTITION_CRYPTO -DTFM_PARTITION_LOG_LEVEL=TFM_PARTITION_LOG_LEVEL_SILENCE -DTFM_PARTITION_NS_AGENT_TZ -DTFM_PARTITION_PLATFORM -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_INFO -DTFM_SPM_LOG_RAW_ENABLED -D__NRF_TFM__ -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/include -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/generated -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/generated/secure_fw/spm/include -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/generated/secure_fw/spm/core -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core/arch -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/boot -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/interface -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/. -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/native_drivers -IC:/ncs/v2.8.0/modules/hal/nordic/nrfx -IC:/ncs/v2.8.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.8.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/common -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/.. -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/services/include -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/nrf91/. -IC:/ncs/v2.8.0/nrf/modules/trusted-firmware-m/tfm_boards/include -IC:/ncs/v2.8.0/nrf/modules/trusted-firmware-m/tfm_boards/partition -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/../zephyr/include/generated -IC:/ncs/v2.8.0/nrf/modules/trusted-firmware-m/tfm_boards/board -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/../zephyr/misc/generated/syscalls_links/include -IC:/ncs/v2.8.0/zephyr/include -IC:/ncs/v2.8.0/nrf/modules/trusted-firmware-m/tfm_boards/services/include -IC:/ncs/v2.8.0/nrf/include -IC:/ncs/v2.8.0/nrf/include/tfm -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/accelerator/interface -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/../secure_fw/spm/include/private -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/common -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/driver -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/include -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/config -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/firmware_update -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/initial_attestation -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/internal_trusted_storage -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/protected_storage -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/generated/interface/include -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/../../../platform/include -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/generated/interface_nrf_security_psa -IC:/ncs/v2.8.0/nrf/subsys/nrf_security/include -IC:/ncs/v2.8.0/modules/crypto/oberon-psa-crypto/include -IC:/ncs/v2.8.0/nrf/subsys/nrf_security/src/utils -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/lib/fih/inc -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/cmsis/CMSIS/Core/Include -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/cmsis/CMSIS/Core/Include/m-profile -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/generated/secure_fw/partitions/crypto -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/generated/secure_fw/partitions/platform -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime/include -IC:/ncs/v2.8.0/modules/crypto/oberon-psa-crypto/library -IC:/ncs/v2.8.0/modules/crypto/mbedtls/library -IC:/ncs/v2.8.0/modules/crypto/mbedtls/include -IC:/ncs/v2.8.0/modules/crypto/mbedtls/include/library -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/interface/include -mcpu=cortex-m33 -Os -DNDEBUG -specs=nano.specs -specs=nosys.specs -Wall -Wno-format -Wno-return-type -Wno-unused-but-set-variable -c -fdata-sections -ffunction-sections -fno-builtin -fshort-enums -funsigned-char -mthumb -std=c99 -gdwarf-4 -g -mfloat-abi=hard -mfpu=fpv5-sp-d16 -mcmse -Wno-unused-value -include C:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/include/cmsis_override.h -MD -MT secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/target/nordic_nrf/common/core/target_cfg.o -MF secure_fw\spm\CMakeFiles\tfm_spm.dir\__\__\platform\ext\target\nordic_nrf\common\core\target_cfg.o.d -o secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/target/nordic_nrf/common/core/target_cfg.o -c C:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/target_cfg.c In file included from C:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/target_cfg.h:36, from C:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/target_cfg.c:18: C:/ncs/v2.8.0/nrf/modules/trusted-firmware-m/tfm_boards/partition/region_defs.h:26:45: error: 'PM_MCUBOOT_SECONDARY_ADDRESS' undeclared here (not in a function); did you mean 'PM_MCUBOOT_END_ADDRESS'? 26 | #define S_IMAGE_SECONDARY_PARTITION_OFFSET (PM_MCUBOOT_SECONDARY_ADDRESS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.8.0/nrf/modules/trusted-firmware-m/tfm_boards/partition/region_defs.h:102:36: note: in expansion of macro 'S_IMAGE_SECONDARY_PARTITION_OFFSET' 102 | #define SECONDARY_PARTITION_START (S_IMAGE_SECONDARY_PARTITION_OFFSET) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/target_cfg.c:763:33: note: in expansion of macro 'SECONDARY_PARTITION_START' 763 | .secondary_partition_base = SECONDARY_PARTITION_START, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. FAILED: modules/trusted-firmware-m/tfm-prefix/src/tfm-stamp/tfm-build tfm/bin/tfm_s.elf tfm/bin/tfm_s.bin tfm/bin/tfm_s.hex tfm/bin/tfm_s_signed.bin tfm/bin/tfm_s_ns_signed.bin tfm/api_ns/interface/lib/s_veneers.o tfm/api_ns/interface/src/tfm_attest_api.c tfm/api_ns/interface/src/tfm_crypto_api.c tfm/api_ns/interface/src/tfm_fwu_api.c tfm/api_ns/interface/src/tfm_its_api.c tfm/api_ns/interface/src/tfm_platform_api.c tfm/api_ns/interface/src/tfm_ps_api.c tfm/api_ns/interface/src/tfm_tz_psa_ns_api.c tfm/api_ns/interface/src/tfm_ioctl_core_ns_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/modules/trusted-firmware-m/tfm-prefix/src/tfm-stamp/tfm-build C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/bin/tfm_s.elf C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/bin/tfm_s.bin C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/bin/tfm_s.hex C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/bin/tfm_s_signed.bin C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/bin/tfm_s_ns_signed.bin C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/lib/s_veneers.o C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_attest_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_crypto_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_fwu_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_its_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_platform_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_ps_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_tz_psa_ns_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_ioctl_core_ns_api.c cmd.exe /C "cd /D C:\ncs\v2.8.0\nrf\applications\saluswear-firmware-v3\build_1\saluswear-firmware-v3\tfm && C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.exe --build . -j 1" ninja: build stopped: subcommand failed. [22/54] No configure step for 's1_image' FAILED: _sysbuild/sysbuild/images/saluswear-firmware-v3-prefix/src/saluswear-firmware-v3-stamp/saluswear-firmware-v3-build C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/_sysbuild/sysbuild/images/saluswear-firmware-v3-prefix/src/saluswear-firmware-v3-stamp/saluswear-firmware-v3-build cmd.exe /C "cd /D C:\ncs\v2.8.0\nrf\applications\saluswear-firmware-v3\build_1\saluswear-firmware-v3 && C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.exe --build ." ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.EXE' --build C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1 * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.