* Executing task: nRF Connect: Build [pristine]: mcuboot/build (active) Building mcuboot C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/Arjun/Self/mcuboot/build c:/Arjun/Self/mcuboot --pristine --board nrf5340dk_nrf5340_cpuapp --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/arjun/self/mcuboot -DCACHED_CONF_FILE=c:/Arjun/Self/mcuboot/prj.conf -Dmcuboot_EXTRA_CONF_FILE=C:/ncs/v2.9.0/nrf/subsys/partition_manager/partition_manager_enabled.conf -Dmcuboot_EXTRA_DTC_OVERLAY_FILE=C:/ncs/v2.9.0/nrf/modules/mcuboot/usb.overlay -Dmcuboot_BINARY_DIR=C:/Arjun/Self/mcuboot/build -Dmcuboot_IS_TOP_LEVEL=ON -Dmcuboot_SOURCE_DIR=C:/Arjun/Self/mcuboot -DSHIELD=nrf7002ek" -- west build: generating a build system Loading Zephyr default modules (Zephyr base). -- Application: C:/Arjun/Self/mcuboot -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/b620d30767/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.9.0/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.9.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") CMake Warning at C:/ncs/v2.9.0/zephyr/cmake/modules/boards.cmake:110 (message): Deprecated BOARD=nrf5340dk_nrf5340_cpuapp specified, board automatically changed to: nrf5340dk/nrf5340/cpuapp. Call Stack (most recent call first): C:/ncs/v2.9.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include) C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) CMakeLists.txt:16 (find_package) -- Board: nrf5340dk, qualifiers: nrf5340/cpuapp -- Shield(s): nrf7002ek -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v2.9.0/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp.dts -- Found devicetree overlay: C:/ncs/v2.9.0/zephyr/boards/shields/nrf7002ek/nrf7002ek.overlay -- Found devicetree overlay: C:/ncs/v2.9.0/zephyr/boards/shields/nrf7002ek/boards/nrf5340dk_nrf5340_cpuapp.overlay -- Generated zephyr.dts: C:/Arjun/Self/mcuboot/build/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/Arjun/Self/mcuboot/build/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/Arjun/Self/mcuboot/build/zephyr/dts.cmake warning: FLASH_INIT_PRIORITY (defined at C:/ncs/v2.9.0/zephyr/soc/ite/ec\it8xxx2\Kconfig.defconfig.series:22, drivers/flash/Kconfig:158) was assigned the value '40' but got the value ''. Check these unsatisfied dependencies: ((SOC_SERIES_IT8XXX2 && SOC_FAMILY_ITE_EC) || FLASH) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_FLASH_INIT_PRIORITY and/or look up FLASH_INIT_PRIORITY 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: BOOT_BANNER (defined at kernel/Kconfig:441) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: (!NCS_BOOT_BANNER) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BOOT_BANNER and/or look up BOOT_BANNER 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: NORDIC_QSPI_NOR_XIP (defined at drivers/flash/Kconfig.nordic_qspi_nor:45) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: NORDIC_QSPI_NOR (=n), FLASH (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_NORDIC_QSPI_NOR_XIP and/or look up NORDIC_QSPI_NOR_XIP 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 BUILD_NO_GAP_FILL is enabled. Parsing C:/ncs/v2.9.0/zephyr/Kconfig Loaded configuration 'C:/ncs/v2.9.0/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_defconfig' Merged configuration 'C:/Arjun/Self/mcuboot/prj.conf' Configuration saved to 'C:/Arjun/Self/mcuboot/build/zephyr/.config' Kconfig header saved to 'C:/Arjun/Self/mcuboot/build/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/b620d30767/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/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found version "3.12.4") found components: Interpreter === child image mcuboot - begin === loading initial cache file C:/Arjun/Self/mcuboot/build/mcuboot/child_image_preload.cmake Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/b620d30767/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.9.0/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.9.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf5340dk, qualifiers: nrf5340/cpuapp -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v2.9.0/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp.dts -- Found devicetree overlay: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/app.overlay -- Found devicetree overlay: C:/ncs/v2.9.0/nrf/modules/mcuboot/usb.overlay -- Generated zephyr.dts: C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/dts.cmake Parsing C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/Kconfig Loaded configuration 'C:/ncs/v2.9.0/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_defconfig' Merged configuration 'C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/prj.conf' Merged configuration 'C:/ncs/v2.9.0/nrf/subsys/partition_manager/partition_manager_enabled.conf' Merged configuration 'C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf' Configuration saved to 'C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/.config' Kconfig header saved to 'C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/b620d30767/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/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Setting build type to 'MinSizeRel' as none was specified. CMake Deprecation Warning at C:/ncs/v2.9.0/nrf/cmake/partition_manager.cmake:32 (message): --------------------------------------------------------------------- --- WARNING: Child and parent image functionality is deprecated --- --- and should be replaced with sysbuild. Child and parent image --- --- support remains only to allow existing customer applications --- --- to build and allow porting to sysbuild, it is no longer --- --- receiving updates or new features and it will not be possible --- --- to build using child/parent image at all in nRF Connect SDK --- --- version 2.9 onwards. --- --------------------------------------------------------------------- Call Stack (most recent call first): C:/ncs/v2.9.0/zephyr/cmake/modules/kernel.cmake:255 (include) C:/ncs/v2.9.0/zephyr/cmake/modules/zephyr_default.cmake:142 (include) C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) CMakeLists.txt:12 (find_package) MCUBoot bootloader key file: C:/ncs/v2.9.0/bootloader/mcuboot/root-rsa-2048.pem -- Configuring done -- Generating done -- Build files have been written to: C:/Arjun/Self/mcuboot/build/mcuboot === child image mcuboot - end === CMake Warning at C:/ncs/v2.9.0/nrf/modules/mcuboot/CMakeLists.txt:382 (message): --------------------------------------------------------- --- WARNING: Using default MCUBoot key, it should not --- --- be used for production. --- --------------------------------------------------------- CMake Warning at C:/ncs/v2.9.0/nrf/modules/mcuboot/CMakeLists.txt:939 (message): CONFIG_MCUBOOT_SIGNATURE_KEY_FILE is set to "bootloader/mcuboot/root-rsa-2048.pem". You are using the NCS Mcuboot signing, which means this option will be ignored. Image signing in NCS is done via the MCUboot image's CONFIG_BOOT_SIGNATURE_KEY_FILE option. Consider setting CONFIG_MCUBOOT_SIGNATURE_KEY_FILE in your application image back to its default value, the empty string. -- Setting build type to 'MinSizeRel' as none was specified. CMake Deprecation Warning at C:/ncs/v2.9.0/nrf/cmake/partition_manager.cmake:32 (message): --------------------------------------------------------------------- --- WARNING: Child and parent image functionality is deprecated --- --- and should be replaced with sysbuild. Child and parent image --- --- support remains only to allow existing customer applications --- --- to build and allow porting to sysbuild, it is no longer --- --- receiving updates or new features and it will not be possible --- --- to build using child/parent image at all in nRF Connect SDK --- --- version 2.9 onwards. --- --------------------------------------------------------------------- Call Stack (most recent call first): C:/ncs/v2.9.0/zephyr/cmake/modules/kernel.cmake:255 (include) C:/ncs/v2.9.0/zephyr/cmake/modules/zephyr_default.cmake:142 (include) C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) CMakeLists.txt:16 (find_package) -- Found partition manager static configuration: C:/Arjun/Self/mcuboot/pm_static.yml Partition 'mcuboot' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_pad' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_primary' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_primary_app' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_secondary' is not included in the dynamic resolving since it is statically defined. Partition 'rpmsg_nrf53_sram' is not included in the dynamic resolving since it is statically defined. -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CACHED_CONF_FILE -- Build files have been written to: C:/Arjun/Self/mcuboot/build -- west build: building application [5/161] Generating include/generated/zephyr/version.h -- Zephyr version: 3.7.99 (C:/ncs/v2.9.0/zephyr), build: v3.7.99-ncs2 [6/288] Generating include/generated/zephyr/version.h -- Zephyr version: 3.7.99 (C:/ncs/v2.9.0/zephyr), build: v3.7.99-ncs2 [205/288] Building C object CMakeFiles/app.dir/flash_map_extended.c.obj FAILED: CMakeFiles/app.dir/flash_map_extended.c.obj C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/targets -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr -IC:/ncs/v2.9.0/zephyr/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated -IC:/ncs/v2.9.0/zephyr/soc/nordic -IC:/ncs/v2.9.0/zephyr/soc/nordic/nrf53/. -IC:/ncs/v2.9.0/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.0/nrf/include -IC:/ncs/v2.9.0/nrf/tests/include -IC:/ncs/v2.9.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.0/zephyr/modules/cmsis/. -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include/library -IC:/ncs/v2.9.0/modules/crypto/mbedtls/library -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/configs -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/.. -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/minimal/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/common/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem C:/ncs/v2.9.0/nrfxlib/crypto/nrf_cc312_platform/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/flash_map_extended.c.obj -MF CMakeFiles\app.dir\flash_map_extended.c.obj.d -o CMakeFiles/app.dir/flash_map_extended.c.obj -c C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/flash_map_extended.c In file included from C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:15, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/flash_map_extended.c:15: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h: In function '__flash_area_ids_for_slot': C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: error: 'PM_MCUBOOT_SECONDARY_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_PRIMARY_ID'? 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: note: each undeclared identifier is reported only once for each function it appears in 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ [206/288] Building C object CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj FAILED: CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/targets -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr -IC:/ncs/v2.9.0/zephyr/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated -IC:/ncs/v2.9.0/zephyr/soc/nordic -IC:/ncs/v2.9.0/zephyr/soc/nordic/nrf53/. -IC:/ncs/v2.9.0/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.0/nrf/include -IC:/ncs/v2.9.0/nrf/tests/include -IC:/ncs/v2.9.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.0/zephyr/modules/cmsis/. -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include/library -IC:/ncs/v2.9.0/modules/crypto/mbedtls/library -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/configs -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/.. -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/minimal/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/common/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem C:/ncs/v2.9.0/nrfxlib/crypto/nrf_cc312_platform/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj -MF CMakeFiles\app.dir\C_\ncs\v2.9.0\bootloader\mcuboot\boot\bootutil\src\image_validate.c.obj.d -o CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj -c C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/image_validate.c In file included from C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:15, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/image_validate.c:66: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h: In function '__flash_area_ids_for_slot': C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: error: 'PM_MCUBOOT_SECONDARY_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_PRIMARY_ID'? 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: note: each undeclared identifier is reported only once for each function it appears in 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ [209/288] Building C object CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj FAILED: CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/targets -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr -IC:/ncs/v2.9.0/zephyr/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated -IC:/ncs/v2.9.0/zephyr/soc/nordic -IC:/ncs/v2.9.0/zephyr/soc/nordic/nrf53/. -IC:/ncs/v2.9.0/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.0/nrf/include -IC:/ncs/v2.9.0/nrf/tests/include -IC:/ncs/v2.9.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.0/zephyr/modules/cmsis/. -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include/library -IC:/ncs/v2.9.0/modules/crypto/mbedtls/library -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/configs -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/.. -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/minimal/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/common/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem C:/ncs/v2.9.0/nrfxlib/crypto/nrf_cc312_platform/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj -MF CMakeFiles\app.dir\C_\ncs\v2.9.0\bootloader\mcuboot\boot\bootutil\src\tlv.c.obj.d -o CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj -c C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/tlv.c In file included from C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:15, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/tlv.c:24: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h: In function '__flash_area_ids_for_slot': C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: error: 'PM_MCUBOOT_SECONDARY_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_PRIMARY_ID'? 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: note: each undeclared identifier is reported only once for each function it appears in 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ [211/288] Building C object CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/image_rsa.c.obj FAILED: CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/image_rsa.c.obj C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/targets -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr -IC:/ncs/v2.9.0/zephyr/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated -IC:/ncs/v2.9.0/zephyr/soc/nordic -IC:/ncs/v2.9.0/zephyr/soc/nordic/nrf53/. -IC:/ncs/v2.9.0/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.0/nrf/include -IC:/ncs/v2.9.0/nrf/tests/include -IC:/ncs/v2.9.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.0/zephyr/modules/cmsis/. -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include/library -IC:/ncs/v2.9.0/modules/crypto/mbedtls/library -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/configs -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/.. -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/minimal/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/common/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem C:/ncs/v2.9.0/nrfxlib/crypto/nrf_cc312_platform/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/image_rsa.c.obj -MF CMakeFiles\app.dir\C_\ncs\v2.9.0\bootloader\mcuboot\boot\bootutil\src\image_rsa.c.obj.d -o CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/image_rsa.c.obj -c C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/image_rsa.c In file included from C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:15, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/image_rsa.c:33: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h: In function '__flash_area_ids_for_slot': C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: error: 'PM_MCUBOOT_SECONDARY_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_PRIMARY_ID'? 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: note: each undeclared identifier is reported only once for each function it appears in 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ [213/288] Building C object CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj FAILED: CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/targets -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr -IC:/ncs/v2.9.0/zephyr/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated -IC:/ncs/v2.9.0/zephyr/soc/nordic -IC:/ncs/v2.9.0/zephyr/soc/nordic/nrf53/. -IC:/ncs/v2.9.0/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.0/nrf/include -IC:/ncs/v2.9.0/nrf/tests/include -IC:/ncs/v2.9.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.0/zephyr/modules/cmsis/. -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include/library -IC:/ncs/v2.9.0/modules/crypto/mbedtls/library -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/configs -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/.. -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/minimal/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/common/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem C:/ncs/v2.9.0/nrfxlib/crypto/nrf_cc312_platform/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj -MF CMakeFiles\app.dir\C_\ncs\v2.9.0\bootloader\mcuboot\boot\bootutil\src\swap_misc.c.obj.d -o CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj -c C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_misc.c In file included from C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:15, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_misc.c:25: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h: In function '__flash_area_ids_for_slot': C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: error: 'PM_MCUBOOT_SECONDARY_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_PRIMARY_ID'? 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: note: each undeclared identifier is reported only once for each function it appears in 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ [215/288] Building C object CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj FAILED: CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/targets -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr -IC:/ncs/v2.9.0/zephyr/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated -IC:/ncs/v2.9.0/zephyr/soc/nordic -IC:/ncs/v2.9.0/zephyr/soc/nordic/nrf53/. -IC:/ncs/v2.9.0/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.0/nrf/include -IC:/ncs/v2.9.0/nrf/tests/include -IC:/ncs/v2.9.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.0/zephyr/modules/cmsis/. -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include/library -IC:/ncs/v2.9.0/modules/crypto/mbedtls/library -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/configs -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/.. -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/minimal/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/common/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem C:/ncs/v2.9.0/nrfxlib/crypto/nrf_cc312_platform/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj -MF CMakeFiles\app.dir\C_\ncs\v2.9.0\bootloader\mcuboot\boot\bootutil\src\bootutil_misc.c.obj.d -o CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj -c C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c In file included from C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:15, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c:32: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h: In function '__flash_area_ids_for_slot': C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: error: 'PM_MCUBOOT_SECONDARY_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_PRIMARY_ID'? 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: note: each undeclared identifier is reported only once for each function it appears in 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ [217/288] Building C object CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/loader_legacy_child_parent.c.obj FAILED: CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/loader_legacy_child_parent.c.obj C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/targets -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr -IC:/ncs/v2.9.0/zephyr/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated -IC:/ncs/v2.9.0/zephyr/soc/nordic -IC:/ncs/v2.9.0/zephyr/soc/nordic/nrf53/. -IC:/ncs/v2.9.0/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.0/nrf/include -IC:/ncs/v2.9.0/nrf/tests/include -IC:/ncs/v2.9.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.0/zephyr/modules/cmsis/. -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include/library -IC:/ncs/v2.9.0/modules/crypto/mbedtls/library -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/configs -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/.. -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/minimal/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/common/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem C:/ncs/v2.9.0/nrfxlib/crypto/nrf_cc312_platform/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/loader_legacy_child_parent.c.obj -MF CMakeFiles\app.dir\C_\ncs\v2.9.0\bootloader\mcuboot\boot\bootutil\src\loader_legacy_child_parent.c.obj.d -o CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/loader_legacy_child_parent.c.obj -c C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/loader_legacy_child_parent.c In file included from C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:15, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/loader_legacy_child_parent.c:42: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h: In function '__flash_area_ids_for_slot': C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: error: 'PM_MCUBOOT_SECONDARY_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_PRIMARY_ID'? 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: note: each undeclared identifier is reported only once for each function it appears in 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ [218/288] Building C object CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c.obj FAILED: CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c.obj C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/targets -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr -IC:/ncs/v2.9.0/zephyr/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated -IC:/ncs/v2.9.0/zephyr/soc/nordic -IC:/ncs/v2.9.0/zephyr/soc/nordic/nrf53/. -IC:/ncs/v2.9.0/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.0/nrf/include -IC:/ncs/v2.9.0/nrf/tests/include -IC:/ncs/v2.9.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.0/zephyr/modules/cmsis/. -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include/library -IC:/ncs/v2.9.0/modules/crypto/mbedtls/library -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/configs -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/.. -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/minimal/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/common/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem C:/ncs/v2.9.0/nrfxlib/crypto/nrf_cc312_platform/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c.obj -MF CMakeFiles\app.dir\C_\ncs\v2.9.0\bootloader\mcuboot\boot\bootutil\src\swap_scratch.c.obj.d -o CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c.obj -c C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c In file included from C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:15, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c:25: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h: In function '__flash_area_ids_for_slot': C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: error: 'PM_MCUBOOT_SECONDARY_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_PRIMARY_ID'? 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: note: each undeclared identifier is reported only once for each function it appears in 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ [220/288] Building C object CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj FAILED: CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMBEDTLS_CONFIG_FILE=\"mcuboot-mbedtls-cfg.h\" -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/targets -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr -IC:/ncs/v2.9.0/zephyr/include -IC:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated -IC:/ncs/v2.9.0/zephyr/soc/nordic -IC:/ncs/v2.9.0/zephyr/soc/nordic/nrf53/. -IC:/ncs/v2.9.0/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.0/nrf/include -IC:/ncs/v2.9.0/nrf/tests/include -IC:/ncs/v2.9.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.0/zephyr/modules/cmsis/. -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.0/modules/crypto/mbedtls/include/library -IC:/ncs/v2.9.0/modules/crypto/mbedtls/library -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/configs -IC:/ncs/v2.9.0/zephyr/modules/mbedtls/include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/.. -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../include -IC:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/minimal/include -isystem C:/ncs/v2.9.0/zephyr/lib/libc/common/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem C:/ncs/v2.9.0/nrfxlib/crypto/nrf_cc312_platform/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj -MF CMakeFiles\app.dir\C_\ncs\v2.9.0\bootloader\mcuboot\boot\bootutil\src\swap_move.c.obj.d -o CMakeFiles/app.dir/C_/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj -c C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_move.c In file included from C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/sysflash.h:15, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:33, from C:/ncs/v2.9.0/bootloader/mcuboot/boot/bootutil/src/swap_move.c:25: C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h: In function '__flash_area_ids_for_slot': C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: error: 'PM_MCUBOOT_SECONDARY_ID' undeclared (first use in this function); did you mean 'PM_MCUBOOT_PRIMARY_ID'? 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:47:60: note: each undeclared identifier is reported only once for each function it appears in 47 | #define FLASH_AREA_IMAGE_0_SLOTS PM_MCUBOOT_PRIMARY_ID, PM_MCUBOOT_SECONDARY_ID | ^~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:52:29: note: in expansion of macro 'FLASH_AREA_IMAGE_0_SLOTS' 52 | #define ALL_AVAILABLE_SLOTS FLASH_AREA_IMAGE_0_SLOTS | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/include/sysflash/pm_sysflash_legacy_child_parent.h:67:9: note: in expansion of macro 'ALL_AVAILABLE_SLOTS' 67 | ALL_AVAILABLE_SLOTS | ^~~~~~~~~~~~~~~~~~~ [234/288] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj ninja: build stopped: subcommand failed. [70/161] Building C object CMakeFiles/app.dir/src/main.c.obj C:/Arjun/Self/mcuboot/src/main.c:10:6: warning: return type of 'main' is not 'int' [-Wmain] 10 | void main(void) | ^~~~ [145/161] Linking C executable zephyr\zephyr_pre0.elf FAILED: modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build mcuboot/zephyr/zephyr.hex mcuboot/zephyr/zephyr.elf C:/Arjun/Self/mcuboot/build/modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/zephyr.hex C:/Arjun/Self/mcuboot/build/mcuboot/zephyr/zephyr.elf cmd.exe /C "cd /D C:\Arjun\Self\mcuboot\build\mcuboot && C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe --build . --" [147/161] Generating linker.cmd ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' --build 'c:\Arjun\Self\mcuboot\build' * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.