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.

Reply
  • 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.

Children
  • 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

  • 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.

    2. I'm using the asset_tracker_v2 with the nRF9151 DK, and by default, external memory is enabled. 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!

Related