NCS repositories are not yet cloned here. To do so run the following command: git-bash -c "ncsmgr init-ncs" Microsoft Windows [version 10.0.19044.1586] (c) Microsoft Corporation. Tous droits réservés. C:\Users\elect\AppData\Local\Temp>d: D:\elect\ncs\v1.6.1>cd D:\elect\projets_nordic_D\dfu_peripheral_uart_private_key D:\elect\projets_nordic_D\dfu_peripheral_uart_private_key>west build -b nrf5340dk_nrf5340_cpuapp -- west build: generating a build system Including boilerplate (Zephyr base): D:/elect/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake -- Application: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key -- Using NCS Toolchain 1.6.1 for building. (D:/elect/ncs/v1.6.1/toolchain/cmake) -- Zephyr version: 2.6.0-rc1 (D:/elect/ncs/v1.6.1/zephyr), build: v2.6.0-rc1-ncs1 -- Found Python3: D:/elect/ncs/v1.6.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter -- Found west (found suitable version "0.11.0", minimum required is "0.7.1") -- Board: nrf5340dk_nrf5340_cpuapp -- Cache files will be written to: D:/elect/ncs/v1.6.1/zephyr/.cache -- Found dtc: D:/elect/ncs/v1.6.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found toolchain: gnuarmemb (D:/elect/ncs/v1.6.1/toolchain/opt) -- Found BOARD.dts: D:/elect/ncs/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts -- Generated zephyr.dts: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/zephyr/include/generated/devicetree_unfixed.h -- Generated device_extern.h: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/zephyr/include/generated/device_extern.h Parsing D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/Kconfig Loaded configuration 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/zephyr/.config' No change to configuration in 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/zephyr/.config' No change to Kconfig header in 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/zephyr/include/generated/autoconf.h' -- The C compiler identification is GNU 9.2.1 -- The CXX compiler identification is GNU 9.2.1 -- The ASM compiler identification is GNU -- Found assembler: D:/elect/ncs/v1.6.1/toolchain/opt/bin/arm-none-eabi-gcc.exe === child image b0 - begin === Including boilerplate (Zephyr base (cached)): D:/elect/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake -- Application: D:/elect/ncs/v1.6.1/nrf/samples/bootloader -- Using NCS Toolchain 1.6.1 for building. (D:/elect/ncs/v1.6.1/toolchain/cmake) -- Zephyr version: 2.6.0-rc1 (D:/elect/ncs/v1.6.1/zephyr), build: v2.6.0-rc1-ncs1 -- Found west (found suitable version "0.11.0", minimum required is "0.7.1") -- Board: nrf5340dk_nrf5340_cpuapp -- Cache files will be written to: D:/elect/ncs/v1.6.1/zephyr/.cache -- Found dtc: D:/elect/ncs/v1.6.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found toolchain: gnuarmemb (D:/elect/ncs/v1.6.1/toolchain/opt) -- Found BOARD.dts: D:/elect/ncs/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts -- Generated zephyr.dts: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/b0/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/b0/zephyr/include/generated/devicetree_unfixed.h -- Generated device_extern.h: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/b0/zephyr/include/generated/device_extern.h Parsing D:/elect/ncs/v1.6.1/zephyr/Kconfig Loaded configuration 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/b0/zephyr/.config' No change to configuration in 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/b0/zephyr/.config' No change to Kconfig header in 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/b0/zephyr/include/generated/autoconf.h' CMake Warning at ../../subsys/bootloader/CMakeLists.txt:21 (message): -------------------------------------------------------- --- WARNING: When using the immutable bootloader on --- --- this SoC, the UICR must be erased when flashing. --- --- E.g. by calling 'west flash --erase' --- -------------------------------------------------------- -- Configuring done -- Generating done -- Build files have been written to: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/b0 === child image b0 - end === Adding 'hci_rpmsg' firmware as child image since CONFIG_BT_RPMSG_NRF53 is set to 'y' === child image hci_rpmsg - CPUNET begin === Including boilerplate (Zephyr base (cached)): D:/elect/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake -- Application: D:/elect/ncs/v1.6.1/zephyr/samples/bluetooth/hci_rpmsg -- Using NCS Toolchain 1.6.1 for building. (D:/elect/ncs/v1.6.1/toolchain/cmake) -- Zephyr version: 2.6.0-rc1 (D:/elect/ncs/v1.6.1/zephyr), build: v2.6.0-rc1-ncs1 -- Found west (found suitable version "0.11.0", minimum required is "0.7.1") -- Board: nrf5340dk_nrf5340_cpunet -- Cache files will be written to: D:/elect/ncs/v1.6.1/zephyr/.cache -- Found dtc: D:/elect/ncs/v1.6.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found toolchain: gnuarmemb (D:/elect/ncs/v1.6.1/toolchain/opt) -- Found BOARD.dts: D:/elect/ncs/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts -- Generated zephyr.dts: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/hci_rpmsg/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/hci_rpmsg/zephyr/include/generated/devicetree_unfixed.h -- Generated device_extern.h: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/hci_rpmsg/zephyr/include/generated/device_extern.h Parsing D:/elect/ncs/v1.6.1/zephyr/Kconfig Loaded configuration 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/hci_rpmsg/zephyr/.config' No change to configuration in 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/hci_rpmsg/zephyr/.config' No change to Kconfig header in 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/hci_rpmsg/zephyr/include/generated/autoconf.h' === child image b0n - CPUNET (inherited) begin === Including boilerplate (Zephyr base (cached)): D:/elect/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake -- Application: D:/elect/ncs/v1.6.1/nrf/samples/nrf5340/netboot -- Using NCS Toolchain 1.6.1 for building. (D:/elect/ncs/v1.6.1/toolchain/cmake) -- Zephyr version: 2.6.0-rc1 (D:/elect/ncs/v1.6.1/zephyr), build: v2.6.0-rc1-ncs1 -- Found west (found suitable version "0.11.0", minimum required is "0.7.1") -- Board: nrf5340dk_nrf5340_cpunet -- Cache files will be written to: D:/elect/ncs/v1.6.1/zephyr/.cache -- Found dtc: D:/elect/ncs/v1.6.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found toolchain: gnuarmemb (D:/elect/ncs/v1.6.1/toolchain/opt) -- Found BOARD.dts: D:/elect/ncs/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts -- Generated zephyr.dts: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/hci_rpmsg/b0n/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/hci_rpmsg/b0n/zephyr/include/generated/devicetree_unfixed.h -- Generated device_extern.h: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/hci_rpmsg/b0n/zephyr/include/generated/device_extern.h Parsing D:/elect/ncs/v1.6.1/nrf/samples/nrf5340/netboot/Kconfig Loaded configuration 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/hci_rpmsg/b0n/zephyr/.config' No change to configuration in 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/hci_rpmsg/b0n/zephyr/.config' No change to Kconfig header in 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/hci_rpmsg/b0n/zephyr/include/generated/autoconf.h' CMake Warning at D:/elect/ncs/v1.6.1/zephyr/CMakeLists.txt:1607 (message): __ASSERT() statements are globally ENABLED -- Configuring done -- Generating done -- Build files have been written to: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/hci_rpmsg/b0n === child image b0n - CPUNET (inherited) end === -- libmetal version: 1.0.0 (D:/elect/ncs/v1.6.1/zephyr/samples/bluetooth/hci_rpmsg) -- Build type: -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: cortexm -- open-amp version: 1.0.0 (D:/elect/ncs/v1.6.1/modules/lib/open-amp/open-amp) -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: cortexm -- C_FLAGS : -Wall -Wextra -- Configuring done -- Generating done -- Build files have been written to: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/hci_rpmsg === child image hci_rpmsg - CPUNET end === === child image mcuboot - begin === Including boilerplate (Zephyr base): D:/elect/ncs/v1.6.1/zephyr/cmake/app/boilerplate.cmake -- Application: D:/elect/ncs/v1.6.1/bootloader/mcuboot/boot/zephyr -- Using NCS Toolchain 1.6.1 for building. (D:/elect/ncs/v1.6.1/toolchain/cmake) -- Zephyr version: 2.6.0-rc1 (D:/elect/ncs/v1.6.1/zephyr), build: v2.6.0-rc1-ncs1 -- Found Python3: D:/elect/ncs/v1.6.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter -- Found west (found suitable version "0.11.0", minimum required is "0.7.1") -- Board: nrf5340dk_nrf5340_cpuapp -- Cache files will be written to: D:/elect/ncs/v1.6.1/zephyr/.cache -- Found dtc: D:/elect/ncs/v1.6.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found toolchain: gnuarmemb (D:/elect/ncs/v1.6.1/toolchain/opt) -- Found BOARD.dts: D:/elect/ncs/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts -- Found devicetree overlay: D:/elect/ncs/v1.6.1/bootloader/mcuboot/boot/zephyr/dts.overlay -- Generated zephyr.dts: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/mcuboot/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/mcuboot/zephyr/include/generated/devicetree_unfixed.h -- Generated device_extern.h: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/mcuboot/zephyr/include/generated/device_extern.h Parsing D:/elect/ncs/v1.6.1/bootloader/mcuboot/boot/zephyr/Kconfig Loaded configuration 'D:/elect/ncs/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig' Merged configuration 'D:/elect/ncs/v1.6.1/bootloader/mcuboot/boot/zephyr/prj.conf' Merged configuration 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/mcuboot.conf' Configuration saved to 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/mcuboot/zephyr/.config' Kconfig header saved to 'D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/mcuboot/zephyr/include/generated/autoconf.h' -- The C compiler identification is GNU 9.2.1 -- The CXX compiler identification is GNU 9.2.1 -- The ASM compiler identification is GNU -- Found assembler: D:/elect/ncs/v1.6.1/toolchain/opt/bin/arm-none-eabi-gcc.exe MCUBoot bootloader key file: /elect/projets_nordic_D/dfu_peripheral_uart_private_key/priv.pem -- Configuring done -- Generating done -- Build files have been written to: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/mcuboot === child image mcuboot - end === -- libmetal version: 1.0.0 (D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key) -- Build type: -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: cortexm -- Looking for include file stdatomic.h -- Looking for include file stdatomic.h - found -- open-amp version: 1.0.0 (D:/elect/ncs/v1.6.1/modules/lib/open-amp/open-amp) -- Host: Windows/AMD64 -- Target: Generic/arm -- Machine: cortexm -- C_FLAGS : -Wall -Wextra -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found CMake Warning at D:/elect/ncs/v1.6.1/zephyr/CMakeLists.txt:1607 (message): __ASSERT() statements are globally ENABLED -- Configuring done -- Generating done -- Build files have been written to: D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build -- west build: building application [0/313] Generating extra provision key files [17/313] Creating public key from private key used for signing [21/313] Performing build step for 'mcuboot_subimage' [245/252] Linking C executable zephyr\zephyr_prebuilt.elf FAILED: zephyr/zephyr_prebuilt.elf zephyr/zephyr_prebuilt.map cmd.exe /C "cd . && D:\elect\ncs\v1.6.1\toolchain\opt\bin\arm-none-eabi-gcc.exe zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj -o zephyr\zephyr_prebuilt.elf -Wl,-T zephyr/linker_zephyr_prebuilt.cmd -Wl,-Map=D:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/mcuboot/zephyr/zephyr_prebuilt.map -Wl,--whole-archive app/libapp.a zephyr/libzephyr.a zephyr/arch/common/libarch__common.a zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/libarch__arm__core__aarch32__cortex_m__cmse.a zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a zephyr/lib/libc/minimal/liblib__libc__minimal.a zephyr/lib/posix/liblib__posix.a zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a zephyr/drivers/gpio/libdrivers__gpio.a zephyr/drivers/flash/libdrivers__flash.a zephyr/drivers/serial/libdrivers__serial.a modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a modules/nrf/drivers/hw_cc310/lib..__nrf__drivers__hw_cc310.a modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a modules/mbedtls/libmodules__mbedtls.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj -L"d:/elect/ncs/v1.6.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/thumb/v8-m.main/nofp" -LD:/elect/projets_nordic_D/dfu_peripheral_uart_private_key/build/mcuboot/zephyr -lgcc zephyr/arch/common/libisr_tables.a D:/elect/ncs/v1.6.1/nrfxlib/crypto/nrf_cc312_platform/lib/cortex-m33/soft-float/no-interrupts/libnrf_cc312_platform_0.9.10.a -mcpu=cortex-m33 -mthumb -mabi=aapcs -Wl,--gc-sections -Wl,--build-id=none -Wl,--sort-common=descending -Wl,--sort-section=alignment -Wl,-u,_OffsetAbsSyms -Wl,-u,_ConfigAbsSyms -nostdlib -static -no-pie -Wl,-X -Wl,-N -Wl,--orphan-handling=warn && cmd.exe /C "cd /D D:\elect\projets_nordic_D\dfu_peripheral_uart_private_key\build\mcuboot\zephyr && D:\elect\ncs\v1.6.1\toolchain\opt\bin\cmake.exe -E echo "" d:/elect/ncs/v1.6.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: app/libapp.a(main.c.obj): in function `main': D:/elect/ncs/v1.6.1/bootloader/mcuboot/boot/zephyr/main.c:583: undefined reference to `pcd_lock_ram' d:/elect/ncs/v1.6.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: app/libapp.a(loader.c.obj): in function `boot_validated_swap_type': D:/elect/ncs/v1.6.1/bootloader/mcuboot/boot/bootutil/src/loader.c:828: undefined reference to `pcd_network_core_update' d:/elect/ncs/v1.6.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: app/libapp.a(keys.c.obj):(.rodata.bootutil_keys+0x0): undefined reference to `rsa_pub_key' d:/elect/ncs/v1.6.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.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. [278/313] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj FAILED: modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build mcuboot/zephyr/zephyr.hex mcuboot/zephyr/zephyr.elf cmd.exe /C "cd /D D:\elect\projets_nordic_D\dfu_peripheral_uart_private_key\build\mcuboot && D:\elect\ncs\v1.6.1\toolchain\opt\bin\cmake.exe --build . --" [282/313] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'D:\elect\ncs\v1.6.1\toolchain\opt\bin\cmake.EXE' --build 'D:\elect\projets_nordic_D\dfu_peripheral_uart_private_key\build' D:\elect\projets_nordic_D\dfu_peripheral_uart_private_key>