Encrypted DFU on 5340

I'm stuck implementing encrypted firmwares on the nrf5340, ncs 3.0.2., with NSIB and MCUBoot.
I got signed DFU to work as described in Exercise 3 – DFU with external flash.
However, as soon as I also enable encryption by setting

SB_CONFIG_BOOT_ENCRYPTION_KEY_FILE="\${APP_DIR}/firmware-encryption-key.pem"
SB_CONFIG_BOOT_ENCRYPTION=y

in sysbuild.conf

I get compilation errors, starting with

fatal error: tinycrypt/aes.h: No such file or directory

I've also added

CONFIG_BOOT_ECDSA_TINYCRYPT=y

to sysbuild/mcuboot.conf, but to no avail.

Parents
  • Hello,

    Can you please share your full build log, and the application you are trying to build?

    Best regards,

    Edvin

  • I can unfortunately not share the whole app, it has already a lot of implementation, I'm only evaluating adding DFU/FOTA.

    The build log is

    Setting $BOARD = nrf5340dk/nrf5340/cpuapp/ns
    Running command: west build --board nrf5340dk/nrf5340/cpuapp/ns --build-dir app/build_nrf5340dk app -- -DSB_CONF_FILE=$WORKSPACE/$PROJECT/app/sysbuild_release.conf -DEXTRA_CONF_FILE='release.conf'
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/[email protected]/bin/python3.12 (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: /Users/theuser/Library/Caches/zephyr
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk, qualifiers: nrf5340/cpuapp/ns
    Parsing $WORKSPACE/zephyr/share/sysbuild/Kconfig
    Loaded configuration '$WORKSPACE/$PROJECT/app/build_nrf5340dk/_sysbuild/empty.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/sysbuild_release.conf'
    Configuration saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk/zephyr/.config'
    Kconfig header saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk/_sysbuild/autoconf.h'
    -- 
       *****************************
       * Running CMake for mcuboot *
       *****************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: $WORKSPACE/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.21.0
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: /Users/theuser/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 ($WORKSPACE/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 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found Dtc: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: $WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp.dts
    -- Found devicetree overlay: $WORKSPACE/$PROJECT/app/sysbuild/mcuboot.overlay
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/zephyr.dts
    -- Generated pickled edt: $WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/edt.pickle
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: $WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: $WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/dts.cmake
    Parsing $WORKSPACE/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration '$WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_defconfig'
    Merged configuration '$WORKSPACE/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/sysbuild/mcuboot.conf'
    Merged configuration '$WORKSPACE/nrf/modules/mcuboot/tfm.conf'
    Merged configuration '$WORKSPACE/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf'
    Merged configuration '$WORKSPACE/nrf/subsys/bootloader/image/log_minimal.conf'
    Merged configuration '$WORKSPACE/bootloader/mcuboot/boot/zephyr/external_crypto.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/.config.sysbuild'
    Configuration saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/.config'
    Kconfig header saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (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: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
    CMake Warning at $WORKSPACE/zephyr/CMakeLists.txt:1002 (message):
      No SOURCES given to Zephyr library: drivers__console
    
      Excluding target from build.
    
    
    MCUBoot bootloader key file: $WORKSPACE/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!
    
    
    MCUBoot bootloader encryption key file: $WORKSPACE/$PROJECT/app/firmware-encryption-key.pem
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot
    -- 
       *******************************
       * Running CMake for ipc_radio *
       *******************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: $WORKSPACE/nrf/applications/ipc_radio
    -- CMake version: 3.21.0
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: /Users/theuser/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 ($WORKSPACE/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk, qualifiers: nrf5340/cpunet
    -- Found host-tools: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found Dtc: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: $WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpunet.dts
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk/ipc_radio/zephyr/zephyr.dts
    -- Generated pickled edt: $WORKSPACE/$PROJECT/app/build_nrf5340dk/ipc_radio/zephyr/edt.pickle
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk/ipc_radio/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: $WORKSPACE/$PROJECT/app/build_nrf5340dk/ipc_radio/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: $WORKSPACE/$PROJECT/app/build_nrf5340dk/ipc_radio/zephyr/dts.cmake
    Parsing $WORKSPACE/nrf/applications/ipc_radio/Kconfig
    Loaded configuration '$WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpunet_defconfig'
    Merged configuration '$WORKSPACE/$PROJECT/app/sysbuild/ipc_radio/prj.conf'
    Merged configuration '$WORKSPACE/nrf/applications/ipc_radio/overlay-bt_hci_ipc.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/build_nrf5340dk/ipc_radio/zephyr/.config.sysbuild'
    Configuration saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk/ipc_radio/zephyr/.config'
    Kconfig header saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk/ipc_radio/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (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: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- libmetal version: 1.7.0 ($WORKSPACE/nrf/applications/ipc_radio)
    -- Build type:  
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- Vendor: none
    -- Looking for include file stdatomic.h
    -- Looking for include file stdatomic.h - found
    -- open-amp version: 1.7.0 ($WORKSPACE/modules/lib/open-amp/open-amp)
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- C_FLAGS :  -Wall -Wextra
    -- Looking for include file fcntl.h
    -- Looking for include file fcntl.h - found
    -- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
    CMake Warning at $WORKSPACE/zephyr/CMakeLists.txt:2180 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk/ipc_radio
    -- 
       ************************
       * Running CMake for b0 *
       ************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: $WORKSPACE/nrf/samples/bootloader
    -- CMake version: 3.21.0
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: /Users/theuser/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 ($WORKSPACE/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 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found Dtc: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: $WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp.dts
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk/b0/zephyr/zephyr.dts
    -- Generated pickled edt: $WORKSPACE/$PROJECT/app/build_nrf5340dk/b0/zephyr/edt.pickle
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk/b0/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: $WORKSPACE/$PROJECT/app/build_nrf5340dk/b0/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: $WORKSPACE/$PROJECT/app/build_nrf5340dk/b0/zephyr/dts.cmake
    Parsing $WORKSPACE/zephyr/Kconfig
    Loaded configuration '$WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_defconfig'
    Merged configuration '$WORKSPACE/nrf/samples/bootloader/prj.conf'
    Merged configuration '$WORKSPACE/nrf/samples/bootloader/boards/nrf5340dk_nrf5340_cpuapp.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/build_nrf5340dk/b0/zephyr/.config.sysbuild'
    Configuration saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk/b0/zephyr/.config'
    Kconfig header saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk/b0/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (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: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk/b0
    -- 
       *************************
       * Running CMake for app *
       *************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: $WORKSPACE/$PROJECT/app
    -- CMake version: 3.21.0
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: /Users/theuser/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 ($WORKSPACE/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk, qualifiers: nrf5340/cpuapp/ns
    -- Found host-tools: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found Dtc: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: $WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_ns.dts
    -- Found devicetree overlay: $WORKSPACE/$PROJECT/app/conf/boards/nrf5340dk_nrf5340_cpuapp_ns.overlay
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/zephyr.dts
    -- Generated pickled edt: $WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/edt.pickle
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: $WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: $WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/dts.cmake
    
    warning: THREAD_STACK_INFO (defined at kernel/Kconfig:189) was assigned the value 'n' but got the
    value 'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_THREAD_STACK_INFO and/or
    look up THREAD_STACK_INFO 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: Experimental symbol TFM_EXPERIMENTAL is enabled.
    
    
    warning: Experimental symbol COAP_SERVER is enabled.
    
    Parsing $WORKSPACE/$PROJECT/app/Kconfig
    Loaded configuration '$WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_ns_defconfig'
    Merged configuration '$WORKSPACE/$PROJECT/app/conf/prj.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/conf/boards/nrf5340dk_nrf5340_cpuapp_ns.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/conf/bluetooth.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/conf/bluetooth_mesh.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/conf/coap.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/conf/networking.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/conf/release.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/.config.sysbuild'
    Configuration saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/.config'
    Kconfig header saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (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: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    =========== Generating psa_crypto_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== End psa_crypto_config ===============
    =========== Generating psa_crypto_library_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== End psa_crypto_library_config ===============
    -- libmetal version: 1.7.0 ($WORKSPACE/$PROJECT/app)
    -- Build type:  
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- Vendor: none
    -- Looking for include file stdatomic.h
    -- Looking for include file stdatomic.h - found
    -- open-amp version: 1.7.0 ($WORKSPACE/modules/lib/open-amp/open-amp)
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- C_FLAGS :  -Wall -Wextra
    -- Looking for include file fcntl.h
    -- Looking for include file fcntl.h - found
    -- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
    -- Including signing script: $WORKSPACE/nrf/cmake/sysbuild/image_signing.cmake
    ### Extracting entry_types from CDDL ###
    ### Extracted entry_types: UuidBytes;UnprovisionedDevice;Device;Actions;Light;LightProperties;OnOff;ScanStatus;DimLevel;TransitionTime;DimCommand;Node;MacBytes;Discovery;AttentionDuration;IdentifyUnprovisionedDevice ###
    ### Generating code from CDDLs via zcbor... ###
    Parsing files: $WORKSPACE/$PROJECT/app/lib/api_cbor/schemas/api_cbor.cddl, $WORKSPACE/$PROJECT/app/lib/api_cbor/../../../../modules/lib/zcbor/zcbor/prelude.cddl
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/src/api_cbor_decode.c
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/include/api_cbor_decode.h
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/src/api_cbor_encode.c
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/include/api_cbor_encode.h
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/include/api_cbor_types.h
    ### Generating code from CDDLs via zcbor done. ###
    -- All lib dependencies of app:
    -- > zephyr_interface
    -- > FS
    -- > mbedTLS
    -- > mesh_adapters
    --   > zephyr_interface
    --   > mesh_domain
    --     > zephyr_interface
    --   > core_entities
    --     > zephyr_interface
    -- > mesh_domain
    --   > zephyr_interface
    -- > core_adapters
    --   > zephyr_interface
    --   > api_cbor
    --     > zephyr_interface
    -- > core_entities
    --   > zephyr_interface
    -- > core_domain
    --   > zephyr_interface
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk/app
    -- 
       ******************************
       * Running CMake for s1_image *
       ******************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: $WORKSPACE/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.21.0
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: /Users/theuser/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 ($WORKSPACE/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 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found Dtc: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: $WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp.dts
    -- Found devicetree overlay: $WORKSPACE/$PROJECT/app/sysbuild/mcuboot.overlay
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk/s1_image/zephyr/zephyr.dts
    -- Generated pickled edt: $WORKSPACE/$PROJECT/app/build_nrf5340dk/s1_image/zephyr/edt.pickle
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk/s1_image/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: $WORKSPACE/$PROJECT/app/build_nrf5340dk/s1_image/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: $WORKSPACE/$PROJECT/app/build_nrf5340dk/s1_image/zephyr/dts.cmake
    -- Found GnuLd: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (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: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
    CMake Warning at $WORKSPACE/zephyr/CMakeLists.txt:1002 (message):
      No SOURCES given to Zephyr library: drivers__console
    
      Excluding target from build.
    
    
    MCUBoot bootloader key file: $WORKSPACE/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!
    
    
    MCUBoot bootloader encryption key file: $WORKSPACE/$PROJECT/app/firmware-encryption-key.pem
    -- Configuring done
    -- Generating done
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        EXTRA_KCONFIG_TARGETS
        FORCED_CONF_FILE
    
    
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk/s1_image
    CMake Warning at $WORKSPACE/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):
      $WORKSPACE/nrf/cmake/sysbuild/partition_manager.cmake:620 (partition_manager)
      $WORKSPACE/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)
      $WORKSPACE/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
      $WORKSPACE/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      $WORKSPACE/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
      template/CMakeLists.txt:10 (find_package)
    
    
    Dropping partition 'tfm_ps' since its size is 0.
    Dropping partition 'tfm_otp_nv_counters' since its size is 0.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk
    -- west build: building application
    [0/67] Creating public key from private key used for signing
    [16/67] No patch step for 'b0'
    [18/67] No patch step for 'app'
    [19/67] No patch step for 's1_image'
    [20/67] No patch step for 'ipc_radio'
    [21/67] No patch step for 'mcuboot'
    [22/67] No configure step for 'b0'
    [22/67] Performing build step for 'b0'
    [1/144] Preparing syscall dependency handling
    
    [2/144] Generating ../../zephyr/include/generated/zephyr_commit.h
    [3/144] Generating ../../zephyr/include/generated/ncs_commit.h
    [4/144] Generating misc/generated/syscalls_subdirs.trigger
    [5/144] Generating ../../zephyr/include/generated/ncs_version.h
    [6/144] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
    [7/144] Generating include/generated/device-api-sections.ld, include/generated/device-api-sections.cmake
    [8/144] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_exports_llext.c, syscall_weakdefs_llext.c, include/generated/zephyr/syscall_list.h
    [9/144] Generating include/generated/zephyr/driver-validation.h
    [10/144] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
    [11/144] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
    [12/144] Generating include/generated/zephyr/version.h
    -- Zephyr version: 4.0.99 ($WORKSPACE/zephyr), build: 9c5b2d0faa44
    [13/144] Generating include/generated/zephyr/offsets.h
    [14/144] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
    [15/144] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
    [16/144] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
    [17/144] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
    [18/144] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
    [19/144] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
    [20/144] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
    [21/144] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
    [22/144] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
    [23/144] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
    [24/144] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
    [25/144] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
    [26/144] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
    [27/144] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
    [28/144] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
    [29/144] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
    [30/144] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
    [31/144] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
    [32/144] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
    [33/144] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
    [34/144] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
    [35/144] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
    [36/144] Generating linker_zephyr_pre0.cmd
    [37/144] Building C object zephyr/arch/arch/arm/core/cortex_m/cmse/CMakeFiles/arch__arm__core__cortex_m__cmse.dir/arm_core_cmse.c.obj
    [38/144] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
    [39/144] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
    [40/144] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
    [41/144] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
    [42/144] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
    [43/144] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
    [44/144] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
    [45/144] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
    [46/144] Building C object zephyr/soc/soc/nrf5340/CMakeFiles/soc__nordic.dir/validate_base_addresses.c.obj
    [47/144] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
    [48/144] Building C object zephyr/soc/soc/nrf5340/CMakeFiles/soc__nordic.dir/validate_binding_headers.c.obj
    [49/144] Linking C static library zephyr/arch/common/libisr_tables.a
    [50/144] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
    [51/144] Building C object zephyr/soc/soc/nrf5340/CMakeFiles/soc__nordic.dir/nrf53/soc.c.obj
    [52/144] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
    [53/144] Building C object zephyr/soc/soc/nrf5340/CMakeFiles/soc__nordic.dir/nrf53/nrf53_cpunet_mgmt.c.obj
    [54/144] Building C object zephyr/soc/soc/nrf5340/CMakeFiles/soc__nordic.dir/validate_enabled_instances.c.obj
    [55/144] Building C object zephyr/soc/soc/nrf5340/CMakeFiles/soc__nordic.dir/common/reboot.c.obj
    [56/144] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
    [57/144] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_nrf.c.obj
    [58/144] Linking C static library zephyr/arch/arch/arm/core/cortex_m/cmse/libarch__arm__core__cortex_m__cmse.a
    [59/144] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
    [60/144] Building C object modules/nrf/subsys/bootloader/bl_boot/CMakeFiles/..__nrf__subsys__bootloader__bl_boot.dir/bl_boot.c.obj
    [61/144] Building C object modules/nrf/lib/fprotect/CMakeFiles/..__nrf__lib__fprotect.dir/fprotect_spu.c.obj
    [62/144] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
    [63/144] Building C object modules/nrf/subsys/bootloader/bl_crypto/CMakeFiles/..__nrf__subsys__bootloader__bl_crypto.dir/bl_crypto.c.obj
    [64/144] Building C object modules/nrf/subsys/bootloader/bl_crypto/CMakeFiles/..__nrf__subsys__bootloader__bl_crypto.dir/bl_crypto_oberon_ecdsa.c.obj
    [65/144] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
    [66/144] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
    [67/144] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
    [68/144] Building C object modules/nrf/subsys/bootloader/bl_crypto/CMakeFiles/..__nrf__subsys__bootloader__bl_crypto.dir/bl_crypto_oberon_hash.c.obj
    [69/144] Linking C static library zephyr/arch/common/libarch__common.a
    [70/144] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/mdk/system_nrf5340_application.c.obj
    [71/144] Linking C static library zephyr/drivers/console/libdrivers__console.a
    [72/144] Building C object modules/nrf/subsys/bootloader/bl_storage/CMakeFiles/..__nrf__subsys__bootloader__bl_storage.dir/bl_storage.c.obj
    [73/144] Linking C static library zephyr/soc/soc/nrf5340/libsoc__nordic.a
    [74/144] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
    [75/144] Building C object modules/nrf/subsys/bootloader/bl_validation/CMakeFiles/..__nrf__subsys__bootloader__bl_validation.dir/bl_validation.c.obj
    [76/144] Building C object modules/nrf/subsys/fw_info/CMakeFiles/..__nrf__subsys__fw_info.dir/fw_info.c.obj
    [77/144] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
    [78/144] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_nrf.c.obj
    [79/144] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
    [80/144] Linking C static library modules/nrf/subsys/bootloader/bl_boot/lib..__nrf__subsys__bootloader__bl_boot.a
    [81/144] Linking C static library modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a
    [82/144] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
    [83/144] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/helpers/nrfx_flag32_allocator.c.obj
    [84/144] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/helpers/nrfx_gppi_dppi.c.obj
    [85/144] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/helpers/nrfx_gppi_ppi.c.obj
    [86/144] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/helpers/nrfx_ram_ctrl.c.obj
    [87/144] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj
    [88/144] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/drivers/src/nrfx_dppi.c.obj
    [89/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
    [90/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
    [91/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
    [92/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
    [93/144] Linking C static library modules/nrf/subsys/bootloader/bl_crypto/lib..__nrf__subsys__bootloader__bl_crypto.a
    [94/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init_static.c.obj
    [95/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
    [96/144] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
    [97/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
    [98/144] Linking C static library modules/nrf/subsys/bootloader/bl_storage/lib..__nrf__subsys__bootloader__bl_storage.a
    [99/144] Linking C static library modules/nrf/subsys/fw_info/lib..__nrf__subsys__fw_info.a
    [100/144] Linking C static library modules/nrf/subsys/bootloader/bl_validation/lib..__nrf__subsys__bootloader__bl_validation.a
    [101/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
    [102/144] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
    [103/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
    [104/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
    [105/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
    [106/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/nothread.c.obj
    [107/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/float.c.obj
    [108/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
    [109/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
    [110/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
    [111/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
    [112/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
    [113/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/dynamic_disabled.c.obj
    [114/144] Building C object CMakeFiles/app.dir/src/main.c.obj
    [115/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
    [116/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
    [117/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
    [118/144] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
    [119/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
    [120/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
    [121/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
    [122/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
    [123/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/last_section_id.c.obj
    [124/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
    [125/144] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
    [126/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
    [127/144] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
    [128/144] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
    [129/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
    [130/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/notify.c.obj
    [131/144] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/onoff.c.obj
    [132/144] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
    [133/144] Linking C static library modules/hal_nordic/modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a
    [134/144] Building C object zephyr/CMakeFiles/zephyr.dir$WORKSPACE/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
    [135/144] Building C object zephyr/CMakeFiles/zephyr.dir$WORKSPACE/nrf/lib/boot_banner/banner.c.obj
    [136/144] Linking C static library app/libapp.a
    [137/144] Linking C static library zephyr/kernel/libkernel.a
    [138/144] Linking C static library zephyr/libzephyr.a
    [139/144] Linking C executable zephyr/zephyr_pre0.elf
    [140/144] Generating linker.cmd
    [141/144] Generating isr_tables.c, isr_tables_vt.ld, isr_tables_swi.ld
    [142/144] Building C object zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj
    [143/144] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj
    [144/144] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       23220 B        32 KB     70.86%
                 RAM:        4496 B       256 KB      1.72%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from $WORKSPACE/$PROJECT/app/build_nrf5340dk/b0/zephyr/zephyr.elf for board: nrf5340dk
    [26/67] No configure step for 'ipc_radio'
    [27/67] Performing build step for 'app'
    [0/1] Re-running CMake...
    Loading Zephyr default modules (Zephyr base (cached)).
    -- Application: $WORKSPACE/$PROJECT/app
    -- CMake version: 3.21.0
    -- Cache files will be written to: /Users/theuser/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 ($WORKSPACE/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk, qualifiers: nrf5340/cpuapp/ns
    -- Found host-tools: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found BOARD.dts: $WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_ns.dts
    -- Found devicetree overlay: $WORKSPACE/$PROJECT/app/conf/boards/nrf5340dk_nrf5340_cpuapp_ns.overlay
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/zephyr.dts
    -- Generated pickled edt: $WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/edt.pickle
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: $WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: $WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/dts.cmake
    
    warning: Experimental symbol TFM_EXPERIMENTAL is enabled.
    
    
    warning: Experimental symbol COAP_SERVER is enabled.
    
    Parsing $WORKSPACE/$PROJECT/app/Kconfig
    Loaded configuration '$WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/.config'
    Merged configuration '$WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/.config.sysbuild'
    No change to configuration in '$WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/.config'
    No change to Kconfig header in '$WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/include/generated/zephyr/autoconf.h'
    =========== Generating psa_crypto_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== End psa_crypto_config ===============
    =========== Generating psa_crypto_library_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== End psa_crypto_library_config ===============
    -- libmetal version: 1.7.0 ($WORKSPACE/$PROJECT/app)
    -- Build type:  
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- Vendor: none
    -- open-amp version: 1.7.0 ($WORKSPACE/modules/lib/open-amp/open-amp)
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- C_FLAGS :  -Wall -Wextra
    -- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
    -- Including signing script: $WORKSPACE/nrf/cmake/sysbuild/image_signing.cmake
    ### Extracting entry_types from CDDL ###
    ### Extracted entry_types: UuidBytes;UnprovisionedDevice;Device;Actions;Light;LightProperties;OnOff;ScanStatus;DimLevel;TransitionTime;DimCommand;Node;MacBytes;Discovery;AttentionDuration;IdentifyUnprovisionedDevice ###
    ### Generating code from CDDLs via zcbor... ###
    Parsing files: $WORKSPACE/$PROJECT/app/lib/api_cbor/schemas/api_cbor.cddl, $WORKSPACE/$PROJECT/app/lib/api_cbor/../../../../modules/lib/zcbor/zcbor/prelude.cddl
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/src/api_cbor_decode.c
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/include/api_cbor_decode.h
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/src/api_cbor_encode.c
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/include/api_cbor_encode.h
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/include/api_cbor_types.h
    ### Generating code from CDDLs via zcbor done. ###
    -- All lib dependencies of app:
    -- > zephyr_interface
    -- > FS
    -- > mbedTLS
    -- > mesh_adapters
    --   > zephyr_interface
    --   > mesh_domain
    --     > zephyr_interface
    --   > core_entities
    --     > zephyr_interface
    -- > mesh_domain
    --   > zephyr_interface
    -- > core_adapters
    --   > zephyr_interface
    --   > api_cbor
    --     > zephyr_interface
    -- > core_entities
    --   > zephyr_interface
    -- > core_domain
    --   > zephyr_interface
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk/app
    [1/546] Preparing syscall dependency handling
    
    [2/546] Generating ../../zephyr/include/generated/zephyr_commit.h
    [3/546] Generating ../../zephyr/include/generated/app_commit.h
    [4/546] Generating include/generated/zephyr/app_version.h
    [5/546] Generating ../../zephyr/include/generated/ncs_commit.h
    [6/546] Generating misc/generated/syscalls_subdirs.trigger
    [7/546] Generating ../../zephyr/include/generated/ncs_version.h
    [8/546] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
    [9/546] Generating include/generated/device-api-sections.ld, include/generated/device-api-sections.cmake
    [10/546] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_exports_llext.c, syscall_weakdefs_llext.c, include/generated/zephyr/syscall_list.h
    [11/546] Generating include/generated/zephyr/driver-validation.h
    [12/546] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
    [13/546] Generating include/generated/zephyr/version.h
    -- Zephyr version: 4.0.99 ($WORKSPACE/zephyr), build: 9c5b2d0faa44
    [14/546] Generating ../../tfm/CMakeCache.txt
    -- Found Git: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/git (found version "2.37.3") 
    -- 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: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found version "3.12.4") found components: Interpreter 
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: /Users/theuser/Library/Caches/zephyr
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk/app/tfm
    [15/546] Creating directories for 'tfm'
    [16/546] No download step for 'tfm'
    [17/546] No update step for 'tfm'
    [18/546] No patch step for 'tfm'
    [19/546] No configure step for 'tfm'
    [19/546] Performing build step for 'tfm'
    [1/176] Building C object lib/fih/CMakeFiles/tfm_fih.dir/src/fih.o
    [2/176] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/platform/ext/common/syscalls_stub.o
    [3/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/utilities.o
    [4/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/spm_log.o
    [5/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/arch/tfm_arch.o
    [6/176] Building C object secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/psa_api_veneers_v80m.o
    [7/176] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/platform/ext/target/nordic_nrf/common/core/startup.o
    [8/176] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/platform/ext/target/nordic_nrf/common/core/startup_nrf5340.o
    [9/176] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/platform/ext/common/faults.o
    [10/176] Building C object secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/load_info_ns_agent_tz.o
    [11/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/tfm_boot_data.o
    [12/176] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o
    [13/176] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o
    [14/176] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/internal_trusted_storage/auto_generated/load_info_tfm_internal_trusted_storage.o
    [15/176] Linking C static library lib/fih/libtfm_fih.a
    [16/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/psa_version_api.o
    [17/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/psa_call_api.o
    [18/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/psa_api.o
    [19/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/spm_connection_pool.o
    [20/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/main.o
    [21/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/ns_client_ext/tfm_spm_ns_ctx.o
    [22/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/arch/tfm_arch_v8m_main.o
    [23/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/thread.o
    [24/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/psa_read_write_skip_api.o
    [25/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/rom_loader.o
    [26/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/backend_ipc.o
    [27/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/common/tfm_hal_nvic.o
    [28/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/tfm_pools.o
    [29/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/ns_agent_tz/ns_agent_tz_v80m.o
    [30/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/target/nordic_nrf/common/core/tfm_hal_platform_common.o
    [31/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/__/__/__/__/platform/ext/common/syscalls_stub.o
    [32/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/spm_ipc.o
    [33/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/common/syscalls_stub.o
    [34/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/core/tfm_svcalls.o
    [35/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/crt_memcmp.o
    [36/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/target/nordic_nrf/common/core/faults.o
    [37/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/crt_memmove.o
    [38/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/ns_agent_tz/load_info_ns_agent_tz.o
    [39/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/crt_strnlen.o
    [40/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o
    [41/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/__/__/__/shared/crt_memcpy.o
    [42/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/target/nordic_nrf/common/core/tfm_hal_isolation.o
    [43/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/sprt_partition_metadata_indicator.o
    [44/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/__/__/__/shared/crt_memset.o
    [45/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o
    [46/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/internal_trusted_storage/auto_generated/load_info_tfm_internal_trusted_storage.o
    [47/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/service_api.o
    [48/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/sfn_common_thread.o
    [49/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/psa_api_ipc.o
    [50/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/tfm_sp_log_raw.o
    [51/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/__/__/__/__/platform/ext/common/tfm_hal_sp_logdev_periph.o
    [52/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/__/__/__/__/interface/src/tfm_its_api.o
    [53/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/__/__/__/spm/core/psa_interface_svc.o
    [54/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/__/__/__/__/interface/src/tfm_platform_api.o
    [55/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/__/__/__/__/interface/src/tfm_psa_call.o
    [56/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sp_log.dir/tfm_sp_log_raw.o
    [57/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sp_log.dir/__/__/__/__/platform/ext/common/tfm_hal_sp_logdev_periph.o
    [58/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/__/__/__/spm/core/psa_interface_thread_fn_call.o
    [59/176] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_asymmetric.o
    [60/176] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_hash.o
    [61/176] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_aead.o
    [62/176] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/__/__/__/generated/secure_fw/partitions/crypto/auto_generated/intermedia_tfm_crypto.o
    [63/176] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_rng.o
    [64/176] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_key_derivation.o
    [65/176] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_library.o
    [66/176] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_alloc.o
    [67/176] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_cipher.o
    [68/176] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_mac.o
    [69/176] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_pake.o
    [70/176] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_key_management.o
    [71/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/constant_time.o
    [72/176] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_init.o
    [73/176] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/psa_driver_api/tfm_builtin_key_loader.o
    [74/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/bignum.o
    [75/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/nist_kw.o
    [76/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/bignum_core.o
    [77/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/block_cipher.o
    [78/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/version.o
    [79/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/padlock.o
    [80/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/asn1write.o
    [81/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/nrf_security_utils.dir/utils/nrf_security_mutexes.o
    [82/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/base64.o
    [83/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/nrf_security_utils.dir/utils/nrf_security_events.o
    [84/176] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/target/nordic_nrf/common/core/target_cfg.o
    [85/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/library/platform_util.o
    [86/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/library/platform.o
    [87/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/library/psa_crypto_client.o
    [88/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_helpers.o
    [89/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_ecdh.o
    [90/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_ecdsa.o
    [91/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/asn1parse.o
    [92/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/oid.o
    [93/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_ec_keys.o
    [94/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_key_management.o
    [95/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/memory_buffer_alloc.o
    [96/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_jpake.o
    [97/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/library/psa_crypto_storage.o
    [98/176] Building C object secure_fw/partitions/lib/runtime/CMakeFiles/tfm_sprt.dir/__/__/__/__/interface/src/tfm_crypto_api.o
    [99/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_key_derivation.o
    [100/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_aead.o
    [101/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_cipher.o
    [102/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_wpa3_sae.o
    [103/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_rsa.o
    [104/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_hash.o
    [105/176] Building C object secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/its_utils.o
    [106/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_spake2p.o
    [107/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_key_agreement.o
    [108/176] Building C object secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/tfm_its_req_mngr.o
    [109/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_srp.o
    [110/176] Building C object secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/tfm_internal_trusted_storage.o
    [111/176] Building C object secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash/its_flash.o
    [112/176] Building C object secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/__/__/__/generated/secure_fw/partitions/internal_trusted_storage/auto_generated/intermedia_tfm_internal_trusted_storage.o
    [113/176] Building C object secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash/its_flash_nand.o
    [114/176] Building C object secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash/its_flash_ram.o
    [115/176] Building C object secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash_fs/its_flash_fs_dblock.o
    [116/176] Building C object secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash/its_flash_nor.o
    [117/176] Building C object secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/__/platform/ext/common/syscalls_stub.o
    [118/176] Building C object secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/__/__/__/platform/ext/common/syscalls_stub.o
    [119/176] Building C object secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/platform_sp.o
    [120/176] Building C object secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/__/generated/secure_fw/partitions/platform/auto_generated/intermedia_tfm_platform.o
    [121/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.o
    [122/176] Building C object platform/CMakeFiles/platform_crypto_keys.dir/ext/common/syscalls_stub.o
    [123/176] Building C object secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash_fs/its_flash_fs.o
    [124/176] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/native_drivers/mpu_armv8m_drv.o
    [125/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/CMakeFiles/oberon_psa_driver.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/oberon/drivers/oberon_mac.o
    [126/176] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/nrf_exception_info.o
    [127/176] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/services/src/tfm_ioctl_core_s_api.o
    [128/176] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/nrfx_glue.o
    [129/176] Building C object platform/CMakeFiles/platform_crypto_keys.dir$WORKSPACE/nrf/modules/trusted-firmware-m/tfm_boards/common/crypto_keys.o
    [130/176] Building C object platform/CMakeFiles/platform_s.dir$WORKSPACE/nrf/modules/trusted-firmware-m/tfm_boards/common/assert.o
    [131/176] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/cmsis_drivers/Driver_Flash.o
    [132/176] Building C object platform/CMakeFiles/platform_s.dir$WORKSPACE/modules/hal/nordic/nrfx/mdk/system_nrf5340_application.o
    [133/176] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/native_drivers/spu.o
    [134/176] Building C object platform/CMakeFiles/platform_s.dir$WORKSPACE/nrf/modules/trusted-firmware-m/tfm_boards/common/dummy_otp.o
    [135/176] Building C object platform/CMakeFiles/platform_s.dir$WORKSPACE/nrf/modules/trusted-firmware-m/tfm_boards/common/dummy_provisioning.o
    [136/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir$WORKSPACE/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.o
    [137/176] Building C object platform/CMakeFiles/platform_s.dir$WORKSPACE/nrf/modules/trusted-firmware-m/tfm_boards/common/tfm_hal_platform.o
    [138/176] Building C object platform/CMakeFiles/platform_s.dir$WORKSPACE/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.o
    [139/176] Building C object secure_fw/partitions/internal_trusted_storage/CMakeFiles/tfm_psa_rot_partition_its.dir/flash_fs/its_flash_fs_mblock.o
    [140/176] Building C object platform/CMakeFiles/platform_s.dir/ext/common/tfm_hal_its.o
    [141/176] Building C object platform/CMakeFiles/platform_s.dir$WORKSPACE/nrf/lib/hw_unique_key/hw_unique_key_cc3xx.o
    [142/176] Building C object platform/CMakeFiles/platform_s.dir/ext/common/tfm_hal_spm_logdev_peripheral.o
    [143/176] Building C object platform/CMakeFiles/platform_s.dir/ext/common/template/tfm_rotpk.o
    [144/176] Building C object platform/CMakeFiles/platform_s.dir/ext/common/exception_info.o
    [145/176] Building C object platform/CMakeFiles/platform_s.dir/ext/common/uart_stdout.o
    [146/176] Building C object platform/CMakeFiles/platform_s.dir/ext/common/tfm_fatal_error.o
    [147/176] Building C object platform/CMakeFiles/platform_s.dir/ext/common/syscalls_stub.o
    [148/176] Building C object platform/target/nrf5340/nrf_common/CMakeFiles/tfm_s_scatter.dir/__/__/__/__/common/gcc/tfm_common_s.ld
    [149/176] Building C object platform/CMakeFiles/platform_s.dir$WORKSPACE/nrf/lib/hw_unique_key/hw_unique_key_cc3xx_kmu.o
    [150/176] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/cmsis_drivers/Driver_USART.o
    [151/176] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/services/src/tfm_platform_hal_ioctl.o
    [152/176] Building C object platform/CMakeFiles/platform_s.dir$WORKSPACE/nrf/modules/trusted-firmware-m/tfm_boards/common/tfm_hal_reset_halt.o
    [153/176] Building C object platform/CMakeFiles/platform_s.dir$WORKSPACE/nrf/modules/trusted-firmware-m/tfm_boards/src/tfm_platform_system.o
    [154/176] Building C object platform/CMakeFiles/platform_s.dir$WORKSPACE/nrf/modules/trusted-firmware-m/tfm_boards/src/tfm_ioctl_s_api.o
    [155/176] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/hw_init.o
    [156/176] Building C object platform/CMakeFiles/platform_s.dir$WORKSPACE/nrf/modules/trusted-firmware-m/tfm_boards/common/ns_fault_service.o
    [157/176] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/library/psa_crypto.o
    [158/176] Building C object platform/CMakeFiles/platform_s.dir$WORKSPACE/modules/hal/nordic/nrfx/drivers/src/nrfx_uarte.o
    [159/176] Linking C static library platform/libplatform_s.a
    [160/176] Linking C static library platform/libplatform_crypto_keys.a
    [161/176] Linking C static library secure_fw/partitions/platform/libtfm_psa_rot_partition_platform.a
    [162/176] Linking C static library secure_fw/partitions/internal_trusted_storage/libtfm_psa_rot_partition_its.a
    [163/176] Linking C static library secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/drivers/nrf_oberon/liboberon_psa_driver.a
    [164/176] Linking C static library secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/core/nrf_oberon/liboberon_psa_core.a
    [165/176] Linking C static library secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/libcrypto_service_mbedcrypto.a
    [166/176] Linking C static library secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/libnrf_security_utils.a
    [167/176] Linking C static library secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/libmbedcrypto_base.a
    [168/176] Linking C static library secure_fw/partitions/crypto/libtfm_psa_rot_partition_crypto.a
    [169/176] Linking C static library secure_fw/partitions/lib/runtime/libtfm_sp_log.a
    [170/176] Linking C static library secure_fw/partitions/lib/runtime/libtfm_sprt.a
    [171/176] Linking C static library secure_fw/spm/libtfm_spm.a
    [172/176] Linking C executable bin/tfm_s.axf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       80792 B     261632 B     30.88%
                 RAM:       43840 B       192 KB     22.30%
    [173/176] Generating ../bin/tfm_s.bin
    [174/176] Generating ../bin/tfm_s.hex
    [175/176] Generating ../bin/tfm_s.elf
    [176/176] Linking C static library secure_fw/libtfm_s_veneers.a
    [21/546] Performing install step for 'tfm'
    -- Install configuration: "MinSizeRel"
    ----- Installing platform NS -----
    [22/546] Completed 'tfm'
    [23/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/base64.c.obj
    [24/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/bignum_core.c.obj
    [25/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/nist_kw.c.obj
    [26/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/constant_time.c.obj
    [27/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/bignum.c.obj
    [28/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/padlock.c.obj
    [29/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/version.c.obj
    [30/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/block_cipher.c.obj
    [31/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/asn1write.c.obj
    [32/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/asn1parse.c.obj
    [33/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/mbedtls/library/oid.c.obj
    [34/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/library/platform.c.obj
    [35/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/pem.c.obj
    [36/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/pkcs12.c.obj
    [37/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/pkcs5.c.obj
    [38/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/pkparse.c.obj
    [39/546] Building C object lib/api_cbor/CMakeFiles/api_cbor.dir/autogen/src/api_cbor_decode.c.obj
    [40/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/library/platform_util.c.obj
    [41/546] Building C object lib/api_cbor/CMakeFiles/api_cbor.dir/autogen/src/api_cbor_encode.c.obj
    [42/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/legacy/memory_buffer_alloc.c.obj
    [43/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/dhm.c.obj
    [44/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/nrf_security_utils.dir/utils/nrf_security_mutexes.c.obj
    [45/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/nrf_security_utils.dir/utils/nrf_security_events.c.obj
    [46/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/pkwrite.c.obj
    [47/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/cipher.c.obj
    [48/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/cipher_wrap.c.obj
    [49/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/md.c.obj
    [50/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/psa_util.c.obj
    [51/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/pk_wrap.c.obj
    [52/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/sha1.c.obj
    [53/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/pk_ecc.c.obj
    [54/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/oberon-psa-crypto/programs/ssl/library/pk.c.obj
    [55/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/sha256.c.obj
    [56/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/sha512.c.obj
    [57/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/sha3.c.obj
    [58/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/aesce.c.obj
    [59/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/md5.c.obj
    [60/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/aes.c.obj
    [61/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/cmac.c.obj
    [62/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/aesni.c.obj
    [63/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/ccm.c.obj
    [64/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/ecdh.c.obj
    [65/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/chachapoly.c.obj
    [66/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/ecp.c.obj
    [67/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/ecp_curves.c.obj
    [68/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/gcm.c.obj
    [69/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/ecp_curves_new.c.obj
    [70/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/hkdf.c.obj
    [71/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/rsa.c.obj
    [72/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/legacy/ecdsa_oberon.c.obj
    [73/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/ctr_drbg.c.obj
    [74/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/hmac_drbg.c.obj
    [75/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/rsa_alt_helpers.c.obj
    [76/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/legacy/md_ext.c.obj
    [77/546] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
    [78/546] Building CXX object lib/core/entities/CMakeFiles/core_entities.dir/empty.cpp.obj
    [79/546] Building CXX object lib/mesh/domain/CMakeFiles/mesh_domain.dir/usecases/identify_unprovisioned_device_usecase.cpp.obj
    [80/546] Building CXX object lib/mesh/domain/CMakeFiles/mesh_domain.dir/mesh_device_descriptor_container.cpp.obj
    [81/546] Building CXX object lib/mesh/domain/CMakeFiles/mesh_domain.dir/composition_data_service_utility.cpp.obj
    [82/546] Building CXX object lib/mesh/domain/CMakeFiles/mesh_domain.dir/usecases/remove_node_usecase.cpp.obj
    [83/546] Building CXX object lib/mesh/domain/CMakeFiles/mesh_domain.dir/generic_nlc_decomposer.cpp.obj
    [84/546] Building CXX object lib/core/domain/CMakeFiles/core_domain.dir/device_descriptor_repository.cpp.obj
    [85/546] Building CXX object lib/mesh/domain/CMakeFiles/mesh_domain.dir/generic_lightness_decomposer.cpp.obj
    [86/546] Building CXX object lib/core/domain/CMakeFiles/core_domain.dir/device_provisioning.cpp.obj
    [87/546] Building CXX object lib/core/domain/CMakeFiles/core_domain.dir/models/actions/action_id.cpp.obj
    [88/546] Building CXX object lib/mesh/domain/CMakeFiles/mesh_domain.dir/usecases/reset_nodes_usecase.cpp.obj
    [89/546] Building CXX object lib/mesh/domain/CMakeFiles/mesh_domain.dir/usecases/identify_node_usecase.cpp.obj
    [90/546] Building CXX object lib/core/domain/CMakeFiles/core_domain.dir/models/properties/property_id.cpp.obj
    [91/546] Building CXX object lib/mesh/domain/CMakeFiles/mesh_domain.dir/usecases/product_decomposition_usecase.cpp.obj
    [92/546] Building CXX object lib/core/domain/CMakeFiles/core_domain.dir/repositories/node_additional_info_repository.cpp.obj
    [93/546] Linking C static library modules/nrf/subsys/nrf_security/src/libnrf_security_utils.a
    [94/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir$WORKSPACE/modules/crypto/mbedtls/library/entropy.c.obj
    [95/546] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/legacy/ecjpake_oberon.c.obj
    [96/546] Building CXX object lib/core/domain/CMakeFiles/core_domain.dir/parse_helpers.cpp.obj
    [97/546] Building CXX object lib/core/adapters/CMakeFiles/core_adapters.dir/mesh/mesh_device_repository.cpp.obj
    [98/546] Building CXX object lib/core/adapters/CMakeFiles/core_adapters.dir/factory_reset_signal_manager.cpp.obj
    [99/546] Linking C static library modules/nrf/subsys/nrf_security/src/libmbedcrypto_base.a
    [100/546] Linking C static library modules/nrf/subsys/nrf_security/src/libmbedcrypto.a
    [101/546] Building CXX object lib/core/adapters/CMakeFiles/core_adapters.dir/coap/coap_controller_discovery.cpp.obj
    [102/546] Building CXX object lib/core/adapters/CMakeFiles/core_adapters.dir/mesh/mesh_scan_provisioning_coap_controller.cpp.obj
    [103/546] Linking C static library lib/api_cbor/libapi_cbor.a
    [104/546] Linking CXX static library lib/core/entities/libcore_entities.a
    [105/546] Linking CXX static library lib/core/domain/libcore_domain.a
    [106/546] Generating include/generated/zephyr/offsets.h
    [107/546] Linking CXX static library lib/mesh/domain/libmesh_domain.a
    [108/546] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/bt_str.c.obj
    [109/546] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/addr.c.obj
    [110/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_common.c.obj
    [111/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/crypto_psa.c.obj
    [112/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/id.c.obj
    [113/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/settings.c.obj
    [114/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/long_wq.c.obj
    [115/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/adv.c.obj
    [116/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/l2cap.c.obj
    [117/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/gatt.c.obj
    [118/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/scan.c.obj
    [119/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/conn.c.obj
    [120/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/uuid.c.obj
    [121/546] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
    [122/546] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/dummy.c.obj
    [123/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/att.c.obj
    [124/546] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_nrf.c.obj
    [125/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/smp_null.c.obj
    [126/546] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
    [127/546] Building C object modules/nrf/subsys/nrf_security/src/zephyr/CMakeFiles/mbedtls_zephyr.dir/psa_crypto_init.c.obj
    [128/546] Building C object zephyr/drivers/spi/CMakeFiles/drivers__spi.dir/spi_nrfx_spim.c.obj
    [129/546] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/nrf_rtc_timer.c.obj
    [130/546] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
    [131/546] Building C object modules/trusted-firmware-m/CMakeFiles/tfm_api.dir/src/zephyr_tfm_log.c.obj
    [132/546] Building C object modules/trusted-firmware-m/CMakeFiles/tfm_api.dir/__/__/tfm/api_ns/interface/src/tfm_its_api.c.obj
    [133/546] Building C object modules/trusted-firmware-m/CMakeFiles/tfm_api.dir/__/__/tfm/api_ns/interface/src/tfm_platform_api.c.obj
    [134/546] Building C object modules/nrf/modules/trusted-firmware-m/CMakeFiles/..__nrf__modules__trusted-firmware-m.dir/fault.c.obj
    [135/546] Building C object modules/nrf/modules/trusted-firmware-m/CMakeFiles/tfm_api_nrf.dir/tfm_boards/src/tfm_ioctl_ns_api.c.obj
    [136/546] Building C object modules/mcuboot/boot/bootutil/zephyr/CMakeFiles/mcuboot_util.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c.obj
    [137/546] Building C object modules/trusted-firmware-m/CMakeFiles/tfm_api.dir/interface/interface.c.obj
    [138/546] Building C object modules/trusted-firmware-m/CMakeFiles/tfm_api.dir/__/__/tfm/api_ns/interface/src/tfm_tz_psa_ns_api.c.obj
    [139/546] Building C object modules/trusted-firmware-m/CMakeFiles/tfm_api.dir/__/__/tfm/api_ns/interface/src/tfm_ioctl_core_ns_api.c.obj
    [140/546] Building C object modules/trusted-firmware-m/CMakeFiles/tfm_api.dir/__/__/tfm/api_ns/interface/src/tfm_crypto_api.c.obj
    [141/546] Building C object modules/nrf/subsys/nrf_security/src/zephyr/CMakeFiles/mbedtls_zephyr.dir/mbedtls_heap.c.obj
    [142/546] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/mdk/system_nrf5340_application.c.obj
    [143/546] Building C object zephyr/drivers/spi/CMakeFiles/drivers__spi.dir/spi_nrfx_common.c.obj
    [144/546] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
    [145/546] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
    [146/546] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/helpers/nrfx_ram_ctrl.c.obj
    [147/546] Linking C static library zephyr/subsys/bluetooth/common/libsubsys__bluetooth__common.a
    [148/546] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
    [149/546] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/helpers/nrfx_flag32_allocator.c.obj
    [150/546] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/helpers/nrfx_gppi_dppi.c.obj
    [151/546] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
    [152/546] Linking C static library modules/nrf/modules/trusted-firmware-m/lib..__nrf__modules__trusted-firmware-m.a
    [153/546] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/helpers/nrfx_gppi_ppi.c.obj
    [154/546] Linking C static library modules/nrf/modules/trusted-firmware-m/libtfm_api_nrf.a
    [155/546] Linking C static library modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a
    [156/546] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj
    [157/546] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/drivers/src/nrfx_gpiote.c.obj
    [158/546] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/drivers/src/nrfx_dppi.c.obj
    [159/546] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
    [160/546] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/drivers/src/nrfx_ipc.c.obj
    [161/546] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/__aeabi_atexit.c.obj
    [162/546] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
    [163/546] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
    [164/546] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
    [165/546] Linking C static library modules/trusted-firmware-m/libtfm_api.a
    [166/546] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
    [167/546] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
    [168/546] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/tls.c.obj
    [169/546] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
    [170/546] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
    [171/546] Linking C static library zephyr/drivers/spi/libdrivers__spi.a
    [172/546] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
    [173/546] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/vector_table.S.obj
    [174/546] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
    [175/546] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
    [176/546] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
    [177/546] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/swap_helper.S.obj
    [178/546] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
    [179/546] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/__aeabi_read_tp.S.obj
    [180/546] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_manage.c.obj
    [181/546] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread.c.obj
    [182/546] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/cpu_idle.c.obj
    [183/546] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/irq_init.c.obj
    [184/546] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/isr_wrapper.c.obj
    [185/546] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_core_mpu.c.obj
    [186/546] Building C object zephyr/arch/arch/arm/core/cortex_m/cmse/CMakeFiles/arch__arm__core__cortex_m__cmse.dir/arm_core_cmse.c.obj
    [187/546] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu_regions.c.obj
    [188/546] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/prep_c.c.obj
    [189/546] Building C object zephyr/arch/arch/arm/core/mpu/CMakeFiles/arch__arm__core__mpu.dir/arm_mpu.c.obj
    [190/546] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/chk_fail.c.obj
    [191/546] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/errno_wrap.c.obj
    [192/546] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/assert.c.obj
    [193/546] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/cbprintf.c.obj
    [194/546] Linking C static library zephyr/arch/common/libisr_tables.a
    [195/546] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/stdio.c.obj
    [196/546] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdio/remove.c.obj
    [197/546] Linking C static library zephyr/arch/arch/arm/core/libarch__arm__core.a
    [198/546] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/exit.c.obj
    [199/546] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj
    [200/546] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/locks.c.obj
    [201/546] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
    [202/546] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf_simple.c.obj
    [203/546] Building C object zephyr/lib/net_buf/CMakeFiles/lib__net_buf.dir/buf.c.obj
    [204/546] Building C object zephyr/lib/os/zvfs/CMakeFiles/lib__os__zvfs.dir/zvfs_eventfd.c.obj
    [205/546] Generating ../../../include/generated/posix/strsignal_table.h
    [206/546] Building C object zephyr/lib/os/zvfs/CMakeFiles/lib__os__zvfs.dir/zvfs_select.c.obj
    [207/546] Linking C static library zephyr/arch/arch/arm/core/cortex_m/cmse/libarch__arm__core__cortex_m__cmse.a
    [208/546] Linking C static library zephyr/arch/arch/arm/core/mpu/libarch__arm__core__mpu.a
    [209/546] Linking C static library zephyr/arch/common/libarch__common.a
    [210/546] Building C object zephyr/soc/soc/nrf5340/CMakeFiles/soc__nordic.dir/validate_base_addresses.c.obj
    [211/546] Building C object zephyr/soc/soc/nrf5340/CMakeFiles/soc__nordic.dir/validate_enabled_instances.c.obj
    [212/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/eventfd.c.obj
    [213/546] Linking C static library zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a
    [214/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/aio.c.obj
    [215/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/barrier.c.obj
    [216/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/perror.c.obj
    [217/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/file_system_r.c.obj
    [218/546] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a
    [219/546] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a
    [220/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/fd_mgmt.c.obj
    [221/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/fs.c.obj
    [222/546] Linking C static library zephyr/lib/net_buf/liblib__net_buf.a
    [223/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/fsync.c.obj
    [224/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/mqueue.c.obj
    [225/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/sleep.c.obj
    [226/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/net.c.obj
    [227/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/multi_process.c.obj
    [228/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/env.c.obj
    [229/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/device_io.c.obj
    [230/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/signal.c.obj
    [231/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/sysconf.c.obj
    [232/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/clock.c.obj
    [233/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/spinlock.c.obj
    [234/546] Generating linker_zephyr_pre0.cmd
    [235/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/timer.c.obj
    [236/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/semaphore.c.obj
    [237/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/confstr.c.obj
    [238/546] Building C object zephyr/lib/os/zvfs/CMakeFiles/lib__os__zvfs.dir/zvfs_poll.c.obj
    [239/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/timespec_to_timeout.c.obj
    [240/546] Building C object zephyr/soc/soc/nrf5340/CMakeFiles/soc__nordic.dir/validate_binding_headers.c.obj
    [241/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/rwlock.c.obj
    [242/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/cond.c.obj
    [243/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/grp.c.obj
    [244/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/pthread.c.obj
    [245/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/mutex.c.obj
    [246/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/pwd.c.obj
    [247/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/key.c.obj
    [248/546] Building C object zephyr/soc/soc/nrf5340/CMakeFiles/soc__nordic.dir/nrf53/soc.c.obj
    [249/546] Building C object zephyr/soc/soc/nrf5340/CMakeFiles/soc__nordic.dir/nrf53/nrf53_cpunet_mgmt.c.obj
    [250/546] Building C object zephyr/subsys/mgmt/mcumgr/util/CMakeFiles/subsys__mgmt__mcumgr__util.dir/src/zcbor_bulk.c.obj
    [251/546] Building C object zephyr/subsys/fs/CMakeFiles/subsys__fs.dir/fs.c.obj
    [252/546] Building C object zephyr/soc/soc/nrf5340/CMakeFiles/soc__nordic.dir/common/soc_secure.c.obj
    [253/546] Building C object zephyr/subsys/mgmt/mcumgr/mgmt/CMakeFiles/subsys__mgmt__mcumgr__mgmt.dir/src/mgmt.c.obj
    [254/546] Building C object zephyr/subsys/mgmt/mcumgr/grp/img_mgmt/CMakeFiles/subsys__mgmt__mcumgr__grp__img_mgmt.dir/src/img_mgmt.c.obj
    [255/546] Building C object zephyr/subsys/mgmt/mcumgr/smp/CMakeFiles/subsys__mgmt__mcumgr__smp.dir/src/smp.c.obj
    [256/546] Building C object zephyr/subsys/mgmt/mcumgr/grp/img_mgmt/CMakeFiles/subsys__mgmt__mcumgr__grp__img_mgmt.dir/src/zephyr_img_mgmt.c.obj
    [257/546] Building C object zephyr/subsys/mgmt/mcumgr/grp/img_mgmt/CMakeFiles/subsys__mgmt__mcumgr__grp__img_mgmt.dir/src/img_mgmt_state.c.obj
    [258/546] Building C object zephyr/subsys/mgmt/mcumgr/grp/img_mgmt/CMakeFiles/subsys__mgmt__mcumgr__grp__img_mgmt.dir/src/img_mgmt_util.c.obj
    [259/546] Building C object zephyr/subsys/fs/CMakeFiles/subsys__fs.dir/fs_impl.c.obj
    [260/546] Building CXX object lib/core/adapters/CMakeFiles/core_adapters.dir/devices/devices_coap_controller.cpp.obj
    [261/546] Building C object zephyr/subsys/mgmt/mcumgr/grp/os_mgmt/CMakeFiles/subsys__mgmt__mcumgr__grp__os_mgmt.dir/src/os_mgmt.c.obj
    [262/546] Building C object zephyr/subsys/mgmt/mcumgr/transport/CMakeFiles/subsys__mgmt__mcumgr__transport.dir/src/smp.c.obj
    [263/546] Building C object zephyr/subsys/mgmt/mcumgr/transport/CMakeFiles/subsys__mgmt__mcumgr__transport.dir/src/smp_uart.c.obj
    [264/546] Linking C static library zephyr/lib/os/zvfs/liblib__os__zvfs.a
    [265/546] Building C object zephyr/subsys/mgmt/mcumgr/transport/CMakeFiles/subsys__mgmt__mcumgr__transport.dir/src/serial_util.c.obj
    [266/546] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/random_entropy_device.c.obj
    [267/546] Linking C static library zephyr/subsys/mgmt/mcumgr/util/libsubsys__mgmt__mcumgr__util.a
    [268/546] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/random_xoshiro128.c.obj
    [269/546] Building C object modules/nrf/lib/dk_buttons_and_leds/CMakeFiles/..__nrf__lib__dk_buttons_and_leds.dir/dk_buttons_and_leds.c.obj
    [270/546] Linking C static library zephyr/soc/soc/nrf5340/libsoc__nordic.a
    [271/546] Linking C static library zephyr/subsys/mgmt/mcumgr/mgmt/libsubsys__mgmt__mcumgr__mgmt.a
    [272/546] Linking C static library zephyr/subsys/mgmt/mcumgr/smp/libsubsys__mgmt__mcumgr__smp.a
    [273/546] Building C object modules/nrf/subsys/bluetooth/mesh/CMakeFiles/..__nrf__subsys__bluetooth__mesh.dir/gen_onoff_cli.c.obj
    [274/546] Building C object modules/nrf/subsys/bluetooth/mesh/CMakeFiles/..__nrf__subsys__bluetooth__mesh.dir/model_utils.c.obj
    [275/546] Building C object modules/nrf/subsys/bluetooth/mesh/CMakeFiles/..__nrf__subsys__bluetooth__mesh.dir/lightness_cli.c.obj
    [276/546] Linking C static library zephyr/subsys/mgmt/mcumgr/grp/img_mgmt/libsubsys__mgmt__mcumgr__grp__img_mgmt.a
    [277/546] Linking C static library zephyr/subsys/fs/libsubsys__fs.a
    [278/546] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/drivers/src/nrfx_qspi.c.obj
    [279/546] Building C object modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir$WORKSPACE/modules/hal/nordic/nrfx/drivers/src/nrfx_spim.c.obj
    [280/546] Linking C static library zephyr/subsys/mgmt/mcumgr/grp/os_mgmt/libsubsys__mgmt__mcumgr__grp__os_mgmt.a
    [281/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/dma.c.obj
    [282/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/device.c.obj
    [283/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/init.c.obj
    [284/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/io.c.obj
    [285/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/irq.c.obj
    [286/546] Linking C static library zephyr/subsys/mgmt/mcumgr/transport/libsubsys__mgmt__mcumgr__transport.a
    [287/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/log.c.obj
    [288/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/shmem.c.obj
    [289/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/version.c.obj
    [290/546] Linking C static library zephyr/subsys/random/libsubsys__random.a
    [291/546] Linking C static library modules/nrf/lib/dk_buttons_and_leds/lib..__nrf__lib__dk_buttons_and_leds.a
    [292/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/softirq.c.obj
    [293/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/system/zephyr/condition.c.obj
    [294/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/system/zephyr/alloc.c.obj
    [295/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/system/zephyr/log.c.obj
    [296/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/system/zephyr/shmem.c.obj
    [297/546] Linking C static library modules/nrf/subsys/bluetooth/mesh/lib..__nrf__subsys__bluetooth__mesh.a
    [298/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/system/zephyr/device.c.obj
    [299/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/system/zephyr/init.c.obj
    [300/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/system/zephyr/time.c.obj
    [301/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/system/zephyr/irq.c.obj
    [302/546] Building C object modules/nrf/subsys/nrf_security/src/zephyr/CMakeFiles/mbedtls_zephyr.dir$WORKSPACE/modules/crypto/mbedtls/library/platform.c.obj
    [303/546] Building CXX object CMakeFiles/app.dir/src/service_container.cpp.obj
    [304/546] Building CXX object CMakeFiles/app.dir/src/network_init.cpp.obj
    [305/546] Building CXX object CMakeFiles/app.dir/src/coap/coap_service_gateway.cpp.obj
    [306/546] Building CXX object CMakeFiles/app.dir/src/coap/coap_service_discovery.cpp.obj
    [307/546] Building CXX object CMakeFiles/app.dir/src/coap/server.cpp.obj
    [308/546] Building CXX object CMakeFiles/app.dir/src/coap/coap_service_nodes.cpp.obj
    [309/546] Building C object modules/libmetal/libmetal/lib/CMakeFiles/metal.dir/system/zephyr/sys.c.obj
    [310/546] Building CXX object CMakeFiles/app.dir/src/coap/generics.cpp.obj
    [311/546] Linking C static library modules/hal_nordic/modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a
    [312/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc32c_sw.c.obj
    [313/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc32_sw.c.obj
    [314/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc16_sw.c.obj
    [315/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc24_sw.c.obj
    [316/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc8_sw.c.obj
    [317/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc7_sw.c.obj
    [318/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc4_sw.c.obj
    [319/546] Building CXX object CMakeFiles/app.dir/src/coap/events.cpp.obj
    [320/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/cpp/abi/cpp_dtors.c.obj
    [321/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
    [322/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
    [323/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
    [324/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
    [325/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
    [326/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
    [327/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
    [328/546] Building CXX object CMakeFiles/app.dir/src/coap/coap_service_mesh.cpp.obj
    [329/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/base64.c.obj
    [330/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
    [331/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
    [332/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
    [333/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
    [334/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
    [335/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
    [336/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/last_section_id.c.obj
    [337/546] Linking C static library modules/nrf/subsys/nrf_security/src/zephyr/libmbedtls_zephyr.a
    [338/546] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
    [339/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
    [340/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
    [341/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
    [342/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/notify.c.obj
    [343/546] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/onoff.c.obj
    [344/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/nvs/nvs.c.obj
    [345/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/ipc/ipc_service/ipc_service.c.obj
    [346/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/ipc/ipc_service/lib/ipc_static_vrings.c.obj
    [347/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
    [348/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
    [349/546] Linking C static library modules/libmetal/libmetal/lib/libmetal.a
    [350/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/ipc/ipc_service/backends/ipc_rpmsg_static_vrings.c.obj
    [351/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/backends/log_backend_uart.c.obj
    [352/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
    [353/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
    [354/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/ipc/ipc_service/lib/ipc_rpmsg.c.obj
    [355/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
    [356/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj
    [357/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mgmt/mcumgr/bootutil_hooks/nrf53_hooks.c.obj
    [358/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map_layout.c.obj
    [359/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map.c.obj
    [360/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/dfu/img_util/flash_img.c.obj
    [361/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/stream/stream_flash.c.obj
    [362/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
    [363/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/coap/coap_link_format.c.obj
    [364/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/coap/coap_server.c.obj
    [365/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_store.c.obj
    [366/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/coap/coap.c.obj
    [367/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings.c.obj
    [368/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_init.c.obj
    [369/546] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/flash/flash_util.c.obj
    [370/546] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
    [371/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_nvs.c.obj
    [372/546] Building C object zephyr/CMakeFiles/zephyr.dir$WORKSPACE/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
    [373/546] Building C object zephyr/CMakeFiles/zephyr.dir$WORKSPACE/nrf/subsys/bluetooth/hci_vs_sdc.c.obj
    [374/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/addr.c.obj
    [375/546] Building C object zephyr/CMakeFiles/zephyr.dir$WORKSPACE/nrf/subsys/bluetooth/host_extensions/host_extensions.c.obj
    [376/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/data.c.obj
    [377/546] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_line.c.obj
    [378/546] Building C object zephyr/CMakeFiles/zephyr.dir$WORKSPACE/nrf/lib/boot_banner/banner.c.obj
    [379/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_core.c.obj
    [380/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/main.c.obj
    [381/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/cfg.c.obj
    [382/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/adv.c.obj
    [383/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/beacon.c.obj
    [384/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/net.c.obj
    [385/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/heartbeat.c.obj
    [386/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/app_keys.c.obj
    [387/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/msg.c.obj
    [388/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/access.c.obj
    [389/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/health_srv.c.obj
    [390/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/cfg_srv.c.obj
    [391/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/va.c.obj
    [392/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/transport.c.obj
    [393/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/adv_ext.c.obj
    [394/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/settings.c.obj
    [395/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/subnet.c.obj
    [396/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/crypto.c.obj
    [397/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/prov.c.obj
    [398/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/rpl.c.obj
    [399/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/provisioner.c.obj
    [400/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/pb_gatt.c.obj
    [401/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/provisionee.c.obj
    [402/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/pb_adv.c.obj
    [403/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/proxy_srv.c.obj
    [404/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/gatt_cli.c.obj
    [405/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/proxy_msg.c.obj
    [406/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/pb_gatt_cli.c.obj
    [407/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/cfg_cli.c.obj
    [408/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/health_cli.c.obj
    [409/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/cdb.c.obj
    [410/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/delayable_msg.c.obj
    [411/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/crypto_psa.c.obj
    [412/546] Building C object zephyr/subsys/dfu/boot/CMakeFiles/subsys__dfu__boot.dir/mcuboot.c.obj
    [413/546] Linking C static library zephyr/libzephyr.a
    [414/546] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/lib/sockets/getnameinfo.c.obj
    [415/546] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/hostname.c.obj
    [416/546] Building C object zephyr/subsys/bluetooth/mesh/CMakeFiles/subsys__bluetooth__mesh.dir/rpr_cli.c.obj
    [417/546] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/lib/sockets/getaddrinfo.c.obj
    [418/546] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/lib/sockets/sockets.c.obj
    [419/546] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/lib/sockets/sockets_misc.c.obj
    [420/546] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/lib/sockets/socketpair.c.obj
    [421/546] Building C object zephyr/subsys/net/l2/ethernet/CMakeFiles/subsys__net__l2__ethernet.dir/ethernet.c.obj
    [422/546] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/lib/sockets/sockets_inet.c.obj
    [423/546] Building C object zephyr/subsys/net/l2/ethernet/CMakeFiles/subsys__net__l2__ethernet.dir/arp.c.obj
    [424/546] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_timeout.c.obj
    [425/546] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_core.c.obj
    [426/546] Building C object zephyr/lib/posix/options/CMakeFiles/lib__posix__options.dir/uname.c.obj
    [427/546] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_if.c.obj
    [428/546] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_mgmt.c.obj
    [429/546] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/utils.c.obj
    [430/546] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_pkt.c.obj
    [431/546] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_context.c.obj
    [432/546] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/net_tc.c.obj
    [433/546] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/icmp.c.obj
    [434/546] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/connection.c.obj
    [435/546] Linking C static library zephyr/subsys/dfu/boot/libsubsys__dfu__boot.a
    [436/546] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/ipv4.c.obj
    [437/546] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/icmpv4.c.obj
    [438/546] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/udp.c.obj
    [439/546] Building C object zephyr/subsys/net/lib/config/CMakeFiles/subsys__net__lib__config.dir/init.c.obj
    [440/546] Linking C static library zephyr/subsys/net/libsubsys__net.a
    [441/546] Building C object zephyr/drivers/bluetooth/CMakeFiles/drivers__bluetooth.dir/hci/ipc.c.obj
    [442/546] Building C object zephyr/subsys/net/lib/dhcpv4/CMakeFiles/subsys__net__lib__dhcpv4.dir/dhcpv4.c.obj
    [443/546] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj
    [444/546] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_mcumgr.c.obj
    [445/546] Building C object zephyr/drivers/bluetooth/CMakeFiles/drivers__bluetooth.dir/hci/nrf53_support.c.obj
    [446/546] Linking C static library zephyr/subsys/net/l2/ethernet/libsubsys__net__l2__ethernet.a
    [447/546] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_nrf.c.obj
    [448/546] Building C object zephyr/drivers/entropy/CMakeFiles/drivers__entropy.dir/entropy_psa_crypto.c.obj
    [449/546] Building C object zephyr/drivers/ethernet/CMakeFiles/drivers__ethernet.dir/eth_w5500.c.obj
    [450/546] Building C object zephyr/drivers/entropy/CMakeFiles/drivers__entropy.dir/entropy_bt_hci.c.obj
    [451/546] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/jesd216.c.obj
    [452/546] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_page_layout.c.obj
    [453/546] Linking C static library zephyr/lib/posix/options/liblib__posix__options.a
    [454/546] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/nrf_qspi_nor.c.obj
    [455/546] Linking C static library zephyr/subsys/bluetooth/mesh/libsubsys__bluetooth__mesh.a
    [456/546] Linking C static library zephyr/subsys/net/lib/config/libsubsys__net__lib__config.a
    [457/546] Linking C static library zephyr/subsys/net/lib/dhcpv4/libsubsys__net__lib__dhcpv4.a
    [458/546] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/soc_flash_nrf.c.obj
    [459/546] Linking C static library zephyr/drivers/console/libdrivers__console.a
    [460/546] Building C object modules/open-amp/open-amp/lib/CMakeFiles/open_amp.dir/version.c.obj
    [461/546] Linking C static library zephyr/subsys/net/ip/libsubsys__net__ip.a
    [462/546] Linking C static library zephyr/drivers/bluetooth/libdrivers__bluetooth.a
    [463/546] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
    [464/546] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj
    [465/546] Building C object zephyr/drivers/mbox/CMakeFiles/drivers__mbox.dir/mbox_nrfx_ipc.c.obj
    [466/546] Linking C static library zephyr/drivers/ethernet/libdrivers__ethernet.a
    [467/546] Building C object modules/open-amp/open-amp/lib/CMakeFiles/open_amp.dir/rpmsg/rpmsg_virtio.c.obj
    [468/546] Linking C static library zephyr/drivers/entropy/libdrivers__entropy.a
    [469/546] Building C object modules/open-amp/open-amp/lib/CMakeFiles/open_amp.dir/virtio/virtio.c.obj
    [470/546] Building C object modules/open-amp/open-amp/lib/CMakeFiles/open_amp.dir/virtio/virtqueue.c.obj
    [471/546] Building C object modules/open-amp/open-amp/lib/CMakeFiles/open_amp.dir/remoteproc/remoteproc_virtio.c.obj
    [472/546] Building C object modules/open-amp/open-amp/lib/CMakeFiles/open_amp.dir/remoteproc/remoteproc.c.obj
    [473/546] Building C object modules/open-amp/open-amp/lib/CMakeFiles/open_amp.dir/rpmsg/rpmsg.c.obj
    [474/546] Building C object modules/open-amp/open-amp/lib/CMakeFiles/open_amp.dir/remoteproc/elf_loader.c.obj
    [475/546] Building C object modules/zcbor/CMakeFiles/modules__zcbor.dir$WORKSPACE/modules/lib/zcbor/src/zcbor_common.c.obj
    [476/546] Building C object modules/zcbor/CMakeFiles/modules__zcbor.dir$WORKSPACE/modules/lib/zcbor/src/zcbor_decode.c.obj
    [477/546] Building C object modules/zcbor/CMakeFiles/modules__zcbor.dir$WORKSPACE/modules/lib/zcbor/src/zcbor_encode.c.obj
    [478/546] Building C object modules/open-amp/open-amp/lib/CMakeFiles/open_amp.dir/remoteproc/rsc_table_parser.c.obj
    [479/546] Building C object modules/open-amp/open-amp/lib/CMakeFiles/open_amp.dir/utils/utilities.c.obj
    [480/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/busy_wait.c.obj
    [481/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
    [482/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
    [483/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
    [484/546] Linking C static library zephyr/drivers/flash/libdrivers__flash.a
    [485/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
    [486/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
    [487/546] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
    [488/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
    [489/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init_static.c.obj
    [490/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
    [491/546] Linking C static library zephyr/drivers/mbox/libdrivers__mbox.a
    [492/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
    [493/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/float.c.obj
    [494/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
    [495/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
    [496/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
    [497/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
    [498/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
    [499/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
    [500/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
    [501/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
    [502/546] Linking C static library modules/zcbor/libmodules__zcbor.a
    [503/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
    [504/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/priority_queues.c.obj
    [505/546] Linking C static library modules/open-amp/open-amp/lib/libopen_amp.a
    [506/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
    [507/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
    [508/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
    [509/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeslicing.c.obj
    [510/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
    [511/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
    [512/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
    [513/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
    [514/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
    [515/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/pipes.c.obj
    [516/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
    [517/546] Building C object zephyr/kernel/CMakeFiles/kernel.dir/dynamic_disabled.c.obj
    [518/546] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/buf.c.obj
    [519/546] Building CXX object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/composition_data_service.cpp.obj
    [520/546] Building CXX object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/mesh_gateway.cpp.obj
    [521/546] Building CXX object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/node_repository_impl.cpp.obj
    [522/546] Building CXX object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/sources/identify_mesh_source.cpp.obj
    [523/546] Building CXX object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/new_node_controller.cpp.obj
    [524/546] Building CXX object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/sources/dimming_value_mesh_source.cpp.obj
    [525/546] Building CXX object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/sources/onoff_mesh_source.cpp.obj
    [526/546] Building CXX object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/sources/dimming_range_mesh_source.cpp.obj
    [527/546] Building CXX object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/mesh_manager.cpp.obj
    [528/546] Building CXX object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/register_actions_properties.cpp.obj
    [529/546] Building CXX object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/mesh_scanner.cpp.obj
    [530/546] Building C object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/gateway_composition_data.c.obj
    [531/546] Building CXX object CMakeFiles/app.dir/src/coap/coap_service_devices.cpp.obj
    [532/546] Linking C static library zephyr/kernel/libkernel.a
    [533/546] Linking CXX static library lib/core/adapters/libcore_adapters.a
    [534/546] Linking C static library zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a
    [535/546] Building CXX object CMakeFiles/app.dir/src/main.cpp.obj
    [536/546] Building CXX object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/cbor_converter.cpp.obj
    [537/546] Building CXX object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/coap/coap_controller_nodes.cpp.obj
    [538/546] Building CXX object lib/mesh/adapters/CMakeFiles/mesh_adapters.dir/coap/coap_controller_scan.cpp.obj
    [539/546] Linking CXX static library lib/mesh/adapters/libmesh_adapters.a
    [540/546] Linking CXX static library app/libapp.a
    [541/546] Linking CXX executable zephyr/zephyr_pre0.elf
    [542/546] Generating linker.cmd
    [543/546] Generating isr_tables.c, isr_tables_vt.ld, isr_tables_swi.ld
    [544/546] Building C object zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj
    [545/546] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj
    [546/546] Linking CXX executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      327436 B       608 KB     52.59%
                 RAM:      129960 B       256 KB     49.58%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from $WORKSPACE/$PROJECT/app/build_nrf5340dk/app/zephyr/zephyr.elf for board: nrf5340dk
    image.py: sign the payload
    image.py: sign the payload
    image.py: sign the payload
    image.py: sign the payload
    [31/67] Generating ../b0_container.hex
    [32/67] Performing build step for 'mcuboot'
    [1/222] Preparing syscall dependency handling
    
    [2/222] Generating ../../zephyr/include/generated/app_commit.h
    [3/222] Generating ../../zephyr/include/generated/ncs_commit.h
    [4/222] Generating ../../zephyr/include/generated/zephyr_commit.h
    [5/222] Generating include/generated/zephyr/app_version.h
    [6/222] Generating misc/generated/syscalls_subdirs.trigger
    [7/222] Generating ../../zephyr/include/generated/ncs_version.h
    [8/222] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
    [9/222] Generating include/generated/device-api-sections.ld, include/generated/device-api-sections.cmake
    [10/222] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_exports_llext.c, syscall_weakdefs_llext.c, include/generated/zephyr/syscall_list.h
    [11/222] Generating include/generated/zephyr/driver-validation.h
    [12/222] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h
    [13/222] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
    [14/222] Generating include/generated/zephyr/offsets.h
    [15/222] Generating include/generated/zephyr/version.h
    -- Zephyr version: 4.0.99 ($WORKSPACE/zephyr), build: 9c5b2d0faa44
    [16/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc7_sw.c.obj
    [17/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc4_sw.c.obj
    [18/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc24_sw.c.obj
    [19/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc32_sw.c.obj
    [20/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc8_sw.c.obj
    [21/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc32c_sw.c.obj
    [22/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc16_sw.c.obj
    [23/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
    [24/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj
    [25/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
    [26/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
    [27/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
    [28/222] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
    [29/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_nano.c.obj
    [30/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
    [31/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/base64.c.obj
    [32/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj
    [33/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/hex.c.obj
    [34/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/timeutil.c.obj
    [35/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
    [36/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
    [37/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/last_section_id.c.obj
    [38/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/bitarray.c.obj
    [39/222] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
    [40/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/rb.c.obj
    [41/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/notify.c.obj
    [42/222] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map_layout.c.obj
    [43/222] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/onoff.c.obj
    [44/222] Building C object zephyr/CMakeFiles/zephyr.dir$WORKSPACE/nrf/lib/boot_banner/banner.c.obj
    [45/222] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
    [46/222] Building C object zephyr/CMakeFiles/zephyr.dir$WORKSPACE/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
    [47/222] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map.c.obj
    [48/222] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/flash/flash_util.c.obj
    [49/222] Building C object zephyr/CMakeFiles/zephyr.dir$WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/src/nrf_cc3xx_platform_abort_zephyr.c.obj
    [50/222] Building C object zephyr/CMakeFiles/zephyr.dir$WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/src/nrf_cc3xx_platform_no_mutex_zephyr.c.obj
    [51/222] Building C object zephyr/CMakeFiles/zephyr.dir$WORKSPACE/bootloader/mcuboot/boot/boot_serial/src/zcbor_bulk.c.obj
    [52/222] Building ASM object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi_on_reset.S.obj
    [53/222] Generating zephyr/autogen-enckey.c
    [54/222] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault_s.S.obj
    [55/222] Generating zephyr/autogen-pubkey.c
    [56/222] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/fatal.c.obj
    [57/222] Building C object zephyr/CMakeFiles/zephyr.dir$WORKSPACE/bootloader/mcuboot/boot/zephyr/serial_adapter.c.obj
    [58/222] Building C object zephyr/arch/arch/arm/core/CMakeFiles/arch__arm__core.dir/nmi.c.obj
    [59/222] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fault.c.obj
    [60/222] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/exc_exit.c.obj
    [61/222] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
    [62/222] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/thread_abort.c.obj
    [63/222] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
    [64/222] Building ASM object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/reset.S.obj
    [65/222] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/scb.c.obj
    [66/222] Building C object CMakeFiles/app.dir/io.c.obj
    [67/222] Building C object zephyr/arch/arch/arm/core/cortex_m/CMakeFiles/arch__arm__core__cortex_m.dir/fpu.c.obj
    [68/222] Building C object CMakeFiles/app.dir/os.c.obj
    [69/222] Building C object CMakeFiles/app.dir/keys.c.obj
    [70/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_ed25519.c.obj
    [71/222] Building C object CMakeFiles/app.dir/main.c.obj
    [72/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_rsa.c.obj
    [73/222] Building C object CMakeFiles/app.dir/flash_map_extended.c.obj
    [74/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/fault_injection_hardening.c.obj
    [75/222] Generating linker_zephyr_pre0.cmd
    [76/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/src/platform_util.c.obj
    [77/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/caps.c.obj
    [78/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/src/asn1parse.c.obj
    [79/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_decrypt.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_decrypt.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_decrypt.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_decrypt.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_decrypt.c.obj -c $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_decrypt.c
    $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_decrypt.c:33:10: fatal error: tinycrypt/aes.h: No such file or directory
       33 | #include <tinycrypt/aes.h>
          |          ^~~~~~~~~~~~~~~~~
    compilation terminated.
    [80/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_encrypt.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_encrypt.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_encrypt.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_encrypt.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_encrypt.c.obj -c $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_encrypt.c
    $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_encrypt.c:33:10: fatal error: tinycrypt/aes.h: No such file or directory
       33 | #include <tinycrypt/aes.h>
          |          ^~~~~~~~~~~~~~~~~
    compilation terminated.
    [81/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ctr_mode.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ctr_mode.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ctr_mode.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ctr_mode.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ctr_mode.c.obj -c $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ctr_mode.c
    $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ctr_mode.c:33:10: fatal error: tinycrypt/constants.h: No such file or directory
       33 | #include <tinycrypt/constants.h>
          |          ^~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    [82/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ecc_dh.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ecc_dh.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ecc_dh.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ecc_dh.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ecc_dh.c.obj -c $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ecc_dh.c
    $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ecc_dh.c:57:10: fatal error: tinycrypt/constants.h: No such file or directory
       57 | #include <tinycrypt/constants.h>
          |          ^~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    [83/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/tlv.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/tlv.c:25:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    [84/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_ecdsa.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_ecdsa.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_ecdsa.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_ecdsa.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_ecdsa.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_ecdsa.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_ecdsa.c:34:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    [85/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_validate.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_validate.c:55:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    [86/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_misc.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_misc.c:25:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    [87/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_nsib.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_nsib.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_nsib.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_nsib.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_nsib.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_nsib.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_nsib.c:25:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    [88/222] Building C object zephyr/CMakeFiles/zephyr.dir$WORKSPACE/bootloader/mcuboot/boot/boot_serial/src/boot_serial.c.obj
    FAILED: zephyr/CMakeFiles/zephyr.dir$WORKSPACE/bootloader/mcuboot/boot/boot_serial/src/boot_serial.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/zephyr/kernel/include -I$WORKSPACE/zephyr/arch/arm/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/CMakeFiles/zephyr.dir$WORKSPACE/bootloader/mcuboot/boot/boot_serial/src/boot_serial.c.obj -MF zephyr/CMakeFiles/zephyr.dir$WORKSPACE/bootloader/mcuboot/boot/boot_serial/src/boot_serial.c.obj.d -o zephyr/CMakeFiles/zephyr.dir$WORKSPACE/bootloader/mcuboot/boot/boot_serial/src/boot_serial.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/boot_serial/src/boot_serial.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/../src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/boot_serial/src/boot_serial.c:70:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    [89/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c:37:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    [90/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_move.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_move.c:25:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    [91/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/loader.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/loader.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/loader.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/loader.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/loader.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/loader.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/loader.c:42:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    [92/222] Building C object CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:26:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/ecdh_p256.h:18:6: error: #error "NONE!!! One crypto backend must be defined: either MBED_TLS or TINYCRYPT"
       18 |     #error "NONE!!! One crypto backend must be defined: either MBED_TLS or TINYCRYPT"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/ecdh_p256.h:28:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT"
       28 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT"
          |      ^~~~~
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:36:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/hmac_sha256.h:17:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT"
       17 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT"
          |      ^~~~~
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:43:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c: In function 'parse_ec256_enckey':
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:187:16: error: 'NUM_ECC_BYTES' undeclared (first use in this function)
      187 |     if (len != NUM_ECC_BYTES) {
          |                ^~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:187:16: note: each undeclared identifier is reported only once for each function it appears in
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c: In function 'hkdf':
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:270:5: error: unknown type name 'bootutil_hmac_sha256_context'; did you mean 'bootutil_sha_context'?
      270 |     bootutil_hmac_sha256_context hmac;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_context
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:288:5: warning: implicit declaration of function 'bootutil_hmac_sha256_init'; did you mean 'bootutil_sha_init'? [-Wimplicit-function-declaration]
      288 |     bootutil_hmac_sha256_init(&hmac);
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_init
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:291:10: warning: implicit declaration of function 'bootutil_hmac_sha256_set_key' [-Wimplicit-function-declaration]
      291 |     rc = bootutil_hmac_sha256_set_key(&hmac, salt, BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE);
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:296:10: warning: implicit declaration of function 'bootutil_hmac_sha256_update'; did you mean 'bootutil_sha_update'? [-Wimplicit-function-declaration]
      296 |     rc = bootutil_hmac_sha256_update(&hmac, ikm, ikm_len);
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
          |          bootutil_sha_update
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:301:10: warning: implicit declaration of function 'bootutil_hmac_sha256_finish'; did you mean 'bootutil_sha_finish'? [-Wimplicit-function-declaration]
      301 |     rc = bootutil_hmac_sha256_finish(&hmac, prk, BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE);
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
          |          bootutil_sha_finish
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:306:5: warning: implicit declaration of function 'bootutil_hmac_sha256_drop'; did you mean 'bootutil_sha_drop'? [-Wimplicit-function-declaration]
      306 |     bootutil_hmac_sha256_drop(&hmac);
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_drop
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c: In function 'boot_decrypt_key':
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:415:5: error: unknown type name 'bootutil_ecdh_p256_context'; did you mean 'bootutil_sha_context'?
      415 |     bootutil_ecdh_p256_context ecdh_p256;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_context
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:421:5: error: unknown type name 'bootutil_hmac_sha256_context'; did you mean 'bootutil_sha_context'?
      421 |     bootutil_hmac_sha256_context hmac;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_context
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:422:5: error: unknown type name 'bootutil_aes_ctr_context'; did you mean 'bootutil_sha_context'?
      422 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_context
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:122:24: error: 'NUM_ECC_BYTES' undeclared (first use in this function)
      122 | #define SHARED_KEY_LEN NUM_ECC_BYTES
          |                        ^~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:424:20: note: in expansion of macro 'SHARED_KEY_LEN'
      424 |     uint8_t shared[SHARED_KEY_LEN];
          |                    ^~~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:425:25: error: 'BOOTUTIL_CRYPTO_AES_CTR_KEY_SIZE' undeclared (first use in this function); did you mean 'BOOTUTIL_CRYPTO_SHA256_BLOCK_SIZE'?
      425 |     uint8_t derived_key[BOOTUTIL_CRYPTO_AES_CTR_KEY_SIZE + BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE];
          |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          |                         BOOTUTIL_CRYPTO_SHA256_BLOCK_SIZE
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:429:21: error: 'BOOTUTIL_CRYPTO_AES_CTR_BLOCK_SIZE' undeclared (first use in this function); did you mean 'BOOTUTIL_CRYPTO_SHA256_BLOCK_SIZE'?
      429 |     uint8_t counter[BOOTUTIL_CRYPTO_AES_CTR_BLOCK_SIZE];
          |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          |                     BOOTUTIL_CRYPTO_SHA256_BLOCK_SIZE
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:489:5: warning: implicit declaration of function 'bootutil_ecdh_p256_init'; did you mean 'bootutil_sha_init'? [-Wimplicit-function-declaration]
      489 |     bootutil_ecdh_p256_init(&ecdh_p256);
          |     ^~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_init
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:491:10: warning: implicit declaration of function 'bootutil_ecdh_p256_shared_secret' [-Wimplicit-function-declaration]
      491 |     rc = bootutil_ecdh_p256_shared_secret(&ecdh_p256, &buf[EC_PUBK_INDEX], private_key, shared);
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:492:5: warning: implicit declaration of function 'bootutil_ecdh_p256_drop'; did you mean 'bootutil_sha_drop'? [-Wimplicit-function-declaration]
      492 |     bootutil_ecdh_p256_drop(&ecdh_p256);
          |     ^~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_drop
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:576:5: warning: implicit declaration of function 'bootutil_aes_ctr_init'; did you mean 'bootutil_sha_init'? [-Wimplicit-function-declaration]
      576 |     bootutil_aes_ctr_init(&aes_ctr);
          |     ^~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_init
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:578:9: warning: implicit declaration of function 'bootutil_aes_ctr_drop'; did you mean 'bootutil_sha_drop'? [-Wimplicit-function-declaration]
      578 |         bootutil_aes_ctr_drop(&aes_ctr);
          |         ^~~~~~~~~~~~~~~~~~~~~
          |         bootutil_sha_drop
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:582:10: warning: implicit declaration of function 'bootutil_aes_ctr_set_key' [-Wimplicit-function-declaration]
      582 |     rc = bootutil_aes_ctr_set_key(&aes_ctr, derived_key);
          |          ^~~~~~~~~~~~~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:589:10: warning: implicit declaration of function 'bootutil_aes_ctr_decrypt' [-Wimplicit-function-declaration]
      589 |     rc = bootutil_aes_ctr_decrypt(&aes_ctr, counter, &buf[EC_CIPHERKEY_INDEX], BOOTUTIL_CRYPTO_AES_CTR_KEY_SIZE, 0, enckey);
          |          ^~~~~~~~~~~~~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:429:13: warning: unused variable 'counter' [-Wunused-variable]
      429 |     uint8_t counter[BOOTUTIL_CRYPTO_AES_CTR_BLOCK_SIZE];
          |             ^~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:428:13: warning: unused variable 'private_key' [-Wunused-variable]
      428 |     uint8_t private_key[PRIV_KEY_LEN];
          |             ^~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:425:13: warning: unused variable 'derived_key' [-Wunused-variable]
      425 |     uint8_t derived_key[BOOTUTIL_CRYPTO_AES_CTR_KEY_SIZE + BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE];
          |             ^~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:424:13: warning: unused variable 'shared' [-Wunused-variable]
      424 |     uint8_t shared[SHARED_KEY_LEN];
          |             ^~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c: In function 'boot_enc_encrypt':
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:729:5: warning: implicit declaration of function 'bootutil_aes_ctr_encrypt' [-Wimplicit-function-declaration]
      729 |     bootutil_aes_ctr_encrypt(&enc->aes_ctr, nonce, buf, sz, blk_off, buf);
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    ninja: build stopped: subcommand failed.
    [40/67] Generating ../tfm_nonsecure.hex
    FAILED: _sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build $WORKSPACE/$PROJECT/app/build_nrf5340dk/_sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build 
    cd $WORKSPACE/$PROJECT/app/build_nrf5340dk/mcuboot && /opt/nordic/ncs/toolchains/ef4fc6722e/Cellar/cmake/3.21.0/bin/cmake --build .
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/cmake --build $WORKSPACE/$PROJECT/app/build_nrf5340dk
    

    I also noted that adding

    CONFIG_TINYCRYPT=y

    Changes the error to conflicting declarations.

    Does that clarify things, or is more needed?

  • Can you please try to copy all the content from release.conf, and paste it in prj.conf, for debugging purposes. Then build without the command:

    -- -DSB_CONF_FILE=$WORKSPACE/$PROJECT/app/sysbuild_release.conf -DEXTRA_CONF_FILE='release.conf'

    Can you provide the build log in this case?

    Best regards,

    Edvin

  • Still looks like the same behavior to me.

    Here's the configuration when merged like this:

    prj.conf:

    CONFIG_APP_LOG_LEVEL_DBG=y
    CONFIG_ASSERT=n
    CONFIG_BASE64=y
    CONFIG_BT_MESH_SHELL=n
    CONFIG_COAP_SERVER_SHELL=n
    CONFIG_COMPILER_OPT="-Wall"
    CONFIG_COMPILER_WARNINGS_AS_ERRORS=y
    CONFIG_CPP=y
    CONFIG_CRC=y
    CONFIG_DEBUG_OPTIMIZATIONS=n
    CONFIG_FLASH_INIT_PRIORITY=40
    CONFIG_FLASH_MAP=y
    CONFIG_FLASH=y
    CONFIG_GLIBCXX_LIBCPP=y
    CONFIG_IMG_MANAGER=y
    CONFIG_INIT_STACKS=y
    CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
    CONFIG_KERNEL_SHELL=n
    CONFIG_LOG_BACKEND_SHOW_COLOR=y
    CONFIG_LOG_BACKEND_UART=y
    CONFIG_LOG_DEFAULT_LEVEL=2
    CONFIG_LOG=y
    CONFIG_LTO=y
    CONFIG_MAIN_STACK_SIZE=3072
    CONFIG_MAIN_THREAD_PRIORITY=-2
    CONFIG_MCUMGR_GRP_IMG=y
    CONFIG_MCUMGR_GRP_OS=y
    CONFIG_MCUMGR_TRANSPORT_UART=y
    CONFIG_MCUMGR=y
    CONFIG_NET_BUF=y
    CONFIG_NET_SHELL=n
    CONFIG_NORDIC_QSPI_NOR_XIP=y
    CONFIG_NORDIC_QSPI_NOR=y
    CONFIG_NVS=y
    CONFIG_REBOOT=y
    CONFIG_SETTINGS=y
    CONFIG_SHELL=n
    CONFIG_SIZE_OPTIMIZATIONS=y
    CONFIG_STD_CPP20=y
    CONFIG_STREAM_FLASH=y
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2560
    CONFIG_TFM_PARTITION_INITIAL_ATTESTATION=n
    CONFIG_TFM_PARTITION_PROTECTED_STORAGE=n
    CONFIG_TFM_PROFILE_TYPE_MEDIUM=y
    CONFIG_THREAD_MONITOR=n
    CONFIG_THREAD_NAME=n
    CONFIG_THREAD_STACK_INFO=n
    CONFIG_UART_CONSOLE=y
    CONFIG_XIP=y
    CONFIG_ZCBOR=y
    



    sysbuild.conf:

    SB_CONFIG_NETCORE_IPC_RADIO=y
    SB_CONFIG_NETCORE_IPC_RADIO_BT_HCI_IPC=y
    SB_CONFIG_NETCORE_IPC_RADIO_BT_RPC=n
    SB_CONFIG_NETCORE_IPC_RADIO_IEEE802154=n
    SB_CONFIG_SECURE_BOOT_APPCORE=y
    SB_CONFIG_BOOTLOADER_MCUBOOT=y
    SB_CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y
    SB_CONFIG_SECURE_BOOT_SIGNING_KEY_FILE="\${APP_DIR}/firmware-signing-key.pem"
    SB_CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
    SB_CONFIG_BOOT_ENCRYPTION_KEY_FILE="\${APP_DIR}/firmware-encryption-key.pem"
    SB_CONFIG_BOOT_ENCRYPTION=y
    



    sysbuild/mcuboot.conf:

    CONFIG_BOOT_MAX_IMG_SECTORS=256
    CONFIG_BOOT_PREFER_SWAP_MOVE=n
    CONFIG_BOOT_PREFER_SWAP_OFFSET=y
    CONFIG_BOOT_SERIAL_UART=y
    CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
    CONFIG_BOOT_SWAP_USING_MOVE=n
    CONFIG_BOOT_SWAP_USING_OFFSET=y
    CONFIG_LOG=y
    CONFIG_MCUBOOT_INDICATION_LED=y
    CONFIG_MCUBOOT_LOG_LEVEL_INF=y
    CONFIG_MCUBOOT_SERIAL=y
    CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y
    CONFIG_UART_CONSOLE=n
    CONFIG_BOOT_ECDSA_TINYCRYPT=y

    build_nrf5340dk_help/mcuboot/zephyr/.config:

    # CONFIG_BOOT_SIGNATURE_TYPE_NONE is not set
    # CONFIG_BOOT_SIGNATURE_TYPE_RSA is not set
    CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
    # CONFIG_BOOT_ECDSA_TINYCRYPT is not set
    # CONFIG_BOOT_SIGNATURE_TYPE_ED25519 is not set
    CONFIG_BOOT_ENCRYPTION_SUPPORT=y
    CONFIG_BOOT_ENCRYPT_IMAGE=y
    CONFIG_BOOT_ENCRYPT_EC256=y
    CONFIG_BOOT_ENCRYPTION_KEY_FILE="…/app/firmware-encryption-key.pem"
    

    Build log

    (v3.0.2) HC709JKT7R% rm -rf app/build_nrf5340dk_help && west build --board nrf5340dk/nrf5340/cpuapp/ns --build-dir app/build_nrf5340dk_help app
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/[email protected]/bin/python3.12 (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: $HOME/Library/Caches/zephyr
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk, qualifiers: nrf5340/cpuapp/ns
    Parsing $WORKSPACE/zephyr/share/sysbuild/Kconfig
    Loaded configuration '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/_sysbuild/empty.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/sysbuild.conf'
    Configuration saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/zephyr/.config'
    Kconfig header saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/_sysbuild/autoconf.h'
    -- 
       *****************************
       * Running CMake for mcuboot *
       *****************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: $WORKSPACE/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.21.0
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: $HOME/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 ($WORKSPACE/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 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found Dtc: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: $WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp.dts
    -- Found devicetree overlay: $WORKSPACE/$PROJECT/app/sysbuild/mcuboot.overlay
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/mcuboot/zephyr/zephyr.dts
    -- Generated pickled edt: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/mcuboot/zephyr/edt.pickle
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/mcuboot/zephyr/dts.cmake
    Parsing $WORKSPACE/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration '$WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_defconfig'
    Merged configuration '$WORKSPACE/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/sysbuild/mcuboot.conf'
    Merged configuration '$WORKSPACE/nrf/modules/mcuboot/tfm.conf'
    Merged configuration '$WORKSPACE/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf'
    Merged configuration '$WORKSPACE/nrf/subsys/bootloader/image/log_minimal.conf'
    Merged configuration '$WORKSPACE/bootloader/mcuboot/boot/zephyr/external_crypto.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/mcuboot/zephyr/.config.sysbuild'
    Configuration saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/mcuboot/zephyr/.config'
    Kconfig header saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/mcuboot/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (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: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
    CMake Warning at $WORKSPACE/zephyr/CMakeLists.txt:1002 (message):
      No SOURCES given to Zephyr library: drivers__console
    
      Excluding target from build.
    
    
    MCUBoot bootloader key file: $WORKSPACE/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!
    
    
    MCUBoot bootloader encryption key file: $WORKSPACE/$PROJECT/app/firmware-encryption-key.pem
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/mcuboot
    -- 
       *******************************
       * Running CMake for ipc_radio *
       *******************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: $WORKSPACE/nrf/applications/ipc_radio
    -- CMake version: 3.21.0
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: $HOME/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 ($WORKSPACE/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk, qualifiers: nrf5340/cpunet
    -- Found host-tools: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found Dtc: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: $WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpunet.dts
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/ipc_radio/zephyr/zephyr.dts
    -- Generated pickled edt: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/ipc_radio/zephyr/edt.pickle
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/ipc_radio/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/ipc_radio/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/ipc_radio/zephyr/dts.cmake
    Parsing $WORKSPACE/nrf/applications/ipc_radio/Kconfig
    Loaded configuration '$WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpunet_defconfig'
    Merged configuration '$WORKSPACE/$PROJECT/app/sysbuild/ipc_radio/prj.conf'
    Merged configuration '$WORKSPACE/nrf/applications/ipc_radio/overlay-bt_hci_ipc.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/ipc_radio/zephyr/.config.sysbuild'
    Configuration saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/ipc_radio/zephyr/.config'
    Kconfig header saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/ipc_radio/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (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: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- libmetal version: 1.7.0 ($WORKSPACE/nrf/applications/ipc_radio)
    -- Build type:  
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- Vendor: none
    -- Looking for include file stdatomic.h
    -- Looking for include file stdatomic.h - found
    -- open-amp version: 1.7.0 ($WORKSPACE/modules/lib/open-amp/open-amp)
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- C_FLAGS :  -Wall -Wextra
    -- Looking for include file fcntl.h
    -- Looking for include file fcntl.h - found
    -- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
    CMake Warning at $WORKSPACE/zephyr/CMakeLists.txt:2180 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/ipc_radio
    -- 
       ************************
       * Running CMake for b0 *
       ************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: $WORKSPACE/nrf/samples/bootloader
    -- CMake version: 3.21.0
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: $HOME/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 ($WORKSPACE/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 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found Dtc: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: $WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp.dts
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/b0/zephyr/zephyr.dts
    -- Generated pickled edt: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/b0/zephyr/edt.pickle
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/b0/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/b0/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/b0/zephyr/dts.cmake
    Parsing $WORKSPACE/zephyr/Kconfig
    Loaded configuration '$WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_defconfig'
    Merged configuration '$WORKSPACE/nrf/samples/bootloader/prj.conf'
    Merged configuration '$WORKSPACE/nrf/samples/bootloader/boards/nrf5340dk_nrf5340_cpuapp.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/b0/zephyr/.config.sysbuild'
    Configuration saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/b0/zephyr/.config'
    Kconfig header saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/b0/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (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: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/b0
    -- 
       *************************
       * Running CMake for app *
       *************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: $WORKSPACE/$PROJECT/app
    -- CMake version: 3.21.0
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: $HOME/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 ($WORKSPACE/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk, qualifiers: nrf5340/cpuapp/ns
    -- Shield(s): seeed_w5500
    -- Found host-tools: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found Dtc: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: $WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_ns.dts
    -- Found devicetree overlay: $WORKSPACE/zephyr/boards/shields/seeed_w5500/seeed_w5500.overlay
    -- Found devicetree overlay: $WORKSPACE/$PROJECT/app/conf/boards/nrf5340dk_nrf5340_cpuapp_ns.overlay
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/zephyr.dts
    -- Generated pickled edt: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/edt.pickle
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/dts.cmake
    
    warning: THREAD_STACK_INFO (defined at kernel/Kconfig:189) was assigned the value 'n' but got the
    value 'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_THREAD_STACK_INFO and/or
    look up THREAD_STACK_INFO 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: Experimental symbol TFM_EXPERIMENTAL is enabled.
    
    
    warning: Experimental symbol COAP_SERVER is enabled.
    
    Parsing $WORKSPACE/$PROJECT/app/Kconfig
    Loaded configuration '$WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_ns_defconfig'
    Merged configuration '$WORKSPACE/$PROJECT/app/conf/prj.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/conf/boards/nrf5340dk_nrf5340_cpuapp_ns.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/conf/bluetooth.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/conf/bluetooth_mesh.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/conf/coap.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/conf/networking.conf'
    Merged configuration '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/.config.sysbuild'
    Configuration saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/.config'
    Kconfig header saved to '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (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: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    =========== Generating psa_crypto_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== End psa_crypto_config ===============
    =========== Generating psa_crypto_library_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== End psa_crypto_library_config ===============
    -- libmetal version: 1.7.0 ($WORKSPACE/$PROJECT/app)
    -- Build type:  
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- Vendor: none
    -- Looking for include file stdatomic.h
    -- Looking for include file stdatomic.h - found
    -- open-amp version: 1.7.0 ($WORKSPACE/modules/lib/open-amp/open-amp)
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- C_FLAGS :  -Wall -Wextra
    -- Looking for include file fcntl.h
    -- Looking for include file fcntl.h - found
    -- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
    -- Including signing script: $WORKSPACE/nrf/cmake/sysbuild/image_signing.cmake
    ### Extracting entry_types from CDDL ###
    ### Extracted entry_types: UuidBytes;UnprovisionedDevice;Device;Actions;Light;LightProperties;OnOff;ScanStatus;DimLevel;TransitionTime;DimCommand;Node;MacBytes;Discovery;AttentionDuration;IdentifyUnprovisionedDevice ###
    ### Generating code from CDDLs via zcbor... ###
    Parsing files: $WORKSPACE/$PROJECT/app/lib/api_cbor/schemas/api_cbor.cddl, $WORKSPACE/$PROJECT/app/lib/api_cbor/../../../../modules/lib/zcbor/zcbor/prelude.cddl
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/src/api_cbor_decode.c
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/include/api_cbor_decode.h
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/src/api_cbor_encode.c
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/include/api_cbor_encode.h
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/include/api_cbor_types.h
    ### Generating code from CDDLs via zcbor done. ###
    -- All lib dependencies of app:
    -- > zephyr_interface
    -- > FS
    -- > mbedTLS
    -- > mesh_adapters
    --   > zephyr_interface
    --   > mesh_domain
    --     > zephyr_interface
    --   > core_entities
    --     > zephyr_interface
    -- > mesh_domain
    --   > zephyr_interface
    -- > core_adapters
    --   > zephyr_interface
    --   > api_cbor
    --     > zephyr_interface
    -- > core_entities
    --   > zephyr_interface
    -- > core_domain
    --   > zephyr_interface
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app
    -- 
       ******************************
       * Running CMake for s1_image *
       ******************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: $WORKSPACE/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.21.0
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: $HOME/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 ($WORKSPACE/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 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found Dtc: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: $WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp.dts
    -- Found devicetree overlay: $WORKSPACE/$PROJECT/app/sysbuild/mcuboot.overlay
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/s1_image/zephyr/zephyr.dts
    -- Generated pickled edt: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/s1_image/zephyr/edt.pickle
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/s1_image/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/s1_image/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/s1_image/zephyr/dts.cmake
    -- Found GnuLd: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (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: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
    CMake Warning at $WORKSPACE/zephyr/CMakeLists.txt:1002 (message):
      No SOURCES given to Zephyr library: drivers__console
    
      Excluding target from build.
    
    
    MCUBoot bootloader key file: $WORKSPACE/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!
    
    
    MCUBoot bootloader encryption key file: $WORKSPACE/$PROJECT/app/firmware-encryption-key.pem
    -- Configuring done
    -- Generating done
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        EXTRA_KCONFIG_TARGETS
        FORCED_CONF_FILE
    
    
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/s1_image
    CMake Warning at $WORKSPACE/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):
      $WORKSPACE/nrf/cmake/sysbuild/partition_manager.cmake:620 (partition_manager)
      $WORKSPACE/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)
      $WORKSPACE/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
      $WORKSPACE/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      $WORKSPACE/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
      template/CMakeLists.txt:10 (find_package)
    
    
    Dropping partition 'tfm_otp_nv_counters' since its size is 0.
    Dropping partition 'tfm_ps' since its size is 0.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help
    -- west build: building application
    [0/67] Creating public key from private key used for signing
    [22/67] Performing build step for 'ipc_radio'
    [1/218] Preparing syscall dependency handling
    
    [13/218] Generating include/generated/zephyr/version.h
    -- Zephyr version: 4.0.99 ($WORKSPACE/zephyr), build: 9c5b2d0faa44
    [218/218] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      172976 B       256 KB     65.99%
                 RAM:       53736 B        64 KB     81.99%
               SRAM1:          0 GB        64 KB      0.00%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/ipc_radio/zephyr/zephyr.elf for board: nrf5340dk
    [27/67] Performing build step for 'app'
    [0/1] Re-running CMake...
    Loading Zephyr default modules (Zephyr base (cached)).
    -- Application: $WORKSPACE/$PROJECT/app
    -- CMake version: 3.21.0
    -- Cache files will be written to: $HOME/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 ($WORKSPACE/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf5340dk, qualifiers: nrf5340/cpuapp/ns
    -- Shield(s): seeed_w5500
    -- Found host-tools: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found BOARD.dts: $WORKSPACE/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_ns.dts
    -- Found devicetree overlay: $WORKSPACE/zephyr/boards/shields/seeed_w5500/seeed_w5500.overlay
    -- Found devicetree overlay: $WORKSPACE/$PROJECT/app/conf/boards/nrf5340dk_nrf5340_cpuapp_ns.overlay
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/zephyr.dts
    -- Generated pickled edt: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/edt.pickle
    -- Generated zephyr.dts: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/dts.cmake
    
    warning: Experimental symbol TFM_EXPERIMENTAL is enabled.
    
    
    warning: Experimental symbol COAP_SERVER is enabled.
    
    Parsing $WORKSPACE/$PROJECT/app/Kconfig
    Loaded configuration '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/.config'
    Merged configuration '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/.config.sysbuild'
    No change to configuration in '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/.config'
    No change to Kconfig header in '$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/include/generated/zephyr/autoconf.h'
    =========== Generating psa_crypto_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== End psa_crypto_config ===============
    =========== Generating psa_crypto_library_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== End psa_crypto_library_config ===============
    -- libmetal version: 1.7.0 ($WORKSPACE/$PROJECT/app)
    -- Build type:  
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- Vendor: none
    -- open-amp version: 1.7.0 ($WORKSPACE/modules/lib/open-amp/open-amp)
    -- Host:    Darwin/arm64
    -- Target:  Generic/arm
    -- Machine: arm
    -- C_FLAGS :  -Wall -Wextra
    -- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
    -- Including signing script: $WORKSPACE/nrf/cmake/sysbuild/image_signing.cmake
    ### Extracting entry_types from CDDL ###
    ### Extracted entry_types: UuidBytes;UnprovisionedDevice;Device;Actions;Light;LightProperties;OnOff;ScanStatus;DimLevel;TransitionTime;DimCommand;Node;MacBytes;Discovery;AttentionDuration;IdentifyUnprovisionedDevice ###
    ### Generating code from CDDLs via zcbor... ###
    Parsing files: $WORKSPACE/$PROJECT/app/lib/api_cbor/schemas/api_cbor.cddl, $WORKSPACE/$PROJECT/app/lib/api_cbor/../../../../modules/lib/zcbor/zcbor/prelude.cddl
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/src/api_cbor_decode.c
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/include/api_cbor_decode.h
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/src/api_cbor_encode.c
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/include/api_cbor_encode.h
    Writing to $WORKSPACE/$PROJECT/app/lib/api_cbor/autogen/include/api_cbor_types.h
    ### Generating code from CDDLs via zcbor done. ###
    -- All lib dependencies of app:
    -- > zephyr_interface
    -- > FS
    -- > mbedTLS
    -- > mesh_adapters
    --   > zephyr_interface
    --   > mesh_domain
    --     > zephyr_interface
    --   > core_entities
    --     > zephyr_interface
    -- > mesh_domain
    --   > zephyr_interface
    -- > core_adapters
    --   > zephyr_interface
    --   > api_cbor
    --     > zephyr_interface
    -- > core_entities
    --   > zephyr_interface
    -- > core_domain
    --   > zephyr_interface
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app
    [1/546] Preparing syscall dependency handling
    
    [13/546] Generating include/generated/zephyr/version.h
    -- Zephyr version: 4.0.99 ($WORKSPACE/zephyr), build: 9c5b2d0faa44
    [14/546] Generating ../../tfm/CMakeCache.txt
    -- Found Git: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/git (found version "2.37.3") 
    -- 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: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found version "3.12.4") found components: Interpreter 
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: $HOME/Library/Caches/zephyr
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/tfm
    [19/546] Performing build step for 'tfm'
    [172/176] Linking C executable bin/tfm_s.axf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       80792 B     261632 B     30.88%
                 RAM:       43840 B       192 KB     22.30%
    [176/176] Linking C static library secure_fw/libtfm_s_veneers.a
    [21/546] Performing install step for 'tfm'
    -- Install configuration: "MinSizeRel"
    ----- Installing platform NS -----
    [546/546] Linking CXX executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      424968 B       608 KB     68.26%
                 RAM:      131912 B       256 KB     50.32%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/app/zephyr/zephyr.elf for board: nrf5340dk
    image.py: sign the payload
    image.py: sign the payload
    image.py: sign the payload
    image.py: sign the payload
    [32/67] Performing build step for 'mcuboot'
    [1/222] Preparing syscall dependency handling
    
    [15/222] Generating include/generated/zephyr/version.h
    -- Zephyr version: 4.0.99 ($WORKSPACE/zephyr), build: 9c5b2d0faa44
    [129/222] Building C object modules/mcuboot/boot/bootutil/ze...e/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c.obj
    FAILED: modules/mcuboot/boot/bootutil/zephyr/CMakeFiles/mcuboot_util.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c.obj 
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -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 -I$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/$PROJECT/app/build_nrf5340dk_help/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf53/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/lib/zcbor/include -I/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/boot/boot_serial/include -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/src -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/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=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT modules/mcuboot/boot/bootutil/zephyr/CMakeFiles/mcuboot_util.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c.obj -MF modules/mcuboot/boot/bootutil/zephyr/CMakeFiles/mcuboot_util.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c.obj.d -o modules/mcuboot/boot/bootutil/zephyr/CMakeFiles/mcuboot_util.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c:51:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    [142/222] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
    ninja: build stopped: subcommand failed.
    [40/67] Generating ../mcuboot_primary_app.hex
    FAILED: _sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/_sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build 
    cd $WORKSPACE/$PROJECT/app/build_nrf5340dk_help/mcuboot && /opt/nordic/ncs/toolchains/ef4fc6722e/Cellar/cmake/3.21.0/bin/cmake --build .
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/cmake --build $WORKSPACE/$PROJECT/app/build_nrf5340dk_help

  • I tried out the l9/l9_e3_sol/qspi project now. Adding encryption works fine, but only as long as I don't also add

    SB_CONFIG_SECURE_BOOT_APPCORE=y

    After that, I also get the same error

    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base (cached)): sysbuild_default
    -- Cache files will be written to: $HOME/Library/Caches/zephyr
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf52840dk, qualifiers: nrf52840
    -- Shield(s): seeed_w5500
    Parsing $WORKSPACE/zephyr/share/sysbuild/Kconfig
    Loaded configuration '$WORKSPACE/build/zephyr/.config'
    No change to configuration in '$WORKSPACE/build/zephyr/.config'
    No change to Kconfig header in '$WORKSPACE/build/_sysbuild/autoconf.h'
    --
       *****************************
       * Running CMake for mcuboot *
       *****************************
    
    Loading Zephyr default modules (Zephyr base (cached)).
    -- Application: $WORKSPACE/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.21.0
    -- Cache files will be written to: $HOME/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 ($WORKSPACE/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf52840dk, qualifiers: nrf52840
    -- Shield(s): seeed_w5500
    -- Found host-tools: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found BOARD.dts: $WORKSPACE/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840.dts
    -- Found devicetree overlay: $WORKSPACE/zephyr/boards/shields/seeed_w5500/seeed_w5500.overlay
    -- Found devicetree overlay: $WORKSPACE/ncs-inter/l9/l9_e3_sol/qspi/sysbuild/mcuboot.overlay
    -- Generated zephyr.dts: $WORKSPACE/build/mcuboot/zephyr/zephyr.dts
    -- Generated pickled edt: $WORKSPACE/build/mcuboot/zephyr/edt.pickle
    -- Generated zephyr.dts: $WORKSPACE/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: $WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: $WORKSPACE/build/mcuboot/zephyr/dts.cmake
    Parsing $WORKSPACE/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration '$WORKSPACE/build/mcuboot/zephyr/.config'
    Merged configuration '$WORKSPACE/build/mcuboot/zephyr/.config.sysbuild'
    No change to configuration in '$WORKSPACE/build/mcuboot/zephyr/.config'
    No change to Kconfig header in '$WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h'
    CMake Warning at $WORKSPACE/nrf/lib/flash_patch/CMakeLists.txt:8 (message):
    
    
            ----------------------------------------------------------
            --- WARNING: To maintain the integrity of secure boot, ---
            --- enable CONFIG_DISABLE_FLASH_PATCH in production.   ---
            ----------------------------------------------------------
    
    
    -- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
    MCUBoot bootloader key file: $WORKSPACE/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!
    
    
    MCUBoot bootloader encryption key file: $WORKSPACE/bootloader/mcuboot/enc-ec256-priv.pem
    CMake Warning at CMakeLists.txt:447 (message):
      WARNING: Using default MCUboot encryption key file, this file is for debug
      use only and is not secure!
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/build/mcuboot
    --
       **************************
       * Running CMake for qspi *
       **************************
    
    Loading Zephyr default modules (Zephyr base (cached)).
    -- Application: $WORKSPACE/ncs-inter/l9/l9_e3_sol/qspi
    -- CMake version: 3.21.0
    -- Cache files will be written to: $HOME/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 ($WORKSPACE/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf52840dk, qualifiers: nrf52840
    -- Shield(s): seeed_w5500
    -- Found host-tools: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found BOARD.dts: $WORKSPACE/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840.dts
    -- Found devicetree overlay: $WORKSPACE/zephyr/boards/shields/seeed_w5500/seeed_w5500.overlay
    -- Found devicetree overlay: $WORKSPACE/ncs-inter/l9/l9_e3_sol/qspi/app.overlay
    -- Generated zephyr.dts: $WORKSPACE/build/qspi/zephyr/zephyr.dts
    -- Generated pickled edt: $WORKSPACE/build/qspi/zephyr/edt.pickle
    -- Generated zephyr.dts: $WORKSPACE/build/qspi/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: $WORKSPACE/build/qspi/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: $WORKSPACE/build/qspi/zephyr/dts.cmake
    Parsing $WORKSPACE/zephyr/Kconfig
    Loaded configuration '$WORKSPACE/build/qspi/zephyr/.config'
    Merged configuration '$WORKSPACE/build/qspi/zephyr/.config.sysbuild'
    No change to configuration in '$WORKSPACE/build/qspi/zephyr/.config'
    No change to Kconfig header in '$WORKSPACE/build/qspi/zephyr/include/generated/zephyr/autoconf.h'
    -- Using ccache: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/ccache
    -- Including signing script: $WORKSPACE/nrf/cmake/sysbuild/image_signing.cmake
    -- Configuring done
    -- Generating done
    -- Build files have been written to: $WORKSPACE/build/qspi
    CMake Warning at $WORKSPACE/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):
      $WORKSPACE/nrf/cmake/sysbuild/partition_manager.cmake:620 (partition_manager)
      $WORKSPACE/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)
      $WORKSPACE/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
      $WORKSPACE/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
      $WORKSPACE/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: $WORKSPACE/build
    -- west build: building application
    
    [0/10] Performing build step for 'mcuboot'
    
    [0/187] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
    [1/187] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
    [1/186] Building C object CMakeFiles/app.dir/flash_map_extended.c.obj
    [1/186] Building C object CMakeFiles/app.dir/main.c.obj
    [1/186] Building C object CMakeFiles/ap.../boot/bootutil/src/image_validate.c.obj
    [1/186] Building C object CMakeFiles/ap...uboot/boot/bootutil/src/encrypted.c.obj
    [1/186] Building C object CMakeFiles/ap...der/mcuboot/boot/bootutil/src/tlv.c.obj
    [1/186] Building C object CMakeFiles/ap...oot/boot/bootutil/src/image_ecdsa.c.obj
    [1/186] Building C object CMakeFiles/ap...t/boot/bootutil/src/bootutil_misc.c.obj
    [1/186] Building C object CMakeFiles/ap.../mcuboot/boot/bootutil/src/loader.c.obj
    [1/186] Building C object CMakeFiles/ap...uboot/boot/bootutil/src/swap_misc.c.obj
    [1/186] Building C object CMakeFiles/ap...uboot/boot/bootutil/src/swap_move.c.obj
    [1/186] Building C object CMakeFiles/ap...ext/tinycrypt/lib/source/ctr_mode.c.obj
    [1/186] Building C object CMakeFiles/ap.../tinycrypt/lib/source/aes_encrypt.c.obj
    [1/186] Building C object CMakeFiles/ap.../tinycrypt/lib/source/aes_decrypt.c.obj
    [1/186] Building C object CMakeFiles/ap...oot/ext/tinycrypt/lib/source/hmac.c.obj
    [2/186] Building C object CMakeFiles/app.dir/flash_map_extended.c.obj
    [2/186] Building C object CMakeFiles/app.dir/zephyr/autogen-pubkey.c.obj
    [3/186] Building C object CMakeFiles/app.dir/main.c.obj
    [3/186] Building C object CMakeFiles/ap...t/ext/tinycrypt/lib/source/ecc_dh.c.obj
    [4/186] Building C object CMakeFiles/ap...ext/tinycrypt/lib/source/ctr_mode.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ctr_mode.c.obj
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13314 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13314 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf52/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/debug/segger/SEGGER -I$WORKSPACE/modules/debug/segger/Config -I/../include -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ctr_mode.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ctr_mode.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ctr_mode.c.obj -c $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ctr_mode.c
    $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ctr_mode.c:33:10: fatal error: tinycrypt/constants.h: No such file or directory
       33 | #include <tinycrypt/constants.h>
          |          ^~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    
    [5/186] Building C object CMakeFiles/ap.../tinycrypt/lib/source/aes_encrypt.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_encrypt.c.obj
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13314 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13314 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf52/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/debug/segger/SEGGER -I$WORKSPACE/modules/debug/segger/Config -I/../include -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_encrypt.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_encrypt.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_encrypt.c.obj -c $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_encrypt.c
    $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_encrypt.c:33:10: fatal error: tinycrypt/aes.h: No such file or directory
       33 | #include <tinycrypt/aes.h>
          |          ^~~~~~~~~~~~~~~~~
    compilation terminated.
    
    [6/186] Building C object CMakeFiles/ap.../tinycrypt/lib/source/aes_decrypt.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_decrypt.c.obj
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13314 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13314 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf52/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/debug/segger/SEGGER -I$WORKSPACE/modules/debug/segger/Config -I/../include -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_decrypt.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_decrypt.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_decrypt.c.obj -c $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_decrypt.c
    $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/aes_decrypt.c:33:10: fatal error: tinycrypt/aes.h: No such file or directory
       33 | #include <tinycrypt/aes.h>
          |          ^~~~~~~~~~~~~~~~~
    compilation terminated.
    
    [7/186] Building C object CMakeFiles/ap...oot/ext/tinycrypt/lib/source/hmac.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/hmac.c.obj
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13314 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13314 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf52/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/debug/segger/SEGGER -I$WORKSPACE/modules/debug/segger/Config -I/../include -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/hmac.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/hmac.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/hmac.c.obj -c $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/hmac.c
    $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/hmac.c:33:10: fatal error: tinycrypt/hmac.h: No such file or directory
       33 | #include <tinycrypt/hmac.h>
          |          ^~~~~~~~~~~~~~~~~~
    compilation terminated.
    
    [8/186] Building C object CMakeFiles/app.dir/zephyr/autogen-pubkey.c.obj
    [9/186] Building C object CMakeFiles/ap...t/ext/tinycrypt/lib/source/ecc_dh.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ecc_dh.c.obj
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13314 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13314 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf52/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/debug/segger/SEGGER -I$WORKSPACE/modules/debug/segger/Config -I/../include -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ecc_dh.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ecc_dh.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ecc_dh.c.obj -c $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ecc_dh.c
    $WORKSPACE/bootloader/mcuboot/ext/tinycrypt/lib/source/ecc_dh.c:57:10: fatal error: tinycrypt/constants.h: No such file or directory
       57 | #include <tinycrypt/constants.h>
          |          ^~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    
    [10/186] Building C object CMakeFiles/a...der/mcuboot/boot/bootutil/src/tlv.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13314 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13314 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf52/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/debug/segger/SEGGER -I$WORKSPACE/modules/debug/segger/Config -I/../include -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/tlv.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/tlv.c:25:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    
    [11/186] Building C object CMakeFiles/a...oot/boot/bootutil/src/image_ecdsa.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_ecdsa.c.obj
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13314 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13314 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf52/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/debug/segger/SEGGER -I$WORKSPACE/modules/debug/segger/Config -I/../include -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_ecdsa.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_ecdsa.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_ecdsa.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_ecdsa.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_ecdsa.c:34:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    
    [12/186] Building C object CMakeFiles/a.../boot/bootutil/src/image_validate.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13314 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13314 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf52/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/debug/segger/SEGGER -I$WORKSPACE/modules/debug/segger/Config -I/../include -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_validate.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/image_validate.c:55:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    
    [13/186] Building C object CMakeFiles/a...uboot/boot/bootutil/src/swap_misc.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13314 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13314 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf52/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/debug/segger/SEGGER -I$WORKSPACE/modules/debug/segger/Config -I/../include -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_misc.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_misc.c:25:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    
    [14/186] Building C object CMakeFiles/a...t/boot/bootutil/src/bootutil_misc.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13314 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13314 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf52/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/debug/segger/SEGGER -I$WORKSPACE/modules/debug/segger/Config -I/../include -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c:37:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    
    [15/186] Building C object CMakeFiles/a.../mcuboot/boot/bootutil/src/loader.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/loader.c.obj
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13314 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13314 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf52/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/debug/segger/SEGGER -I$WORKSPACE/modules/debug/segger/Config -I/../include -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/loader.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/loader.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/loader.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/loader.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/loader.c:42:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    
    [16/186] Building C object CMakeFiles/a...uboot/boot/bootutil/src/swap_move.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13314 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13314 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf52/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/debug/segger/SEGGER -I$WORKSPACE/modules/debug/segger/Config -I/../include -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_move.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:43,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/swap_move.c:25:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    
    [17/186] Building C object CMakeFiles/a...uboot/boot/bootutil/src/encrypted.c.obj
    FAILED: CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c.obj
    ccache /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13314 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13314 -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DMCUBOOT_SLOT0_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT0_EXPECTED_WRITE_SIZE=4 -DMCUBOOT_SLOT1_EXPECTED_ERASE_SIZE=4096 -DMCUBOOT_SLOT1_EXPECTED_WRITE_SIZE=4 -DNCS_APPLICATION_BOOT_BANNER_GIT_REPO -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR__=1 -I$WORKSPACE/bootloader/mcuboot/boot/zephyr/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/include -I$WORKSPACE/bootloader/mcuboot/ext/mbedtls-asn1/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr -I$WORKSPACE/zephyr/include -I$WORKSPACE/build/mcuboot/zephyr/include/generated -I$WORKSPACE/zephyr/soc/nordic -I$WORKSPACE/zephyr/soc/nordic/nrf52/. -I$WORKSPACE/zephyr/soc/nordic/common/. -I$WORKSPACE/nrf/include -I$WORKSPACE/nrf/tests/include -I$WORKSPACE/modules/hal/cmsis/CMSIS/Core/Include -I$WORKSPACE/zephyr/modules/cmsis/. -I$WORKSPACE/nrf/modules/hal_nordic/. -I$WORKSPACE/modules/hal/nordic/nrfx -I$WORKSPACE/modules/hal/nordic/nrfx/drivers/include -I$WORKSPACE/modules/hal/nordic/nrfx/mdk -I$WORKSPACE/zephyr/modules/hal_nordic/nrfx/. -I$WORKSPACE/modules/debug/segger/SEGGER -I$WORKSPACE/modules/debug/segger/Config -I/../include -I$WORKSPACE/nrfxlib/crypto/nrf_oberon/include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/.. -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../include -I$WORKSPACE/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -isystem $WORKSPACE/zephyr/lib/libc/minimal/include -isystem $WORKSPACE/zephyr/lib/libc/common/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include -isystem /opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed -isystem $WORKSPACE/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros $WORKSPACE/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros $WORKSPACE/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=$WORKSPACE/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=$WORKSPACE/zephyr=ZEPHYR_BASE -fmacro-prefix-map=$WORKSPACE=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c.obj -MF CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c.obj.d -o CMakeFiles/app.dir$WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c.obj -c $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:26:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/ecdh_p256.h:18:6: error: #error "NONE!!! One crypto backend must be defined: either MBED_TLS or TINYCRYPT"
       18 |     #error "NONE!!! One crypto backend must be defined: either MBED_TLS or TINYCRYPT"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/ecdh_p256.h:28:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT"
       28 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT"
          |      ^~~~~
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:36:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/hmac_sha256.h:17:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT"
       17 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT"
          |      ^~~~~
    In file included from $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:33,
                     from $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:43:
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:19:6: error: #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       19 |     #error "NONE!!!One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:29:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       29 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/aes_ctr.h:34:6: error: #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
       34 |     #error "One crypto backend must be defined: either MBED_TLS or TINYCRYPT or PSA"
          |      ^~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/include/bootutil/enc_key.h:46:5: error: unknown type name 'bootutil_aes_ctr_context'
       46 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c: In function 'parse_ec256_enckey':
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:187:16: error: 'NUM_ECC_BYTES' undeclared (first use in this function)
      187 |     if (len != NUM_ECC_BYTES) {
          |                ^~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:187:16: note: each undeclared identifier is reported only once for each function it appears in
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c: In function 'hkdf':
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:270:5: error: unknown type name 'bootutil_hmac_sha256_context'; did you mean 'bootutil_sha_context'?
      270 |     bootutil_hmac_sha256_context hmac;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_context
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:288:5: warning: implicit declaration of function 'bootutil_hmac_sha256_init'; did you mean 'bootutil_sha_init'? [-Wimplicit-function-declaration]
      288 |     bootutil_hmac_sha256_init(&hmac);
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_init
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:291:10: warning: implicit declaration of function 'bootutil_hmac_sha256_set_key' [-Wimplicit-function-declaration]
      291 |     rc = bootutil_hmac_sha256_set_key(&hmac, salt, BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE);
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:296:10: warning: implicit declaration of function 'bootutil_hmac_sha256_update'; did you mean 'bootutil_sha_update'? [-Wimplicit-function-declaration]
      296 |     rc = bootutil_hmac_sha256_update(&hmac, ikm, ikm_len);
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
          |          bootutil_sha_update
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:301:10: warning: implicit declaration of function 'bootutil_hmac_sha256_finish'; did you mean 'bootutil_sha_finish'? [-Wimplicit-function-declaration]
      301 |     rc = bootutil_hmac_sha256_finish(&hmac, prk, BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE);
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
          |          bootutil_sha_finish
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:306:5: warning: implicit declaration of function 'bootutil_hmac_sha256_drop'; did you mean 'bootutil_sha_drop'? [-Wimplicit-function-declaration]
      306 |     bootutil_hmac_sha256_drop(&hmac);
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_drop
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c: In function 'boot_decrypt_key':
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:415:5: error: unknown type name 'bootutil_ecdh_p256_context'; did you mean 'bootutil_sha_context'?
      415 |     bootutil_ecdh_p256_context ecdh_p256;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_context
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:421:5: error: unknown type name 'bootutil_hmac_sha256_context'; did you mean 'bootutil_sha_context'?
      421 |     bootutil_hmac_sha256_context hmac;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_context
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:422:5: error: unknown type name 'bootutil_aes_ctr_context'; did you mean 'bootutil_sha_context'?
      422 |     bootutil_aes_ctr_context aes_ctr;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_context
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:122:24: error: 'NUM_ECC_BYTES' undeclared (first use in this function)
      122 | #define SHARED_KEY_LEN NUM_ECC_BYTES
          |                        ^~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:424:20: note: in expansion of macro 'SHARED_KEY_LEN'
      424 |     uint8_t shared[SHARED_KEY_LEN];
          |                    ^~~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:425:25: error: 'BOOTUTIL_CRYPTO_AES_CTR_KEY_SIZE' undeclared (first use in this function); did you mean 'BOOTUTIL_CRYPTO_SHA256_BLOCK_SIZE'?
      425 |     uint8_t derived_key[BOOTUTIL_CRYPTO_AES_CTR_KEY_SIZE + BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE];
          |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          |                         BOOTUTIL_CRYPTO_SHA256_BLOCK_SIZE
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:429:21: error: 'BOOTUTIL_CRYPTO_AES_CTR_BLOCK_SIZE' undeclared (first use in this function); did you mean 'BOOTUTIL_CRYPTO_SHA256_BLOCK_SIZE'?
      429 |     uint8_t counter[BOOTUTIL_CRYPTO_AES_CTR_BLOCK_SIZE];
          |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          |                     BOOTUTIL_CRYPTO_SHA256_BLOCK_SIZE
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:489:5: warning: implicit declaration of function 'bootutil_ecdh_p256_init'; did you mean 'bootutil_sha_init'? [-Wimplicit-function-declaration]
      489 |     bootutil_ecdh_p256_init(&ecdh_p256);
          |     ^~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_init
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:491:10: warning: implicit declaration of function 'bootutil_ecdh_p256_shared_secret' [-Wimplicit-function-declaration]
      491 |     rc = bootutil_ecdh_p256_shared_secret(&ecdh_p256, &buf[EC_PUBK_INDEX], private_key, shared);
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:492:5: warning: implicit declaration of function 'bootutil_ecdh_p256_drop'; did you mean 'bootutil_sha_drop'? [-Wimplicit-function-declaration]
      492 |     bootutil_ecdh_p256_drop(&ecdh_p256);
          |     ^~~~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_drop
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:576:5: warning: implicit declaration of function 'bootutil_aes_ctr_init'; did you mean 'bootutil_sha_init'? [-Wimplicit-function-declaration]
      576 |     bootutil_aes_ctr_init(&aes_ctr);
          |     ^~~~~~~~~~~~~~~~~~~~~
          |     bootutil_sha_init
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:578:9: warning: implicit declaration of function 'bootutil_aes_ctr_drop'; did you mean 'bootutil_sha_drop'? [-Wimplicit-function-declaration]
      578 |         bootutil_aes_ctr_drop(&aes_ctr);
          |         ^~~~~~~~~~~~~~~~~~~~~
          |         bootutil_sha_drop
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:582:10: warning: implicit declaration of function 'bootutil_aes_ctr_set_key' [-Wimplicit-function-declaration]
      582 |     rc = bootutil_aes_ctr_set_key(&aes_ctr, derived_key);
          |          ^~~~~~~~~~~~~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:589:10: warning: implicit declaration of function 'bootutil_aes_ctr_decrypt' [-Wimplicit-function-declaration]
      589 |     rc = bootutil_aes_ctr_decrypt(&aes_ctr, counter, &buf[EC_CIPHERKEY_INDEX], BOOTUTIL_CRYPTO_AES_CTR_KEY_SIZE, 0, enckey);
          |          ^~~~~~~~~~~~~~~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:429:13: warning: unused variable 'counter' [-Wunused-variable]
      429 |     uint8_t counter[BOOTUTIL_CRYPTO_AES_CTR_BLOCK_SIZE];
          |             ^~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:428:13: warning: unused variable 'private_key' [-Wunused-variable]
      428 |     uint8_t private_key[PRIV_KEY_LEN];
          |             ^~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:425:13: warning: unused variable 'derived_key' [-Wunused-variable]
      425 |     uint8_t derived_key[BOOTUTIL_CRYPTO_AES_CTR_KEY_SIZE + BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE];
          |             ^~~~~~~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:424:13: warning: unused variable 'shared' [-Wunused-variable]
      424 |     uint8_t shared[SHARED_KEY_LEN];
          |             ^~~~~~
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c: In function 'boot_enc_encrypt':
    $WORKSPACE/bootloader/mcuboot/boot/bootutil/src/encrypted.c:729:5: warning: implicit declaration of function 'bootutil_aes_ctr_encrypt' [-Wimplicit-function-declaration]
      729 |     bootutil_aes_ctr_encrypt(&enc->aes_ctr, nonce, buf, sz, blk_off, buf);
          |     ^~~~~~~~~~~~~~~~~~~~~~~~
    ninja: build stopped: subcommand failed.
    FAILED: _sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build $WORKSPACE/build/_sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build
    cd $WORKSPACE/build/mcuboot && /opt/nordic/ncs/toolchains/ef4fc6722e/Cellar/cmake/3.21.0/bin/cmake --build .
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/cmake --build $WORKSPACE/build
    

    And build/mcuboot/zephyr/.config again has

    # CONFIG_BOOT_ECDSA_TINYCRYPT is not set

    If I remove SB_CONFIG_SECURE_BOOT_APPCORE=y again, it builds and CONFIG_BOOT_ECDSA_TINYCRYPT=y

    Here's the full diff I applied to

    diff --git a/l9/l9_e3_sol/qspi/sysbuild.conf b/l9/l9_e3_sol/qspi/sysbuild.conf
    index 7814026..0e74d92 100644
    --- a/l9/l9_e3_sol/qspi/sysbuild.conf
    +++ b/l9/l9_e3_sol/qspi/sysbuild.conf
    @@ -2,3 +2,7 @@
     SB_CONFIG_BOOTLOADER_MCUBOOT=y
     # Step 3.1 - MCUboot should use external flash
     SB_CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y
    +SB_CONFIG_BOOT_ENCRYPTION=y
    +
    +SB_CONFIG_SECURE_BOOT_APPCORE=y
    +
    diff --git a/l9/l9_e3_sol/qspi/sysbuild/mcuboot.conf b/l9/l9_e3_sol/qspi/sysbuild/mcuboot.conf
    index 3e304b5..007a215 100644
    --- a/l9/l9_e3_sol/qspi/sysbuild/mcuboot.conf
    +++ b/l9/l9_e3_sol/qspi/sysbuild/mcuboot.conf
    @@ -11,3 +11,5 @@ CONFIG_NORDIC_QSPI_NOR=y
     # This is 512 for the nRF54L15 but can be smaller for other chips
     CONFIG_BOOT_MAX_IMG_SECTORS=512
     
    +CONFIG_BOOT_ECDSA_TINYCRYPT=y
    +
    

    Is there a way to have encrypted images while also using NSIB?

  • Hello,

    I discussed this with a colleague of mine who has worked a bit more with encrypted DFU. Actually, no. Encrypted OTA + NSIB is not a possible combination. At least not at this point in time. He did some work on this, but it is not fully working. They were able to encrypt the application image, but it does not work for enctypted network images, and not for encrypted MCUBOOT images. So I don't know if that really is what you are looking for. If it is, you can check out this github repo:

    https://github.com/aHaugl/samples_for_NCS/tree/main/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash

    Together with this loader.c:

    https://github.com/aHaugl/samples_for_NCS/blob/main/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/loader.c_diff.txt

    Best regards,

    Edvin

  • Thanks for the pointer!

    After making the adjustments necessary for the 5340, I get the same compilation errors as above.

    For now we've decided to defer or maybe completely drop encryption.

    For the record, here are the changes I made to the example

    Index: bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild.conf
    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    ===================================================================
    diff --git a/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild.conf b/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild.conf
    --- a/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild.conf	(revision 88bc9d2eb56510214f0d576e22ef1cae2a8a223e)
    +++ b/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild.conf	(date 1767882323100)
    @@ -1,26 +1,26 @@
     # Enable MCUboot
     SB_CONFIG_BOOTLOADER_MCUBOOT=y
    - 
    +
     # Configure project to use external flash for DFU
     SB_CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y
     SB_CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y
     
     #State we will use KMU
    -SB_CONFIG_MCUBOOT_SIGNATURE_USING_KMU=y
    +SB_CONFIG_MCUBOOT_SIGNATURE_USING_KMU=n
     #Specify key type
    -SB_CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=n
    -SB_CONFIG_BOOT_SIGNATURE_TYPE_ED25519=y
    +SB_CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
    +SB_CONFIG_BOOT_SIGNATURE_TYPE_ED25519=n
     #Add private key for MCUboot
     SB_CONFIG_BOOT_SIGNATURE_KEY_FILE="\${APP_DIR}/keys/mcuboot_ed25519_priv_a.pem"
     
     #Add NSIB
     SB_CONFIG_SECURE_BOOT_APPCORE=y
    -SB_CONFIG_SECURE_BOOT_SIGNATURE_TYPE_ECDSA=n
    -SB_CONFIG_SECURE_BOOT_SIGNATURE_TYPE_ED25519=y
    -SB_CONFIG_SECURE_BOOT_SIGNING_KEY_FILE="\${APP_DIR}/keys/nsib_ed25519_priv_a.pem"
    +SB_CONFIG_SECURE_BOOT_SIGNATURE_TYPE_ECDSA=y
    +SB_CONFIG_SECURE_BOOT_SIGNATURE_TYPE_ED25519=n
    +#SB_CONFIG_SECURE_BOOT_SIGNING_KEY_FILE="\${APP_DIR}/keys/nsib_ed25519_priv_a.pem"
     #Add public key files that will be fine to use later
    -SB_CONFIG_SECURE_BOOT_PUBLIC_KEY_FILES="\${APP_DIR}/keys/ed25519_pub_b.pem,\${APP_DIR}/keys/ed25519_pub_c.pem"
    +#SB_CONFIG_SECURE_BOOT_PUBLIC_KEY_FILES="\${APP_DIR}/keys/ed25519_pub_b.pem,\${APP_DIR}/keys/ed25519_pub_c.pem"
     
     #Encryption
    -SB_CONFIG_BOOT_ENCRYPTION=y 
    -SB_CONFIG_BOOT_ENCRYPTION_KEY_FILE="\${APP_DIR}/keys/x255519_enc_priv.pem"
    +SB_CONFIG_BOOT_ENCRYPTION=y
    +#SB_CONFIG_BOOT_ENCRYPTION_KEY_FILE="\${APP_DIR}/keys/x255519_enc_priv.pem"
    Index: bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/prj.conf
    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    ===================================================================
    diff --git a/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/prj.conf b/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/prj.conf
    --- a/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/prj.conf	(revision 88bc9d2eb56510214f0d576e22ef1cae2a8a223e)
    +++ b/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/prj.conf	(date 1765975297977)
    @@ -34,28 +34,31 @@
     CONFIG_MCUMGR_TRANSPORT_UART=y
     
     # Dependencies
    -# Configure dependencies for CONFIG_MCUMGR  
    +# Configure dependencies for CONFIG_MCUMGR
     CONFIG_NET_BUF=y
     CONFIG_ZCBOR=y
     CONFIG_CRC=y
     
    -# Configure dependencies for CONFIG_MCUMGR_GRP_IMG  
    +# Configure dependencies for CONFIG_MCUMGR_GRP_IMG
     CONFIG_FLASH=y
     CONFIG_IMG_MANAGER=y
     
    -# Configure dependencies for CONFIG_IMG_MANAGER  
    +# Configure dependencies for CONFIG_IMG_MANAGER
     CONFIG_STREAM_FLASH=y
     CONFIG_FLASH_MAP=y
     
    -# Configure dependencies for CONFIG_MCUMGR_TRANSPORT_UART 
    +# Configure dependencies for CONFIG_MCUMGR_TRANSPORT_UART
     CONFIG_BASE64=y
     
     # Enable SPI driver for the application
     CONFIG_GPIO=y
    -CONFIG_SPI=y
    -CONFIG_SPI_NOR=y
    -CONFIG_SPI_NOR_SFDP_DEVICETREE=y
    -CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
    +#CONFIG_SPI=y
    +#CONFIG_SPI_NOR=y
    +#CONFIG_SPI_NOR_SFDP_DEVICETREE=y
    +#CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
     # QSPI drivers are enabled by defualt for some chips.
     # Disable it explicitly to be sure QSPI is disabled.
    -CONFIG_NORDIC_QSPI_NOR=n 
    +
    +CONFIG_NORDIC_QSPI_NOR=y
    +# CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
    +#CONFIG_BOOT_ECDSA_TINYCRYPT=y
    Index: bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild/mcuboot.conf
    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    ===================================================================
    diff --git a/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild/mcuboot.conf b/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild/mcuboot.conf
    --- a/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild/mcuboot.conf	(revision 88bc9d2eb56510214f0d576e22ef1cae2a8a223e)
    +++ b/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild/mcuboot.conf	(date 1765975658921)
    @@ -7,21 +7,27 @@
     
     # Enable SPI driver for MCUboot
     CONFIG_GPIO=y
    -CONFIG_SPI=y
    -CONFIG_SPI_NOR=y
    -CONFIG_SPI_NOR_SFDP_DEVICETREE=y
    -CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
    +# CONFIG_SPI=y
    +# CONFIG_SPI_NOR=y
    +# CONFIG_SPI_NOR_SFDP_DEVICETREE=y
    +# CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
     # QSPI drivers are enabled by defualt for some chips.
     # Disable it explicitly to be sure QSPI is disabled.
    -CONFIG_NORDIC_QSPI_NOR=n 
    +CONFIG_NORDIC_QSPI_NOR=y
     
     # required by SPI driver
     CONFIG_MULTITHREADING=y
     
     # Increase number of sectors
     # This is 512 for the nRF54L15 but can be smaller for other chips
    -CONFIG_BOOT_MAX_IMG_SECTORS=512
    +CONFIG_BOOT_MAX_IMG_SECTORS=256
     
     # nRF54L15 needs some more space for MCUboot. 0x20000 is chosen somewhat arbitrarily, because 0x10000 was too small with encryption(??)
     # so remember to optimize this size in your own project
    -CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x10800
    +#CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x10800
    +
    +
    +CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
    +CONFIG_BOOT_ECDSA_TINYCRYPT=y
    +CONFIG_BOOT_ECDSA_CC310=n
    +
    

Reply
  • Thanks for the pointer!

    After making the adjustments necessary for the 5340, I get the same compilation errors as above.

    For now we've decided to defer or maybe completely drop encryption.

    For the record, here are the changes I made to the example

    Index: bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild.conf
    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    ===================================================================
    diff --git a/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild.conf b/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild.conf
    --- a/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild.conf	(revision 88bc9d2eb56510214f0d576e22ef1cae2a8a223e)
    +++ b/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild.conf	(date 1767882323100)
    @@ -1,26 +1,26 @@
     # Enable MCUboot
     SB_CONFIG_BOOTLOADER_MCUBOOT=y
    - 
    +
     # Configure project to use external flash for DFU
     SB_CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y
     SB_CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y
     
     #State we will use KMU
    -SB_CONFIG_MCUBOOT_SIGNATURE_USING_KMU=y
    +SB_CONFIG_MCUBOOT_SIGNATURE_USING_KMU=n
     #Specify key type
    -SB_CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=n
    -SB_CONFIG_BOOT_SIGNATURE_TYPE_ED25519=y
    +SB_CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
    +SB_CONFIG_BOOT_SIGNATURE_TYPE_ED25519=n
     #Add private key for MCUboot
     SB_CONFIG_BOOT_SIGNATURE_KEY_FILE="\${APP_DIR}/keys/mcuboot_ed25519_priv_a.pem"
     
     #Add NSIB
     SB_CONFIG_SECURE_BOOT_APPCORE=y
    -SB_CONFIG_SECURE_BOOT_SIGNATURE_TYPE_ECDSA=n
    -SB_CONFIG_SECURE_BOOT_SIGNATURE_TYPE_ED25519=y
    -SB_CONFIG_SECURE_BOOT_SIGNING_KEY_FILE="\${APP_DIR}/keys/nsib_ed25519_priv_a.pem"
    +SB_CONFIG_SECURE_BOOT_SIGNATURE_TYPE_ECDSA=y
    +SB_CONFIG_SECURE_BOOT_SIGNATURE_TYPE_ED25519=n
    +#SB_CONFIG_SECURE_BOOT_SIGNING_KEY_FILE="\${APP_DIR}/keys/nsib_ed25519_priv_a.pem"
     #Add public key files that will be fine to use later
    -SB_CONFIG_SECURE_BOOT_PUBLIC_KEY_FILES="\${APP_DIR}/keys/ed25519_pub_b.pem,\${APP_DIR}/keys/ed25519_pub_c.pem"
    +#SB_CONFIG_SECURE_BOOT_PUBLIC_KEY_FILES="\${APP_DIR}/keys/ed25519_pub_b.pem,\${APP_DIR}/keys/ed25519_pub_c.pem"
     
     #Encryption
    -SB_CONFIG_BOOT_ENCRYPTION=y 
    -SB_CONFIG_BOOT_ENCRYPTION_KEY_FILE="\${APP_DIR}/keys/x255519_enc_priv.pem"
    +SB_CONFIG_BOOT_ENCRYPTION=y
    +#SB_CONFIG_BOOT_ENCRYPTION_KEY_FILE="\${APP_DIR}/keys/x255519_enc_priv.pem"
    Index: bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/prj.conf
    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    ===================================================================
    diff --git a/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/prj.conf b/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/prj.conf
    --- a/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/prj.conf	(revision 88bc9d2eb56510214f0d576e22ef1cae2a8a223e)
    +++ b/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/prj.conf	(date 1765975297977)
    @@ -34,28 +34,31 @@
     CONFIG_MCUMGR_TRANSPORT_UART=y
     
     # Dependencies
    -# Configure dependencies for CONFIG_MCUMGR  
    +# Configure dependencies for CONFIG_MCUMGR
     CONFIG_NET_BUF=y
     CONFIG_ZCBOR=y
     CONFIG_CRC=y
     
    -# Configure dependencies for CONFIG_MCUMGR_GRP_IMG  
    +# Configure dependencies for CONFIG_MCUMGR_GRP_IMG
     CONFIG_FLASH=y
     CONFIG_IMG_MANAGER=y
     
    -# Configure dependencies for CONFIG_IMG_MANAGER  
    +# Configure dependencies for CONFIG_IMG_MANAGER
     CONFIG_STREAM_FLASH=y
     CONFIG_FLASH_MAP=y
     
    -# Configure dependencies for CONFIG_MCUMGR_TRANSPORT_UART 
    +# Configure dependencies for CONFIG_MCUMGR_TRANSPORT_UART
     CONFIG_BASE64=y
     
     # Enable SPI driver for the application
     CONFIG_GPIO=y
    -CONFIG_SPI=y
    -CONFIG_SPI_NOR=y
    -CONFIG_SPI_NOR_SFDP_DEVICETREE=y
    -CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
    +#CONFIG_SPI=y
    +#CONFIG_SPI_NOR=y
    +#CONFIG_SPI_NOR_SFDP_DEVICETREE=y
    +#CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
     # QSPI drivers are enabled by defualt for some chips.
     # Disable it explicitly to be sure QSPI is disabled.
    -CONFIG_NORDIC_QSPI_NOR=n 
    +
    +CONFIG_NORDIC_QSPI_NOR=y
    +# CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
    +#CONFIG_BOOT_ECDSA_TINYCRYPT=y
    Index: bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild/mcuboot.conf
    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    ===================================================================
    diff --git a/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild/mcuboot.conf b/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild/mcuboot.conf
    --- a/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild/mcuboot.conf	(revision 88bc9d2eb56510214f0d576e22ef1cae2a8a223e)
    +++ b/bootloader/sysbuild/7_encrypted_dfu/3_chain_ble_fota_ft_ext_flash/sysbuild/mcuboot.conf	(date 1765975658921)
    @@ -7,21 +7,27 @@
     
     # Enable SPI driver for MCUboot
     CONFIG_GPIO=y
    -CONFIG_SPI=y
    -CONFIG_SPI_NOR=y
    -CONFIG_SPI_NOR_SFDP_DEVICETREE=y
    -CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
    +# CONFIG_SPI=y
    +# CONFIG_SPI_NOR=y
    +# CONFIG_SPI_NOR_SFDP_DEVICETREE=y
    +# CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
     # QSPI drivers are enabled by defualt for some chips.
     # Disable it explicitly to be sure QSPI is disabled.
    -CONFIG_NORDIC_QSPI_NOR=n 
    +CONFIG_NORDIC_QSPI_NOR=y
     
     # required by SPI driver
     CONFIG_MULTITHREADING=y
     
     # Increase number of sectors
     # This is 512 for the nRF54L15 but can be smaller for other chips
    -CONFIG_BOOT_MAX_IMG_SECTORS=512
    +CONFIG_BOOT_MAX_IMG_SECTORS=256
     
     # nRF54L15 needs some more space for MCUboot. 0x20000 is chosen somewhat arbitrarily, because 0x10000 was too small with encryption(??)
     # so remember to optimize this size in your own project
    -CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x10800
    +#CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x10800
    +
    +
    +CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
    +CONFIG_BOOT_ECDSA_TINYCRYPT=y
    +CONFIG_BOOT_ECDSA_CC310=n
    +
    

Children
No Data
Related