asset_tracker_v2 + nRF7002 = Memory overflow

Hi,

We have a custom PCB based on the nRF9151 and nRF7002 for a tracking use case, supporting both indoor (Wi-Fi scanning) and outdoor (GPS) positioning. Our firmware is based on the asset_tracker_v2 example.

I have added the nRF7002 device overlay to the asset_tracker_v2 project, but I'm encountering flash and RAM overflow errors. We do not have any external flash memory.

 nrf9151dk_nrf9151_ns.overlay

Config:

1. overlay-nrf7002ek-wifi-scan-only.conf

2. overlay-aws.conf

3. prj.conf

Please help me to resolve the memory issue.

Parents
  • Hi,

     

    I was unable to compile with your wanted configuration, so I needed to use the nrf7002ek overlay.

    This is the configuration that I used:

    And this requires approx. 350 kB of flash. This should be just enough for dual slot mcuboot setup on internal flash only.

     

    If you still have compiler issues, could you please share the full build/compiler output?

     

    Kind regards,

    Håkon

     

  • Hi Håkon,

    Thanks for the update.

    I have replicated your config and still I see memory overflow. I have attached whole output.

     /s /c "west build --build-dir c:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build c:/ncs/v2.8.0/nrf/applications/asset_tracker_v2 --pristine --board nrf9151dk/nrf9151/ns --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DEXTRA_CONF_FILE=overlay-nrf7002ek-wifi-scan-only.conf;overlay-aws.conf -DSB_CONFIG_WIFI_NRF70=y -DSB_CONFIG_WIFI_NRF70_SCAN_ONLY=y -DSHIELD=nrf7002ek"
    
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
    -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf9151dk, qualifiers: nrf9151/ns
    -- Shield(s): nrf7002ek
    -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns.dts
    -- Found devicetree overlay: C:/ncs/v2.8.0/zephyr/boards/shields/nrf7002ek/nrf7002ek.overlay
    -- Found devicetree overlay: C:/ncs/v2.8.0/zephyr/boards/shields/nrf7002ek/boards/nrf9151dk_nrf9151_ns.overlay
    -- Found devicetree overlay: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/boards/nrf9151dk_nrf9151_ns.overlay
    -- Generated zephyr.dts: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/zephyr/dts.cmake
    
    warning: MBEDTLS (defined at C:/ncs/v2.8.0/zephyr/soc/nxp/imxrt\imxrt5xx\Kconfig.defconfig:26,
    C:/ncs/v2.8.0/zephyr/soc/nxp/imxrt\imxrt6xx\Kconfig.defconfig:40,
    C:/ncs/v2.8.0/zephyr/soc/nxp/imxrt/Kconfig.defconfig:91, C:/ncs/v2.8.0/nrf\modules/trusted-
    firmware-m/Kconfig.mbedtls_minimal.defconfig:7, C:/ncs/v2.8.0/nrf\modules/trusted-
    firmware-m/Kconfig.psa.defconfig:1, C:/ncs/v2.8.0/zephyr/modules/mbedtls/Kconfig:18,
    modules\mbedtls\Kconfig:18) was assigned the value 'n' but got the value 'y'. See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS and/or look up MBEDTLS 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: WIFI_NM_WPA_SUPPLICANT (defined at C:/ncs/v2.8.0/zephyr/modules/hostap/Kconfig:8,
    modules/hostap/Kconfig:8, modules\hostap\Kconfig:8) was assigned the value 'n' but got the value
    'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_WIFI_NM_WPA_SUPPLICANT and/or look
    up WIFI_NM_WPA_SUPPLICANT in the menuconfig/guiconfig interface. The Application Development Primer,
    Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
    helpful too.
    
    
    warning: Deprecated symbol MBEDTLS_LEGACY_CRYPTO_C is enabled.
    
    
    warning: Deprecated symbol POSIX_CLOCK is enabled.
    
    
    warning: Experimental symbol WIFI_NM_WPA_SUPPLICANT is enabled.
    
    
    warning: Experimental symbol WIFI_NM_WPA_SUPPLICANT is enabled.
    
    
    warning: Experimental symbol NRF_WIFI_RPU_RECOVERY is enabled.
    
    
    warning: Experimental symbol POSIX_ASYNCHRONOUS_IO is enabled.
    
    
    warning: Experimental symbol POSIX_DEVICE_IO is enabled.
    
    
    warning: Experimental symbol POSIX_FD_MGMT is enabled.
    
    
    warning: Experimental symbol POSIX_MULTI_PROCESS is enabled.
    
    
    warning: Experimental symbol POSIX_REALTIME_SIGNALS is enabled.
    
    
    warning: Experimental symbol POSIX_SIGNALS is enabled.
    
    
    warning: Experimental symbol NET_BUF_VARIABLE_DATA_SIZE is enabled.
    
    Parsing C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/Kconfig
    Loaded configuration 'C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns_defconfig'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/prj.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/boards/nrf9151dk_nrf9151_ns.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/overlay-nrf7002ek-wifi-scan-only.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/overlay-aws.conf'
    Configuration saved to 'C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    Changed board to secure nrf9151dk/nrf9151 (NOT NS)
    
    === child image b0 -  begin ===
    loading initial cache file C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/b0/child_image_preload.cmake
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.8.0/nrf/samples/bootloader
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
    -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf9151dk, qualifiers: nrf9151
    -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151.dts
    -- Generated zephyr.dts: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/b0/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/b0/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/b0/zephyr/dts.cmake
    Parsing C:/ncs/v2.8.0/zephyr/Kconfig
    Loaded configuration 'C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_defconfig'
    Merged configuration 'C:/ncs/v2.8.0/nrf/samples/bootloader/prj.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/b0/zephyr/misc/generated/extra_kconfig_options.conf'
    Configuration saved to 'C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/b0/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/b0/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Setting build type to 'MinSizeRel' as none was specified.
    CMake Deprecation Warning at C:/ncs/v2.8.0/nrf/cmake/partition_manager.cmake:32 (message):
      
    
                ---------------------------------------------------------------------
                --- WARNING: Child and parent image functionality is deprecated   ---
                --- and should be replaced with sysbuild. Child and parent image  ---
                --- support remains only to allow existing customer applications  ---
                --- to build and allow porting to sysbuild, it is no longer       ---
                --- receiving updates or new features and it will not be possible ---
                --- to build using child/parent image at all in nRF Connect SDK   ---
                --- version 2.9 onwards.                                          ---
                ---------------------------------------------------------------------
    Call Stack (most recent call first):
      C:/ncs/v2.8.0/zephyr/cmake/modules/kernel.cmake:255 (include)
      C:/ncs/v2.8.0/zephyr/cmake/modules/zephyr_default.cmake:142 (include)
      C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
      C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      CMakeLists.txt:9 (find_package)
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/b0
    === child image b0 -  end ===
    
    CMake Warning at C:/ncs/v2.8.0/nrf/subsys/bootloader/cmake/debug_keys.cmake:20 (message):
      
    
          --------------------------------------------------------------
          --- WARNING: Using generated NSIB public/private key-pair. ---
          --- It should not be used for production.                  ---
          --- See CONFIG_SB_SIGNING_KEY_FILE                         ---
          --------------------------------------------------------------
          
    
    Call Stack (most recent call first):
      C:/ncs/v2.8.0/nrf/subsys/bootloader/cmake/provision_hex.cmake:47 (include)
      C:/ncs/v2.8.0/nrf/subsys/CMakeLists.txt:20 (include)
    
    
    =========== 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: False
    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: False
    Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== End psa_crypto_library_config ===============
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found version "3.12.4") found components: Interpreter 
    loading initial cache file C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/mcuboot/child_image_preload.cmake
    -- Application: C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.21.0
    Changed board to secure nrf9151dk/nrf9151 (NOT NS)
    
    === child image mcuboot -  begin ===
    Loading Zephyr default modules (Zephyr base).
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
    -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf9151dk, qualifiers: nrf9151
    -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151.dts
    -- Found devicetree overlay: C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/app.overlay
    -- Generated zephyr.dts: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/mcuboot/zephyr/dts.cmake
    Parsing C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration 'C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_defconfig'
    Merged configuration 'C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/subsys/bootloader/bl_override/override_external_mcuboot.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/subsys/bootloader/image/multi_image_mcuboot.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/subsys/bootloader/image/fw_info.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/subsys/bootloader/image/build_s1.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/modules/mcuboot/tfm.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/modules/mcuboot/fih_low_enable.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
    Configuration saved to 'C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/mcuboot/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Setting build type to 'MinSizeRel' as none was specified.
    CMake Deprecation Warning at C:/ncs/v2.8.0/nrf/cmake/partition_manager.cmake:32 (message):
      
    
                ---------------------------------------------------------------------
                --- WARNING: Child and parent image functionality is deprecated   ---
                --- and should be replaced with sysbuild. Child and parent image  ---
                --- support remains only to allow existing customer applications  ---
                --- to build and allow porting to sysbuild, it is no longer       ---
                --- receiving updates or new features and it will not be possible ---
                --- to build using child/parent image at all in nRF Connect SDK   ---
                --- version 2.9 onwards.                                          ---
                ---------------------------------------------------------------------
    Call Stack (most recent call first):
      C:/ncs/v2.8.0/zephyr/cmake/modules/kernel.cmake:255 (include)
      C:/ncs/v2.8.0/zephyr/cmake/modules/zephyr_default.cmake:142 (include)
      C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
      C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      CMakeLists.txt:12 (find_package)
    
    
    MCUBoot bootloader key file: C:/ncs/v2.8.0/bootloader/mcuboot/root-ec-p256.pem
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/mcuboot
    === child image mcuboot -  end ===
    
    Changed board to secure nrf9151dk/nrf9151 (NOT NS)
    
    === child image s1_image -  begin ===
    loading initial cache file C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/mcuboot/child_image_preload.cmake
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
    -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf9151dk, qualifiers: nrf9151
    -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151.dts
    -- Found devicetree overlay: C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/app.overlay
    -- Generated zephyr.dts: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/s1_image/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/s1_image/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/s1_image/zephyr/dts.cmake
    -- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Setting build type to 'MinSizeRel' as none was specified.
    CMake Deprecation Warning at C:/ncs/v2.8.0/nrf/cmake/partition_manager.cmake:32 (message):
      
    
                ---------------------------------------------------------------------
                --- WARNING: Child and parent image functionality is deprecated   ---
                --- and should be replaced with sysbuild. Child and parent image  ---
                --- support remains only to allow existing customer applications  ---
                --- to build and allow porting to sysbuild, it is no longer       ---
                --- receiving updates or new features and it will not be possible ---
                --- to build using child/parent image at all in nRF Connect SDK   ---
                --- version 2.9 onwards.                                          ---
                ---------------------------------------------------------------------
    Call Stack (most recent call first):
      C:/ncs/v2.8.0/zephyr/cmake/modules/kernel.cmake:255 (include)
      C:/ncs/v2.8.0/zephyr/cmake/modules/zephyr_default.cmake:142 (include)
      C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
      C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      CMakeLists.txt:12 (find_package)
    
    
    MCUBoot bootloader key file: C:/ncs/v2.8.0/bootloader/mcuboot/root-ec-p256.pem
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/s1_image
    === child image s1_image -  end ===
    
    CMake Warning at C:/ncs/v2.8.0/nrf/modules/mcuboot/CMakeLists.txt:382 (message):
      
    
              ---------------------------------------------------------
              --- WARNING: Using default MCUBoot key, it should not ---
              --- be used for production.                           ---
              ---------------------------------------------------------
              
    
    
    
    -- Setting build type to 'MinSizeRel' as none was specified.
    -- Found partition manager static configuration: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/pm_static_nrf9151dk_nrf9151_ns.yml
    Partition 'mcuboot_secondary' is not included in the dynamic resolving since it is statically defined.
    Dropping partition 'nrf_modem_lib_trace' since its size is 0.
    -- Configuring done
    CMake Warning at C:/ncs/v2.8.0/zephyr/CMakeLists.txt:952 (message):
      No SOURCES given to Zephyr library: ..__nrf__subsys__caf__modules
    
      Excluding target from build.
    
    
    CMake Warning at C:/ncs/v2.8.0/zephyr/CMakeLists.txt:2134 (message):
      __ASSERT() statements are globally ENABLED
    
    
    CMake Deprecation Warning at C:/ncs/v2.8.0/nrf/cmake/partition_manager.cmake:32 (message):
      
    
                ---------------------------------------------------------------------
                --- WARNING: Child and parent image functionality is deprecated   ---
                --- and should be replaced with sysbuild. Child and parent image  ---
                --- support remains only to allow existing customer applications  ---
                --- to build and allow porting to sysbuild, it is no longer       ---
                --- receiving updates or new features and it will not be possible ---
                --- to build using child/parent image at all in nRF Connect SDK   ---
                --- version 2.9 onwards.                                          ---
                ---------------------------------------------------------------------
    Call Stack (most recent call first):
      C:/ncs/v2.8.0/zephyr/cmake/modules/kernel.cmake:255 (include)
      C:/ncs/v2.8.0/zephyr/cmake/modules/zephyr_default.cmake:142 (include)
      C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
      C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      CMakeLists.txt:9 (find_package)
    
    
    -- Generating done
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        SB_CONFIG_WIFI_NRF70
        SB_CONFIG_WIFI_NRF70_SCAN_ONLY
    
    
    -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build
    -- west build: building application
    [9/679] Generating include/generated/zephyr/version.h
    -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr), build: v3.7.99-ncs1
    [4/136] Generating include/generated/zephyr/version.h
    -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr), build: v3.7.99-ncs1
    [136/136] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       27078 B        32 KB     82.64%
                 RAM:       37272 B     219928 B     16.95%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/b0/zephyr/zephyr.elf for board: nrf9151dk
    [28/679] Generating ../../tfm/CMakeCache.txt
    CMake Warning at cmake/version.cmake:31 (message):
    
      TFM_VERSION_MANUAL mismatches to actual TF-M version.  Please update
    
      TFM_VERSION_MANUAL in cmake/version.cmake
    
    Call Stack (most recent call first):
    
      CMakeLists.txt:13 (include)
    
    
    
    
    -- Found Git: C:/ncs/toolchains/2d382dcd92/mingw64/bin/git.exe (found version "2.37.3.windows.1") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found version "3.12.4") found components: Interpreter 
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm
    [6/187] Generating include/generated/zephyr/version.h
    -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr), build: v3.7.99-ncs1
    [187/187] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       32914 B        48 KB     66.96%
                 RAM:       18480 B        32 KB     56.40%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/mcuboot/zephyr/zephyr.elf for board: nrf9151dk
    [6/187] Generating include/generated/zephyr/version.h
    -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr), build: v3.7.99-ncs1
    [187/187] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       32914 B        48 KB     66.96%
                 RAM:       18480 B     219928 B      8.40%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/s1_image/zephyr/zephyr.elf for board: nrf9151dk
    [143/147] Linking C executable bin\tfm_s.axf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       31580 B      32256 B     97.90%
                 RAM:       11972 B        32 KB     36.54%
    [50/679] Generating ../../zephyr/signed_by_mcuboot_and_b0_s0_image_update.bin
    image.py: sign the payload
    
    [51/679] Generating ../../zephyr/signed_by_mcuboot_and_b0_s0_image_signed.hex
    image.py: sign the payload
    
    [53/679] Generating ../../zephyr/signed_by_mcuboot_and_b0_s1_image_update.bin
    image.py: sign the payload
    
    [54/679] Generating ../../zephyr/signed_by_mcuboot_and_b0_s0_image_test_update.hex
    image.py: sign the payload
    
    [55/679] Generating ../../zephyr/signed_by_mcuboot_and_b0_s1_image_signed.hex
    image.py: sign the payload
    
    [56/679] Generating ../../zephyr/signed_by_mcuboot_and_b0_s1_image_test_update.hex
    image.py: sign the payload
    
    [59/679] Performing install step for 'tfm'
    -- Install configuration: "MinSizeRel"
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/tfm_ioctl_core_api.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/src/tfm_ioctl_core_ns_api.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/config_nordic_nrf_spe.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/driver/Driver_Common.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/driver/Driver_Flash.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/driver/Driver_USART.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/startup.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/startup_nrf91.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/nrfx_glue.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/pal_plat_test.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/pal_plat_test.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/startup.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/target_cfg.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/nrfx_config.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/CMakeLists.txt
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/config.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/native_drivers
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/native_drivers/mpu_armv8m_drv.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/native_drivers/mpu_armv8m_drv.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/native_drivers/spu.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/native_drivers/spu.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/cmsis_drivers
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/cmsis_drivers/Driver_Flash.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/cmsis_drivers/Driver_USART.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/common
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/common/cmsis.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/common/nrf-pinctrl.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/common/nrfx_glue.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/common/nrfx_log.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/common/tfm_hal_platform_common.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/nrfx
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/nrfx/nrfx.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/services
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/services/include
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/services/include/tfm_ioctl_core_api.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/services/include/tfm_platform_hal_ioctl.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/services/src
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/services/src/tfm_ioctl_core_ns_api.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/services/src/tfm_ioctl_core_s_api.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/services/src/tfm_platform_hal_ioctl.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/tests
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/core/tests/tfm_tests_config.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/linker_scripts/tfm_common_ns.ld
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/nrf91/nrfx_config_nrf91.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/nrf91/CMakeLists.txt
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/nrf91/config.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/nrf91/tests
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/nrf91/tests/psa_arch_tests_config.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/nrf91/partition
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/nrf91/partition/flash_layout.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/nrf91/partition/region_defs.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/CMakeLists.txt
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/cpuarch.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/common/nrf9120/cpuarch.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/config.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/../common/config.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/tests
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/tests/psa_arch_tests_config.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/tests/tfm_tests_config.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/bin
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/bin/tfm_s.axf
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/bin/tfm_s.bin
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/bin/tfm_s.elf
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/bin/tfm_s.hex
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/bin/tfm_s.map
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/lib/s_veneers.o
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/client.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/error.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa_manifest/sid.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/config_impl.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/tfm_veneers.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/tfm_ns_interface.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/tfm_ns_client_ext.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/config_tfm.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/config_base.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/tfm_psa_call_pack.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/framework_feature.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/build_info.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_adjust_auto_enabled.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_adjust_config_key_pair_types.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_adjust_config_synonyms.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_compat.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_driver_common.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_driver_contexts_composites.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_driver_contexts_key_derivation.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_driver_contexts_primitives.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_extra.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_legacy.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_platform.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_se_driver.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_sizes.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_struct.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_types.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto_values.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/psa/crypto.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/mbedtls/build_info.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/mbedtls/config_psa.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/nrf-config.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/nrf-psa-crypto-config.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/tfm_platform_api.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/src/tfm_tz_psa_ns_api.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/os_wrapper
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/os_wrapper/common.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/include/os_wrapper/mutex.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/src/os_wrapper
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/src/os_wrapper/tfm_ns_interface_bare_metal.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/src/os_wrapper/tfm_ns_interface_rtos.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/src/tfm_crypto_api.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/interface/src/tfm_platform_api.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/config/cp_check.cmake
    ----- Installing platform NS -----
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/a-profile
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/a-profile/cmsis_armclang_a.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/a-profile/cmsis_clang_a.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/a-profile/cmsis_cp15.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/a-profile/cmsis_gcc_a.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/a-profile/cmsis_iccarm_a.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/a-profile/irq_ctrl.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/cmsis_compiler.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/cmsis_version.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_ca.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_cm0.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_cm0plus.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_cm1.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_cm23.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_cm3.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_cm33.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_cm35p.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_cm4.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_cm52.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_cm55.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_cm7.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_cm85.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_sc000.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_sc300.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/core_starmc1.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/m-profile
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/m-profile/armv7m_cachel1.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/m-profile/armv7m_mpu.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/m-profile/armv81m_pac.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/m-profile/armv8m_mpu.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/m-profile/armv8m_pmu.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/m-profile/cmsis_armclang_m.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/m-profile/cmsis_clang_m.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/m-profile/cmsis_gcc_m.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/m-profile/cmsis_iccarm_m.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/m-profile/cmsis_tiarmclang_m.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/cmsis/Include/tz_context.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/common/uart_stdout.c
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/ext/common/uart_stdout.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/boot_hal.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/cmsis_override.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/exception_info.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/fatal_error.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/mbedtls_entropy_nv_seed_config.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/region.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_attest_hal.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_hal_defs.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_hal_device_header.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_hal_interrupt.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_hal_isolation.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_hal_its.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_hal_its_encryption.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_hal_mailbox.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_hal_multi_core.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_hal_platform.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_hal_ps.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_platform_system.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_plat_boot_seed.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_plat_config.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_plat_crypto_keys.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_plat_crypto_nv_seed.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_plat_defs.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_plat_device_id.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_plat_ns.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_plat_nv_counters.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_plat_otp.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_plat_provisioning.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_plat_rotpk.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/tfm_plat_test.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/CMakeLists.txt
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/cmake/toolchain_ns_GNUARM.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/cmake/toolchain_ns_ARMCLANG.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/cmake/toolchain_ns_IARARM.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/platform/include/fih.h
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/cmake/spe_export.cmake
    -- Installing: C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/tfm/api_ns/cmake/set_extensions.cmake
    [610/679] Building C object modules/nrf/subsys/net/lib/mqtt_helper/CMakeFiles/..__nrf__subsys__net__lib__mqtt_helper.dir/mqtt_helper.c.obj
    In function 'broker_init',
        inlined from 'client_connect' at C:/ncs/v2.8.0/nrf/subsys/net/lib/mqtt_helper/mqtt_helper.c:465:8,
        inlined from 'mqtt_helper_connect' at C:/ncs/v2.8.0/nrf/subsys/net/lib/mqtt_helper/mqtt_helper.c:605:8:
    C:/ncs/v2.8.0/nrf/subsys/net/lib/mqtt_helper/mqtt_helper.c:418:46: warning: array subscript 'struct sockaddr_in6[0]' is partly outside array bounds of 'struct sockaddr_storage[1]' [-Warray-bounds]
      418 |                         broker6->sin6_family = addr->ai_family;
          |                         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
    C:/ncs/v2.8.0/nrf/subsys/net/lib/mqtt_helper/mqtt_helper.c: In function 'mqtt_helper_connect':
    C:/ncs/v2.8.0/nrf/subsys/net/lib/mqtt_helper/mqtt_helper.c:40:32: note: object 'broker' of size 20
       40 | static struct sockaddr_storage broker;
          |                                ^~~~~~
    In function 'broker_init',
        inlined from 'client_connect' at C:/ncs/v2.8.0/nrf/subsys/net/lib/mqtt_helper/mqtt_helper.c:465:8,
        inlined from 'mqtt_helper_connect' at C:/ncs/v2.8.0/nrf/subsys/net/lib/mqtt_helper/mqtt_helper.c:605:8:
    C:/ncs/v2.8.0/nrf/subsys/net/lib/mqtt_helper/mqtt_helper.c:419:44: warning: array subscript 'struct sockaddr_in6[0]' is partly outside array bounds of 'struct sockaddr_storage[1]' [-Warray-bounds]
      419 |                         broker6->sin6_port = htons(CONFIG_MQTT_HELPER_PORT);
    C:/ncs/v2.8.0/nrf/subsys/net/lib/mqtt_helper/mqtt_helper.c: In function 'mqtt_helper_connect':
    C:/ncs/v2.8.0/nrf/subsys/net/lib/mqtt_helper/mqtt_helper.c:40:32: note: object 'broker' of size 20
       40 | static struct sockaddr_storage broker;
          |                                ^~~~~~
    [664/679] Linking C executable zephyr\zephyr_pre0.elf
    FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map C:/ncs/v2.8.0/nrf/applications/asset_tracker_v2/build/zephyr/zephyr_pre0.map 
    cmd.exe /C "cd . && C:\ncs\toolchains\2d382dcd92\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -Os -DNDEBUG -gdwarf-4 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf  && cmd.exe /C "cd /D C:\ncs\v2.8.0\nrf\applications\asset_tracker_v2\build\zephyr && C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.exe -E true""
    lto-wrapper.exe: warning: using serial compilation of 2 LTRANS jobs
    lto-wrapper.exe: note: see the '-flto' option documentation for more information
    c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr\zephyr_pre0.elf section `noinit' will not fit in region `RAM'
    c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `RAM' overflowed by 17624 bytes
    collect2.exe: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.EXE' --build 'c:\ncs\v2.8.0\nrf\applications\asset_tracker_v2\build'
    
     

    Please have a look.

  • Hi,

     

    The RAM is now overflowing by approx. 17 kB.

    The memory requirements for scan/locationing services is listed here:

    https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/wifi/scan_mode/mem_requirements_scan.html

     

    And it seems that you need to optimize the application in order to fit all of your wanted modules into the asset_tracker_v2.

    You can disable features like logging and console (CONFIG_LOG=n and CONFIG_CONSOLE=n), but this will likely still overflow your RAM.

     

    Further more, you can adjust the buffer counts in certain modules, like:

    # These were 10

    CONFIG_DATA_GNSS_BUFFER_COUNT=5

    CONFIG_DATA_SENSOR_BUFFER_COUNT=5

    # this was 20

    CONFIG_LOCATION_METHOD_WIFI_SCANNING_RESULTS_MAX_CNT=10

     

    Now, these can cause run-time issues, so please be sure to test your firmware extensively.

     

    Kind regards,

    Håkon

Reply Children
  • Hi Håkon,

    1. I'm currently working with the default asset_tracker_v2 example in the nRF Connect SDK. I noticed that you're able to build it without encountering any RAM overflow issues. I’d also like to achieve a clean build without memory errors. (Note: I'm using  --no-sysbuild)

    2. Also by default, external memory is enabled in asset_tracker_v2(nrf9151 dk). Since we don't have external flash memory on our board, could you please share the necessary configuration to disable external memory and successfully build the asset_tracker_v2 example?

    Thanks in advance!

  • Hi,

     

    Bala_ k p said:
    1. I'm currently working with the default asset_tracker_v2 example in the nRF Connect SDK. I noticed that you're able to build it without encountering any RAM overflow issues. I’d also like to achieve a clean build without memory errors. (Note: I'm using  --no-sysbuild)

    Could you please try building with sysbuild? "no-sysbuild" is not supported in newer SDK versions.

     

    Bala_ k p said:
    2. Also by default, external memory is enabled in asset_tracker_v2(nrf9151 dk). Since we don't have external flash memory on our board, could you please share the necessary configuration to disable external memory and successfully build the asset_tracker_v2 example?

    You need to undo the nordic,pm-ext-flash selection in the application overlay + mcuboot board overlay, as well as disable the external flash.

     

    If your custom board differs this much, it might be beneficial to make a custom board:

    https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-3-adding-custom-board-support/

     

    Kind regards,

    Håkon

  • 1. "asset_tracker_v2"+ WIFI build succeeds with sysbuild.

    2. I have removed the nordic,pm-ext-flash in both app and mcuboot, after doing that "--no-sysbuild" build successful.

    Flash Partition:

    With sysbuild(no external flash), Im getting build error. (That's why I was using "--no-sysbuild")

    Building saluswear-firmware-v3
    C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1 c:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3 --pristine --board nrf9151dk/nrf9151/ns --sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DEXTRA_CONF_FILE=overlay-aws.conf -DCONF_FILE=prj.conf -DDTC_OVERLAY_FILE=boards/nrf9151dk_nrf9151_ns.overlay -DBOARD_ROOT=c:/ncs/v2.8.0"
    
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf9151dk, qualifiers: nrf9151/ns
    Parsing c:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/Kconfig.sysbuild
    Loaded configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/_sysbuild/empty.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/_sysbuild/empty.conf'
    Configuration saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/_sysbuild/autoconf.h'
    -- 
       *****************************
       * Running CMake for mcuboot *
       *****************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
    -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf9151dk, qualifiers: nrf9151
    -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151.dts
    -- Found devicetree overlay: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/sysbuild/mcuboot/boards/nrf9151dk_nrf9151.overlay
    -- Generated zephyr.dts: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/mcuboot/zephyr/dts.cmake
    
    warning: MBEDTLS_CFG_FILE (defined at C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig:367,
    C:/ncs/v2.8.0/nrf\subsys\nrf_security/Kconfig:66, C:/ncs/v2.8.0/zephyr/modules/mbedtls/Kconfig:58,
    modules\mbedtls\Kconfig:58) was assigned the value 'mcuboot-mbedtls-cfg.h' but got the value ''.
    Check these unsatisfied dependencies: (MBEDTLS || NRF_SECURITY || (MBEDTLS_BUILTIN && MBEDTLS) ||
    (MBEDTLS_BUILTIN && MBEDTLS && 0)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_CFG_FILE and/or look up
    MBEDTLS_CFG_FILE in the menuconfig/guiconfig interface. The Application Development Primer, Setting
    Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
    too.
    
    Parsing C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration 'C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_defconfig'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/sysbuild/mcuboot/prj.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/sysbuild/mcuboot/boards/nrf9151dk_nrf9151.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/modules/mcuboot/tfm.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/modules/mcuboot/fih_low_enable.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/subsys/bootloader/image/log_minimal.conf'
    Merged configuration 'C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr/external_crypto.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/mcuboot/zephyr/.config.sysbuild'
    Configuration saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/mcuboot/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/mcuboot/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Setting build type to 'MinSizeRel' as none was specified.
    MCUBoot bootloader key file: C:/ncs/v2.8.0/bootloader/mcuboot/root-ec-p256.pem
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/mcuboot
    -- 
       ************************
       * Running CMake for b0 *
       ************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.8.0/nrf/samples/bootloader
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
    -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf9151dk, qualifiers: nrf9151
    -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151.dts
    -- Generated zephyr.dts: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/b0/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/b0/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/b0/zephyr/dts.cmake
    Parsing C:/ncs/v2.8.0/zephyr/Kconfig
    Loaded configuration 'C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_defconfig'
    Merged configuration 'C:/ncs/v2.8.0/nrf/samples/bootloader/prj.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/b0/zephyr/.config.sysbuild'
    Configuration saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/b0/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/b0/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Setting build type to 'MinSizeRel' as none was specified.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/b0
    -- 
       *******************************************
       * Running CMake for saluswear-firmware-v3 *
       *******************************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
    -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf9151dk, qualifiers: nrf9151/ns
    -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns.dts
    -- Found devicetree overlay: boards/nrf9151dk_nrf9151_ns.overlay
    -- Generated zephyr.dts: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/dts.cmake
    
    warning: PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY (defined at
    C:/ncs/v2.8.0/nrf\subsys\partition_manager/Kconfig:214) was assigned the value 'y' but got the value
    'n'. Check these unsatisfied dependencies: (PM_EXTERNAL_FLASH_ENABLED || MCUBOOT) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY and/or
    look up PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY in the menuconfig/guiconfig interface. The Application
    Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of
    the manual might be helpful too.
    
    
    warning: Deprecated symbol POSIX_CLOCK is enabled.
    
    
    warning: Deprecated symbol NET_SOCKETS_POSIX_NAMES is enabled.
    
    Parsing C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/Kconfig
    Loaded configuration 'C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns_defconfig'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/prj.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/overlay-aws.conf'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/.config.sysbuild'
    Configuration saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    =========== Generating psa_crypto_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: 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 ===============
    -- Setting build type to 'MinSizeRel' as none was specified.
    -- Including signing script: C:/ncs/v2.8.0/nrf/cmake/sysbuild/image_signing.cmake
    CMake Warning at C:/ncs/v2.8.0/zephyr/CMakeLists.txt:2134 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3
    -- 
       ******************************
       * Running CMake for s1_image *
       ******************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v2.8.0/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
    -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf9151dk, qualifiers: nrf9151
    -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/2d382dcd92/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151.dts
    -- Found devicetree overlay: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/sysbuild/mcuboot/boards/nrf9151dk_nrf9151.overlay
    -- Generated zephyr.dts: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/s1_image/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/s1_image/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/s1_image/zephyr/dts.cmake
    -- Found GnuLd: c:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Setting build type to 'MinSizeRel' as none was specified.
    MCUBoot bootloader key file: C:/ncs/v2.8.0/bootloader/mcuboot/root-ec-p256.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: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/s1_image
    CMake Warning at C:/ncs/v2.8.0/nrf/cmake/sysbuild/debug_keys.cmake:21 (message):
      
    
          --------------------------------------------------------------
          --- WARNING: Using generated NSIB public/private key-pair. ---
          --- It should not be used for production.                  ---
          --- See SB_CONFIG_SECURE_BOOT_SIGNING_KEY_FILE             ---
          --------------------------------------------------------------
          
    
    Call Stack (most recent call first):
      C:/ncs/v2.8.0/nrf/cmake/sysbuild/provision_hex.cmake:11 (include)
      C:/ncs/v2.8.0/nrf/sysbuild/CMakeLists.txt:55 (include)
      C:/ncs/v2.8.0/nrf/sysbuild/CMakeLists.txt:620 (include_provision_hex)
      cmake/modules/sysbuild_extensions.cmake:583 (nrf_POST_CMAKE)
      cmake/modules/sysbuild_extensions.cmake:583 (cmake_language)
      cmake/modules/sysbuild_images.cmake:23 (sysbuild_module_call)
      cmake/modules/sysbuild_default.cmake:20 (include)
      C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
      C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      C:/ncs/v2.8.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
      template/CMakeLists.txt:10 (find_package)
    
    
    CMake Warning at C:/ncs/v2.8.0/nrf/cmake/sysbuild/partition_manager.cmake:106 (message):
      
    
            ---------------------------------------------------------------------
            --- WARNING: Using a bootloader without pm_static.yml.            ---
            --- There are cases where a deployed product can consist of       ---
            --- multiple images, and only a subset of these images can be     ---
            --- upgraded through a firmware update mechanism. In such cases,  ---
            --- the upgradable images must have partitions that are static    ---
            --- and are matching the partition map used by the bootloader     ---
            --- programmed onto the device.                                   ---
            ---------------------------------------------------------------------
            
    
    Call Stack (most recent call first):
      C:/ncs/v2.8.0/nrf/cmake/sysbuild/partition_manager.cmake:630 (partition_manager)
      C:/ncs/v2.8.0/nrf/sysbuild/CMakeLists.txt:661 (include)
      cmake/modules/sysbuild_extensions.cmake:583 (nrf_POST_CMAKE)
      cmake/modules/sysbuild_extensions.cmake:583 (cmake_language)
      cmake/modules/sysbuild_images.cmake:23 (sysbuild_module_call)
      cmake/modules/sysbuild_default.cmake:20 (include)
      C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
      C:/ncs/v2.8.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      C:/ncs/v2.8.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
      template/CMakeLists.txt:10 (find_package)
    
    
    Dropping partition 'nrf_modem_lib_trace' since its size is 0.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1
    -- west build: building application
    [0/1] Re-running CMake...
    Loading Zephyr default modules (Zephyr base (cached)).
    -- Application: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3
    -- CMake version: 3.21.0
    -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
    -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf9151dk, qualifiers: nrf9151/ns
    -- Found host-tools: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.8 (C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk)
    -- Found BOARD.dts: C:/ncs/v2.8.0/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns.dts
    -- Found devicetree overlay: boards/nrf9151dk_nrf9151_ns.overlay
    -- Generated zephyr.dts: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/dts.cmake
    
    warning: Deprecated symbol POSIX_CLOCK is enabled.
    
    
    warning: Deprecated symbol NET_SOCKETS_POSIX_NAMES is enabled.
    
    Parsing C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/Kconfig
    Loaded configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/.config'
    Merged configuration 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/.config.sysbuild'
    No change to configuration in 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/zephyr/.config'
    No change to Kconfig header in 'C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/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 ===============
    -- Including signing script: C:/ncs/v2.8.0/nrf/cmake/sysbuild/image_signing.cmake
    CMake Warning at C:/ncs/v2.8.0/zephyr/CMakeLists.txt:2134 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3
    [4/461] Generating include/generated/zephyr/version.h
    -- Zephyr version: 3.7.99 (C:/ncs/v2.8.0/zephyr), build: v3.7.99-ncs1
    [9/461] Generating ../../tfm/CMakeCache.txt
    CMake Warning at cmake/version.cmake:31 (message):
      TFM_VERSION_MANUAL mismatches to actual TF-M version.  Please update
      TFM_VERSION_MANUAL in cmake/version.cmake
    Call Stack (most recent call first):
      CMakeLists.txt:13 (include)
    
    
    -- Found Git: C:/ncs/toolchains/2d382dcd92/mingw64/bin/git.exe (found version "2.37.3.windows.1") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/2d382dcd92/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found version "3.12.4") found components: Interpreter 
    -- Found Python3: C:/ncs/toolchains/2d382dcd92/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v2.8.0/zephyr/.cache
    -- Configuring done
    CMake Warning in C:/ncs/v2.8.0/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeLists.txt:
      The object file directory
    
        C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/./
    
      has 192 characters.  The maximum full path to an object file is 250
      characters (see CMAKE_OBJECT_PATH_MAX).  Object file
    
        C_/ncs/v2.8.0/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.o
    
      cannot be safely placed under this directory.  The build may not work
      correctly.
    
    
    -- Generating done
    -- Build files have been written to: C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm
    [8/139] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/target/nordic_nrf/common/core/target_cfg.o
    FAILED: secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/target/nordic_nrf/common/core/target_cfg.o 
    C:\ncs\toolchains\2d382dcd92\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DBL1_HEADER_SIZE=0x000 -DBL1_TRAILER_SIZE=0x000 -DBL2_HEADER_SIZE=0x000 -DBL2_TRAILER_SIZE=0x000 -DCONFIG_TFM_ENABLE_CP10CP11 -DCONFIG_TFM_FLOAT_ABI=2 -DCONFIG_TFM_HALT_ON_CORE_PANIC -DCONFIG_TFM_LAZY_STACKING -DCONFIG_TFM_USE_TRUSTZONE -DCRYPTO_HW_ACCELERATOR -DDAUTH_CHIP_DEFAULT -DINSIDE_TFM_BUILD -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMBEDTLS_PSA_CRYPTO_DRIVERS -DMCUBOOT_IMAGE_NUMBER=1 -DNRF9120_XXAA -DNRF91_SERIES -DNRF_ALLOW_NON_SECURE_FAULT_HANDLING -DNRF_ALLOW_NON_SECURE_RESET -DNRF_HW_INIT_NRF_PERIPHERALS -DNRF_HW_INIT_RESET_ON_BOOT -DNRF_NS_SECONDARY -DNRF_NS_STORAGE -DNRF_SECURE_UART_INSTANCE=1 -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DPLATFORM_DEFAULT_BL1 -DPLATFORM_NS_NV_COUNTERS=0 -DPROJECT_CONFIG_HEADER_FILE=\"C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/modules/nrf/modules/trusted-firmware-m/tfm_config.h\" -DPS_CRYPTO_AEAD_ALG_CCM -DPS_ENCRYPTION -DSECURE_UART1 -DTFM_EXCEPTION_INFO_DUMP -DTFM_FIH_PROFILE_OFF -DTFM_INTERNAL_TRUSTED_STORAGE_SERVICE_SID=0x00000070 -DTFM_ISOLATION_LEVEL=1 -DTFM_PARTITION_CRYPTO -DTFM_PARTITION_LOG_LEVEL=TFM_PARTITION_LOG_LEVEL_SILENCE -DTFM_PARTITION_NS_AGENT_TZ -DTFM_PARTITION_PLATFORM -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_INFO -DTFM_SPM_LOG_RAW_ENABLED -D__NRF_TFM__ -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/include -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/generated -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/generated/secure_fw/spm/include -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/generated/secure_fw/spm/core -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/core/arch -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/boot -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/spm/include/interface -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/. -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/native_drivers -IC:/ncs/v2.8.0/modules/hal/nordic/nrfx -IC:/ncs/v2.8.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.8.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/common -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/.. -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/services/include -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/nrf91/. -IC:/ncs/v2.8.0/nrf/modules/trusted-firmware-m/tfm_boards/include -IC:/ncs/v2.8.0/nrf/modules/trusted-firmware-m/tfm_boards/partition -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/../zephyr/include/generated -IC:/ncs/v2.8.0/nrf/modules/trusted-firmware-m/tfm_boards/board -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/../zephyr/misc/generated/syscalls_links/include -IC:/ncs/v2.8.0/zephyr/include -IC:/ncs/v2.8.0/nrf/modules/trusted-firmware-m/tfm_boards/services/include -IC:/ncs/v2.8.0/nrf/include -IC:/ncs/v2.8.0/nrf/include/tfm -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/accelerator/interface -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/../secure_fw/spm/include/private -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/common -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/driver -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/include -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/config -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/firmware_update -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/initial_attestation -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/internal_trusted_storage -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/protected_storage -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/generated/interface/include -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/../../../platform/include -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/generated/interface_nrf_security_psa -IC:/ncs/v2.8.0/nrf/subsys/nrf_security/include -IC:/ncs/v2.8.0/modules/crypto/oberon-psa-crypto/include -IC:/ncs/v2.8.0/nrf/subsys/nrf_security/src/utils -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/lib/fih/inc -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/cmsis/CMSIS/Core/Include -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/cmsis/CMSIS/Core/Include/m-profile -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/generated/secure_fw/partitions/crypto -IC:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/generated/secure_fw/partitions/platform -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/lib/runtime/include -IC:/ncs/v2.8.0/modules/crypto/oberon-psa-crypto/library -IC:/ncs/v2.8.0/modules/crypto/mbedtls/library -IC:/ncs/v2.8.0/modules/crypto/mbedtls/include -IC:/ncs/v2.8.0/modules/crypto/mbedtls/include/library -IC:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/interface/include -mcpu=cortex-m33 -Os -DNDEBUG -specs=nano.specs -specs=nosys.specs -Wall -Wno-format -Wno-return-type -Wno-unused-but-set-variable -c -fdata-sections -ffunction-sections -fno-builtin -fshort-enums -funsigned-char -mthumb -std=c99 -gdwarf-4 -g -mfloat-abi=hard -mfpu=fpv5-sp-d16 -mcmse -Wno-unused-value -include C:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/include/cmsis_override.h -MD -MT secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/target/nordic_nrf/common/core/target_cfg.o -MF secure_fw\spm\CMakeFiles\tfm_spm.dir\__\__\platform\ext\target\nordic_nrf\common\core\target_cfg.o.d -o secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/target/nordic_nrf/common/core/target_cfg.o -c C:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/target_cfg.c
    In file included from C:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/target_cfg.h:36,
                     from C:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/target_cfg.c:18:
    C:/ncs/v2.8.0/nrf/modules/trusted-firmware-m/tfm_boards/partition/region_defs.h:26:45: error: 'PM_MCUBOOT_SECONDARY_ADDRESS' undeclared here (not in a function); did you mean 'PM_MCUBOOT_END_ADDRESS'?
       26 | #define S_IMAGE_SECONDARY_PARTITION_OFFSET (PM_MCUBOOT_SECONDARY_ADDRESS)
          |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ncs/v2.8.0/nrf/modules/trusted-firmware-m/tfm_boards/partition/region_defs.h:102:36: note: in expansion of macro 'S_IMAGE_SECONDARY_PARTITION_OFFSET'
      102 | #define SECONDARY_PARTITION_START (S_IMAGE_SECONDARY_PARTITION_OFFSET)
          |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:/ncs/v2.8.0/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nordic_nrf/common/core/target_cfg.c:763:33: note: in expansion of macro 'SECONDARY_PARTITION_START'
      763 |     .secondary_partition_base = SECONDARY_PARTITION_START,
          |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
    ninja: build stopped: subcommand failed.
    FAILED: modules/trusted-firmware-m/tfm-prefix/src/tfm-stamp/tfm-build tfm/bin/tfm_s.elf tfm/bin/tfm_s.bin tfm/bin/tfm_s.hex tfm/bin/tfm_s_signed.bin tfm/bin/tfm_s_ns_signed.bin tfm/api_ns/interface/lib/s_veneers.o tfm/api_ns/interface/src/tfm_attest_api.c tfm/api_ns/interface/src/tfm_crypto_api.c tfm/api_ns/interface/src/tfm_fwu_api.c tfm/api_ns/interface/src/tfm_its_api.c tfm/api_ns/interface/src/tfm_platform_api.c tfm/api_ns/interface/src/tfm_ps_api.c tfm/api_ns/interface/src/tfm_tz_psa_ns_api.c tfm/api_ns/interface/src/tfm_ioctl_core_ns_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/modules/trusted-firmware-m/tfm-prefix/src/tfm-stamp/tfm-build C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/bin/tfm_s.elf C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/bin/tfm_s.bin C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/bin/tfm_s.hex C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/bin/tfm_s_signed.bin C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/bin/tfm_s_ns_signed.bin C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/lib/s_veneers.o C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_attest_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_crypto_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_fwu_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_its_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_platform_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_ps_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_tz_psa_ns_api.c C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/saluswear-firmware-v3/tfm/api_ns/interface/src/tfm_ioctl_core_ns_api.c 
    cmd.exe /C "cd /D C:\ncs\v2.8.0\nrf\applications\saluswear-firmware-v3\build_1\saluswear-firmware-v3\tfm && C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.exe --build . -j 1"
    ninja: build stopped: subcommand failed.
    [22/54] No configure step for 's1_image'
    FAILED: _sysbuild/sysbuild/images/saluswear-firmware-v3-prefix/src/saluswear-firmware-v3-stamp/saluswear-firmware-v3-build C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1/_sysbuild/sysbuild/images/saluswear-firmware-v3-prefix/src/saluswear-firmware-v3-stamp/saluswear-firmware-v3-build 
    cmd.exe /C "cd /D C:\ncs\v2.8.0\nrf\applications\saluswear-firmware-v3\build_1\saluswear-firmware-v3 && C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.exe --build ."
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\2d382dcd92\opt\bin\cmake.EXE' --build C:/ncs/v2.8.0/nrf/applications/saluswear-firmware-v3/build_1
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 

    Sysbuild conf and  overlay

    nrf9151dk_nrf9151.confnrf9151dk_nrf9151.overlay

    app conf and  overlay

    7418.nrf9151dk_nrf9151_ns.overlaynrf9151dk_nrf9151_ns.conf

    Please help me to build without external flash with Sysbuild .

Related