* Executing task: nRF Connect: Build [pristine]: BLE/build (active) 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 p1br2/nrf52832 --sysbuild -- -DCONF_FILE=prj.conf -DCONFIG_SIZE_OPTIMIZATIONS=y -DBOARD_ROOT=c:/nordic/software/ble" -- 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: p1br2, 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 * ***************************** -- Application: C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr Loading Zephyr default modules (Zephyr base). -- 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: p1br2, 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:/Nordic/Software/BLE/boards/p1br2/p1br2.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 warning: Deprecated symbol DEPRECATED_UART_NRFX_UARTE_LEGACY_SHIM is enabled. Parsing C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/Kconfig Loaded configuration 'C:/Nordic/Software/BLE/boards/p1br2/p1br2_defconfig' Merged configuration 'C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/prj.conf' Merged configuration 'C:/Nordic/Software/BLE/sysbuild/mcuboot.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:\\Nordic\\Software\\BLE\\FOTA-Keys\\PrivateECDSA256.pem -- Configuring done -- Generating done -- Build files have been written to: C:/Nordic/Software/BLE/build/mcuboot -- ************************* * 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: p1br2, 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:/Nordic/Software/BLE/boards/p1br2/p1br2.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 warning: Deprecated symbol DEPRECATED_UART_NRFX_UARTE_LEGACY_SHIM is enabled. Parsing C:/Nordic/Software/BLE/Kconfig Loaded configuration 'C:/Nordic/Software/BLE/boards/p1br2/p1br2_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 -- Configuring done -- Generating done -- Build files have been written to: C:/Nordic/Software/BLE/build/BLE CMake Warning at C:/ncs/v3.0.1/nrf/cmake/sysbuild/partition_manager.cmake:121 (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/v3.0.1/nrf/cmake/sysbuild/partition_manager.cmake:620 (partition_manager) C:/ncs/v3.0.1/nrf/sysbuild/CMakeLists.txt:779 (include) 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 done -- Generating done -- Build files have been written to: C:/Nordic/Software/BLE/build -- west build: building application [6/289] Generating include/generated/zephyr/version.h -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr), build: v4.0.99-ncs1-1 [284/289] Linking C executable zephyr\zephyr_pre0.elf FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map C:/Nordic/Software/BLE/build/mcuboot/zephyr/zephyr_pre0.map cmd.exe /C "cd . && C:\ncs\toolchains\0b393f9e1b\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr\zephyr_pre0.elf zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj -T zephyr/linker_zephyr_pre0.cmd -Wl,-Map=C:/Nordic/Software/BLE/build/mcuboot/zephyr/zephyr_pre0.map -Wl,--whole-archive app/libapp.a zephyr/libzephyr.a zephyr/arch/common/libarch__common.a zephyr/arch/arch/arm/core/libarch__arm__core.a zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a zephyr/lib/libc/minimal/liblib__libc__minimal.a zephyr/lib/libc/common/liblib__libc__common.a zephyr/soc/soc/nrf52832/libsoc__nordic.a zephyr/drivers/clock_control/libdrivers__clock_control.a zephyr/drivers/flash/libdrivers__flash.a zephyr/drivers/gpio/libdrivers__gpio.a zephyr/drivers/timer/libdrivers__timer.a modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a modules/mbedtls/libmbedTLSBase.a modules/mbedtls/libmbedTLSCrypto.a modules/mbedtls/libmbedTLSX509.a modules/mbedtls/libmodules__mbedtls.a modules/hal_nordic/modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a -LC:/Nordic/Software/BLE/build/mcuboot/zephyr zephyr/arch/common/libisr_tables.a modules/mbedtls/libmbedTLSBase.a modules/mbedtls/libmbedTLSCrypto.a modules/mbedtls/libmbedTLSX509.a -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -fuse-ld=bfd -Wl,--gc-sections -Wl,--build-id=none -Wl,--sort-common=descending -Wl,--sort-section=alignment -Wl,-u,_OffsetAbsSyms -Wl,-u,_ConfigAbsSyms -nostdlib -static -Wl,-X -Wl,-N -Wl,--orphan-handling=warn -Wl,-no-pie -L"c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v7e-m/nofp" -lgcc && cmd.exe /C "cd /D C:\Nordic\Software\BLE\build\mcuboot\zephyr && C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.exe -E true"" c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(keys.c.obj):C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/keys.c:52: undefined reference to `rsa_pub_key' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(keys.c.obj):(.rodata.bootutil_keys+0x4): undefined reference to `rsa_pub_key_len' collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. [10/20] No configure step for 'BLE' FAILED: _sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build C:/Nordic/Software/BLE/build/_sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build cmd.exe /C "cd /D C:\Nordic\Software\BLE\build\mcuboot && C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.exe --build ." ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.EXE' --build C:/Nordic/Software/BLE/build * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.