Building BLE C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/Nordic/Software/BLE/build c:/Nordic/Software/BLE --pristine --board nrf52dk/nrf52832 --sysbuild -- -DCONF_FILE=prj.conf -DCONFIG_SIZE_OPTIMIZATIONS=y -DBOARD_ROOT=c:/nordic/software/ble;c:/nordic/software/ble_ncs/application" -- west build: generating a build system Loading Zephyr module(s) (Zephyr base): sysbuild_default -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter -- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf52dk, qualifiers: nrf52832 Parsing c:/Nordic/Software/BLE/Kconfig.sysbuild Loaded configuration 'C:/Nordic/Software/BLE/build/_sysbuild/empty.conf' Merged configuration 'c:/Nordic/Software/BLE/sysbuild.conf' Configuration saved to 'C:/Nordic/Software/BLE/build/zephyr/.config' Kconfig header saved to 'C:/Nordic/Software/BLE/build/_sysbuild/autoconf.h' -- ***************************** * Running CMake for mcuboot * ***************************** Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter -- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf52dk, qualifiers: nrf52832 -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/0b393f9e1b/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52dk/nrf52dk_nrf52832.dts -- Found devicetree overlay: C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/app.overlay -- Generated zephyr.dts: C:/Nordic/Software/BLE/build/mcuboot/zephyr/zephyr.dts -- Generated pickled edt: C:/Nordic/Software/BLE/build/mcuboot/zephyr/edt.pickle -- Generated zephyr.dts: C:/Nordic/Software/BLE/build/mcuboot/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/Nordic/Software/BLE/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/Nordic/Software/BLE/build/mcuboot/zephyr/dts.cmake Parsing C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/Kconfig Loaded configuration 'C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52dk/nrf52dk_nrf52832_defconfig' Merged configuration 'C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/prj.conf' Merged configuration 'C:/ncs/v3.0.1/nrf/subsys/bootloader/image/log_minimal.conf' Merged configuration 'C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/external_crypto.conf' Merged configuration 'C:/Nordic/Software/BLE/build/mcuboot/zephyr/.config.sysbuild' Configuration saved to 'C:/Nordic/Software/BLE/build/mcuboot/zephyr/.config' Kconfig header saved to 'C:/Nordic/Software/BLE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/0b393f9e1b/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/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe MCUBoot bootloader key file: C:/ncs/v3.0.1/bootloader/mcuboot/root-ec-p256.pem CMake Warning at CMakeLists.txt:393 (message): WARNING: Using default MCUboot signing key file, this file is for debug use only and is not secure! -- Configuring done -- Generating done -- Build files have been written to: C:/Nordic/Software/BLE/build/mcuboot -- ************************ * Running CMake for b0 * ************************ Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v3.0.1/nrf/samples/bootloader -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter -- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf52dk, qualifiers: nrf52832 -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/0b393f9e1b/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52dk/nrf52dk_nrf52832.dts -- Generated zephyr.dts: C:/Nordic/Software/BLE/build/b0/zephyr/zephyr.dts -- Generated pickled edt: C:/Nordic/Software/BLE/build/b0/zephyr/edt.pickle -- Generated zephyr.dts: C:/Nordic/Software/BLE/build/b0/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/Nordic/Software/BLE/build/b0/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/Nordic/Software/BLE/build/b0/zephyr/dts.cmake warning: HW_STACK_PROTECTION (defined at C:/ncs/v3.0.1/zephyr/soc/nxp/s32\s32k1\Kconfig.defconfig:20, arch/Kconfig:284) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((SOC_SERIES_S32K1 && SOC_FAMILY_NXP_S32) || ARCH_HAS_STACK_PROTECTION) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_HW_STACK_PROTECTION and/or look up HW_STACK_PROTECTION 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/v3.0.1/zephyr/Kconfig Loaded configuration 'C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52dk/nrf52dk_nrf52832_defconfig' Merged configuration 'C:/ncs/v3.0.1/nrf/samples/bootloader/prj.conf' Merged configuration 'C:/Nordic/Software/BLE/build/b0/zephyr/.config.sysbuild' Configuration saved to 'C:/Nordic/Software/BLE/build/b0/zephyr/.config' Kconfig header saved to 'C:/Nordic/Software/BLE/build/b0/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/0b393f9e1b/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/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Configuring done -- Generating done -- Build files have been written to: C:/Nordic/Software/BLE/build/b0 -- ************************* * Running CMake for BLE * ************************* Loading Zephyr default modules (Zephyr base). -- Application: C:/Nordic/Software/BLE -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter -- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf52dk, qualifiers: nrf52832 -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/0b393f9e1b/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52dk/nrf52dk_nrf52832.dts -- Generated zephyr.dts: C:/Nordic/Software/BLE/build/BLE/zephyr/zephyr.dts -- Generated pickled edt: C:/Nordic/Software/BLE/build/BLE/zephyr/edt.pickle -- Generated zephyr.dts: C:/Nordic/Software/BLE/build/BLE/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/Nordic/Software/BLE/build/BLE/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/Nordic/Software/BLE/build/BLE/zephyr/dts.cmake Parsing C:/Nordic/Software/BLE/Kconfig Loaded configuration 'C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52dk/nrf52dk_nrf52832_defconfig' Merged configuration 'C:/Nordic/Software/BLE/prj.conf' Merged configuration 'C:/Nordic/Software/BLE/build/BLE/zephyr/misc/generated/extra_kconfig_options.conf' Merged configuration 'C:/Nordic/Software/BLE/build/BLE/zephyr/.config.sysbuild' Configuration saved to 'C:/Nordic/Software/BLE/build/BLE/zephyr/.config' Kconfig header saved to 'C:/Nordic/Software/BLE/build/BLE/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/0b393f9e1b/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/0b393f9e1b/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: True 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: True =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True 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: True =========== End psa_crypto_config =============== =========== Generating psa_crypto_library_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True 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: True =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True 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: True =========== End psa_crypto_library_config =============== -- Including signing script: C:/ncs/v3.0.1/nrf/cmake/sysbuild/image_signing.cmake CMake Warning at C:/ncs/v3.0.1/zephyr/CMakeLists.txt:2180 (message): __ASSERT() statements are globally ENABLED -- Configuring done -- Generating done -- Build files have been written to: C:/Nordic/Software/BLE/build/BLE -- ****************************** * Running CMake for s1_image * ****************************** Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter -- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf52dk, qualifiers: nrf52832 -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/0b393f9e1b/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52dk/nrf52dk_nrf52832.dts -- Found devicetree overlay: C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/app.overlay -- Generated zephyr.dts: C:/Nordic/Software/BLE/build/s1_image/zephyr/zephyr.dts -- Generated pickled edt: C:/Nordic/Software/BLE/build/s1_image/zephyr/edt.pickle -- Generated zephyr.dts: C:/Nordic/Software/BLE/build/s1_image/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/Nordic/Software/BLE/build/s1_image/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/Nordic/Software/BLE/build/s1_image/zephyr/dts.cmake -- Found GnuLd: c:/ncs/toolchains/0b393f9e1b/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/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe MCUBoot bootloader key file: C:/ncs/v3.0.1/bootloader/mcuboot/root-ec-p256.pem CMake Warning at CMakeLists.txt:393 (message): WARNING: Using default MCUboot signing key file, this file is for debug use only and is not secure! -- 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:/Nordic/Software/BLE/build/s1_image CMake Error at C:/ncs/v3.0.1/nrf/cmake/sysbuild/debug_keys.cmake:66 (message): Config points to non-existing PEM file 'C:NordicSoftwareBLEFOTA-KeysFOTA-Private-Key-ECDSA-P256.pem' Call Stack (most recent call first): C:/ncs/v3.0.1/nrf/cmake/sysbuild/provision_hex.cmake:11 (include) C:/ncs/v3.0.1/nrf/sysbuild/CMakeLists.txt:55 (include) C:/ncs/v3.0.1/nrf/sysbuild/CMakeLists.txt:739 (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:46 (sysbuild_module_call) cmake/modules/sysbuild_default.cmake:21 (include) C:/ncs/v3.0.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include) C:/ncs/v3.0.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) C:/ncs/v3.0.1/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include) template/CMakeLists.txt:10 (find_package) -- Configuring incomplete, errors occurred! See also "C:/Nordic/Software/BLE/build/CMakeFiles/CMakeOutput.log". FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe '-Bc:\Nordic\Software\BLE\build' -GNinja -DBOARD=nrf52dk/nrf52832 -DCONF_FILE=prj.conf -DCONFIG_SIZE_OPTIMIZATIONS=y '-DBOARD_ROOT=c:/nordic/software/ble;c:/nordic/software/ble_ncs/application' '-SC:\ncs\v3.0.1\zephyr\share\sysbuild' '-DAPP_DIR:PATH=c:\Nordic\Software\BLE' * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.