Fail to build in VS new SDK 2.2

Hi,

We moving to new SDK and I'm failing on building with VS, previously I was with 1.9.1 and Segger so had no problem

"
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'c:\nrf\toolchains\v2.2.0\opt\bin\cmake.EXE' --build 'c:\nrf\v2.2.0\nrf\applications\serial_lte_modem\SLM'
"

Any idea how to fix it?

Parents Reply Children
  • Hi Einar,

    Thanks for the very fast reply

    I only changed the CONF file to use UART 2 and not 0

    here is the defines

    #
    # Copyright (c) 2021 Nordic Semiconductor ASA
    #
    # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
    #
    
    # Configuration file for nRF9160DK.
    # This file is merged with prj.conf in the application folder, and options
    # set here will take precedence if they are present in both files.
    
    # Use UART_0 (when working with PC terminal)
    # unmask the following config
    #CONFIG_SLM_CONNECT_UART_0=y
    #CONFIG_UART_0_NRF_HW_ASYNC_TIMER=2
    #CONFIG_UART_0_NRF_HW_ASYNC=y
    #CONFIG_SLM_WAKEUP_PIN=6
    #CONFIG_SLM_INDICATE_PIN=2
    
    # Use UART_2 (when working with external MCU)
    # unmask the following config
    CONFIG_SLM_CONNECT_UART_2=y
    CONFIG_UART_2_NRF_HW_ASYNC_TIMER=2
    CONFIG_UART_2_NRF_HW_ASYNC=y
    CONFIG_SLM_WAKEUP_PIN=31
    CONFIG_SLM_INDICATE_PIN=30

    Here is the full log of the build

    Building serial_lte_modem
    west build --build-dir c:\nrf\v2.2.0\nrf\applications\serial_lte_modem\SLM c:\nrf\v2.2.0\nrf\applications\serial_lte_modem --pristine --board nrf9160dk_nrf9160_ns -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DBOARD_ROOT:STRING="c:/nrf/v2.2.0/nrf/applications/serial_lte_modem"
    
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/nrf/v2.2.0/nrf/applications/serial_lte_modem
    -- Found Python3: C:/nrf/toolchains/v2.2.0/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/nrf/v2.2.0/zephyr/.cache
    -- Zephyr version: 3.2.99 (C:/nrf/v2.2.0/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    -- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0
    -- Found host-tools: zephyr 0.15.1 (C:/nrf/toolchains/v2.2.0/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.15.1 (C:/nrf/toolchains/v2.2.0/opt/zephyr-sdk)
    -- Found Dtc: C:/nrf/toolchains/v2.2.0/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/nrf/v2.2.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts
    -- Found devicetree overlay: C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/boards/nrf9160dk_nrf9160_ns.overlay
    -- Generated zephyr.dts: C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/zephyr/dts.cmake
    
    warning: UART_2_NRF_HW_ASYNC (defined at drivers/serial/Kconfig.nrfx:267) was assigned the value 'y'
    but got the value 'n'. Check these unsatisfied dependencies: UART_2_ASYNC (=n), UART_2_NRF_UARTE
    (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UART_2_NRF_HW_ASYNC and/or look
    up UART_2_NRF_HW_ASYNC 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: UART_2_NRF_HW_ASYNC_TIMER (defined at drivers/serial/Kconfig.nrfx:284) was assigned the
    value '2' but got the value ''. Check these unsatisfied dependencies: UART_2_NRF_HW_ASYNC (=n),
    UART_2_NRF_UARTE (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UART_2_NRF_HW_ASYNC_TIMER and/or look up
    UART_2_NRF_HW_ASYNC_TIMER in the menuconfig/guiconfig interface. The Application Development Primer,
    Parsing C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/Kconfig
    Loaded configuration 'C:/nrf/v2.2.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_defconfig'
    Merged configuration 'C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/prj.conf'
    Merged configuration 'C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/boards/nrf9160dk_nrf9160_ns.conf'
    Configuration saved to 'C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/zephyr/.config'
    Kconfig header saved to 'C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/zephyr/include/generated/autoconf.h'
    Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
    helpful too.
    
    
    warning: Experimental symbol HTTP_CLIENT is enabled.
    
    -- The C compiler identification is GNU 12.1.0
    -- The CXX compiler identification is GNU 12.1.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/nrf/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Found Python3: C:/nrf/toolchains/v2.2.0/opt/bin/python.exe (found version "3.8.2") found components: Interpreter 
    Changed board to secure nrf9160dk_nrf9160 (NOT NS)
    
    === child image mcuboot -  begin ===
    loading initial cache file C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/mcuboot/child_image_preload.cmake
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/nrf/v2.2.0/bootloader/mcuboot/boot/zephyr
    -- Found Python3: C:/nrf/toolchains/v2.2.0/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/nrf/v2.2.0/zephyr/.cache
    -- Zephyr version: 3.2.99 (C:/nrf/v2.2.0/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    -- Board: nrf9160dk_nrf9160, Revision: 0.7.0
    -- Found host-tools: zephyr 0.15.1 (C:/nrf/toolchains/v2.2.0/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.15.1 (C:/nrf/toolchains/v2.2.0/opt/zephyr-sdk)
    -- Found Dtc: C:/nrf/toolchains/v2.2.0/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/nrf/v2.2.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.dts
    -- Found devicetree overlay: C:/nrf/v2.2.0/bootloader/mcuboot/boot/zephyr/dts.overlay
    -- Generated zephyr.dts: C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/mcuboot/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/mcuboot/zephyr/dts.cmake
    Parsing C:/nrf/v2.2.0/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration 'C:/nrf/v2.2.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_defconfig'
    Merged configuration 'C:/nrf/v2.2.0/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration 'C:/nrf/v2.2.0/nrf/modules/mcuboot/tfm.conf'
    Merged configuration 'C:/nrf/v2.2.0/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Merged configuration 'C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/child_image/mcuboot.conf'
    Merged configuration 'C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
    Configuration saved to 'C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/mcuboot/zephyr/.config'
    Kconfig header saved to 'C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/mcuboot/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 12.1.0
    -- The CXX compiler identification is GNU 12.1.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/nrf/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    MCUBoot bootloader key file: C:/nrf/v2.2.0/bootloader/mcuboot/root-ec-p256.pem
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/mcuboot
    === child image mcuboot -  end ===
    
    CMake Warning at C:/nrf/v2.2.0/nrf/modules/mcuboot/CMakeLists.txt:286 (message):
      
    
              ---------------------------------------------------------
              --- WARNING: Using default MCUBoot key, it should not ---
              --- be used for production.                           ---
              ---------------------------------------------------------
              
    
    
    
    Dropping partition 'nrf_modem_lib_trace' since its size is 0.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM
    -- west build: building application
    [1/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/asn1parse.c.obj
    [2/386] Generating include/generated/version.h
    -- Zephyr version: 3.2.99 (C:/nrf/v2.2.0/zephyr), build: v3.2.99-ncs1
    [3/386] Creating directories for 'mcuboot_subimage'
    [4/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/oid.c.obj
    [5/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/constant_time.c.obj
    [6/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/nist_kw.c.obj
    [7/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/base64.c.obj
    [8/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/asn1write.c.obj
    [9/386] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
    [10/386] No download step for 'mcuboot_subimage'
    [11/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/version.c.obj
    [12/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/pkparse.c.obj
    [13/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/platform.c.obj
    [14/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/pkwrite.c.obj
    [15/386] No update step for 'mcuboot_subimage'
    [16/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/pkcs12.c.obj
    [17/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/padlock.c.obj
    [18/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/platform_util.c.obj
    [19/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/pem.c.obj
    [20/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/cipher.c.obj
    [21/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/pkcs5.c.obj
    [22/386] No patch step for 'mcuboot_subimage'
    [23/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/cipher_wrap.c.obj
    [24/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/dhm.c.obj
    [25/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/sha256.c.obj
    [26/386] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
    [27/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/pk_wrap.c.obj
    [28/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/pk.c.obj
    [29/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/sha1.c.obj
    [30/386] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/md5.c.obj
    [31/386] No configure step for 'mcuboot_subimage'
    [31/386] Performing build step for 'mcuboot_subimage'
    [1/187] Generating include/generated/version.h
    -- Zephyr version: 3.2.99 (C:/nrf/v2.2.0/zephyr), build: v3.2.99-ncs1
    [2/187] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
    [3/187] Generating include/generated/driver-validation.h
    [4/187] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
    [5/187] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
    [6/187] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
    [7/187] Generating include/generated/offsets.h
    [8/187] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf91/soc.c.obj
    [9/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
    [10/187] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
    [11/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
    [12/187] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj
    [13/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
    [14/187] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
    [15/187] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
    [16/187] Building C object zephyr/CMakeFiles/zephyr.dir/C_/nrf/v2.2.0/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
    [17/187] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
    [18/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
    [19/187] Building C object zephyr/CMakeFiles/zephyr.dir/C_/nrf/v2.2.0/nrfxlib/crypto/nrf_cc310_platform/src/nrf_cc3xx_platform_abort_zephyr.c.obj
    [20/187] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
    [21/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_nano.c.obj
    [22/187] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
    [23/187] Building C object zephyr/CMakeFiles/zephyr.dir/C_/nrf/v2.2.0/nrfxlib/crypto/nrf_cc310_platform/src/nrf_cc3xx_platform_no_mutex_zephyr.c.obj
    [24/187] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map_layout.c.obj
    [25/187] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map.c.obj
    [26/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
    [27/187] Generating linker_zephyr_pre0.cmd
    [28/187] Generating linker_zephyr_pre1.cmd
    [29/187] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
    [30/187] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
    [31/187] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
    [32/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
    [33/187] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
    [34/187] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
    [35/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
    [36/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
    [37/187] Linking C static library zephyr\arch\common\libisr_tables.a
    [38/187] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
    [39/187] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
    [40/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
    [41/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32c_sw.c.obj
    [42/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
    [43/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
    [44/187] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
    [45/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
    [46/187] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
    [47/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
    [48/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
    [49/187] Generating zephyr/autogen-pubkey.c
    [50/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
    [51/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
    [52/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
    [53/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
    [54/187] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
    [55/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
    [56/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
    [57/187] Building C object CMakeFiles/app.dir/keys.c.obj
    [58/187] Linking C static library zephyr\arch\common\libarch__common.a
    [59/187] Linking C static library zephyr\arch\arch\arm\core\aarch32\libarch__arm__core__aarch32.a
    [60/187] Building C object CMakeFiles/app.dir/os.c.obj
    [61/187] Building C object CMakeFiles/app.dir/flash_map_extended.c.obj
    [62/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj
    [63/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/boot/bootutil/src/encrypted.c.obj
    [64/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/boot/bootutil/src/image_ed25519.c.obj
    [65/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/boot/bootutil/src/image_rsa.c.obj
    [66/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj
    [67/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/boot/bootutil/src/fault_injection_hardening.c.obj
    [68/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/boot/bootutil/src/image_ec256.c.obj
    [69/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj
    [70/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/boot/bootutil/src/caps.c.obj
    [71/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c.obj
    [72/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/ext/mbedtls-asn1/src/asn1parse.c.obj
    [73/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj
    [74/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/ext/nrf/cc310_glue.c.obj
    [75/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/ext/mbedtls-asn1/src/platform_util.c.obj
    [76/187] Building C object CMakeFiles/app.dir/nrf_cleanup.c.obj
    [77/187] Building C object CMakeFiles/app.dir/arm_cleanup.c.obj
    [78/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
    [79/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj
    [80/187] Building C object CMakeFiles/app.dir/C_/nrf/v2.2.0/bootloader/mcuboot/boot/bootutil/src/loader.c.obj
    [81/187] Building C object CMakeFiles/app.dir/main.c.obj
    [82/187] Building C object CMakeFiles/app.dir/zephyr/autogen-pubkey.c.obj
    [83/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
    [84/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
    [85/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
    [86/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
    [87/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
    [88/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
    [89/187] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
    [90/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
    [91/187] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
    [92/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
    [93/187] Generating ../../../include/generated/libc/minimal/strerror_table.h
    [94/187] Building C object zephyr/boards/boards/arm/nrf9160dk_nrf9160/CMakeFiles/boards__arm__nrf9160dk_nrf9160.dir/nrf52840_reset.c.obj
    [95/187] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/CMakeFiles/arch__arm__core__aarch32__cortex_m__cmse.dir/arm_core_cmse.c.obj
    [96/187] Linking C static library app\libapp.a
    [97/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
    [98/187] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
    [99/187] Building C object modules/nrf/lib/fatal_error/CMakeFiles/..__nrf__lib__fatal_error.dir/fatal_error.c.obj
    [100/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
    [101/187] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/rtt_console.c.obj
    [102/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
    [103/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoll.c.obj
    [104/187] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_nrf.c.obj
    [105/187] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\libarch__arm__core__aarch32__cortex_m.a
    [106/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
    [107/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoull.c.obj
    [108/187] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj
    [109/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
    [110/187] Linking C static library zephyr\libzephyr.a
    [111/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
    [112/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
    [113/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strerror.c.obj
    [114/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/qsort.c.obj
    [115/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
    [116/187] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\cmse\libarch__arm__core__aarch32__cortex_m__cmse.a
    [117/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/math/sqrtf.c.obj
    [118/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
    [119/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
    [120/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
    [121/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/math/sqrt.c.obj
    [122/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
    [123/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
    [124/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
    [125/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
    [126/187] Linking C static library zephyr\drivers\console\libdrivers__console.a
    [127/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
    [128/187] Linking C static library zephyr\boards\boards\arm\nrf9160dk_nrf9160\libboards__arm__nrf9160dk_nrf9160.a
    [129/187] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_page_layout.c.obj
    [130/187] Linking C static library zephyr\drivers\clock_control\libdrivers__clock_control.a
    [131/187] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
    [132/187] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
    [133/187] Linking C static library modules\nrf\lib\fatal_error\lib..__nrf__lib__fatal_error.a
    [134/187] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_nrf.c.obj
    [135/187] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/soc_flash_nrf.c.obj
    [136/187] Building C object modules/nrf/lib/fprotect/CMakeFiles/..__nrf__lib__fprotect.dir/fprotect_spu.c.obj
    [137/187] Building C object modules/nrf/drivers/hw_cc310/CMakeFiles/..__nrf__drivers__hw_cc310.dir/hw_cc310.c.obj
    [138/187] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
    [139/187] Linking C static library zephyr\drivers\gpio\libdrivers__gpio.a
    [140/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/nrf/v2.2.0/modules/hal/nordic/nrfx/mdk/system_nrf9160.c.obj
    [141/187] Linking C static library zephyr\lib\libc\minimal\liblib__libc__minimal.a
    [142/187] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/nrf_rtc_timer.c.obj
    [143/187] Linking C static library zephyr\drivers\flash\libdrivers__flash.a
    [144/187] Linking C static library modules\nrf\drivers\hw_cc310\lib..__nrf__drivers__hw_cc310.a
    [145/187] Linking C static library modules\nrf\lib\fprotect\lib..__nrf__lib__fprotect.a
    [146/187] Linking C static library zephyr\drivers\serial\libdrivers__serial.a
    [147/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
    [148/187] Linking C static library zephyr\drivers\pinctrl\libdrivers__pinctrl.a
    [149/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/nrf/v2.2.0/modules/hal/nordic/nrfx/helpers/nrfx_flag32_allocator.c.obj
    [150/187] Building C object modules/mcuboot/boot/bootutil/zephyr/CMakeFiles/mcuboot_util.dir/C_/nrf/v2.2.0/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c.obj
    [151/187] Linking C static library zephyr\drivers\timer\libdrivers__timer.a
    [152/187] Building C object modules/segger/CMakeFiles/modules__segger.dir/SEGGER_RTT_zephyr.c.obj
    [153/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/nrf/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_wdt.c.obj
    [154/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/nrf/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
    [155/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/nrf/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj
    [156/187] Linking C static library modules\mcuboot\boot\bootutil\zephyr\libmcuboot_util.a
    [157/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
    [158/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/nrf/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_dppi.c.obj
    [159/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
    [160/187] Building C object modules/segger/CMakeFiles/modules__segger.dir/C_/nrf/v2.2.0/modules/debug/segger/SEGGER/SEGGER_RTT.c.obj
    [161/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
    [162/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
    [163/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
    [164/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
    [165/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
    [166/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
    [167/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
    [168/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/nrf/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_gpiote.c.obj
    [169/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
    [170/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
    [171/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
    [172/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
    [173/187] Linking C static library modules\segger\libmodules__segger.a
    [174/187] Linking C static library modules\hal_nordic\nrfx\libmodules__hal_nordic__nrfx.a
    [175/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
    [176/187] Linking C static library zephyr\kernel\libkernel.a
    [177/187] Linking C executable zephyr\zephyr_pre0.elf
    
    [178/187] Generating dev_handles.c
    [179/187] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/misc/empty_file.c.obj
    [180/187] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/dev_handles.c.obj
    [181/187] Linking C executable zephyr\zephyr_pre1.elf
    
    [182/187] Generating linker.cmd
    [183/187] Generating isr_tables.c, isrList.bin
    [184/187] Building C object zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj
    [185/187] Building C object zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj
    [186/187] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj
    [187/187] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       32722 B        48 KB     66.57%
                 RAM:       17576 B     211736 B      8.30%
            IDT_LIST:          0 GB         2 KB      0.00%
    [61/386] Generating ../../tfm/CMakeCache.txt
    -- The C compiler identification is GNU 12.1.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/nrf/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Found Python3: C:/nrf/toolchains/v2.2.0/opt/bin/python.exe (found version "3.8.2") found components: Interpreter 
    -- Found Python3: C:/nrf/toolchains/v2.2.0/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/nrf/v2.2.0/zephyr/.cache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/tfm
    [66/386] No configure step for 'tfm'
    [67/386] Performing build step for 'tfm'
    [1/2] Generating ../generated/secure_fw/spm/cmsis_func/tfm_spm_db_func.inc, ../generated/secure_fw/spm/cmsis_func/tfm_veneers.c, ../generated/interface/include/tfm_veneers.h, ../generated/tools/tfm_veneers_functions.txt, ../generated/secure_fw/spm/cmsis_func/tfm_secure_irq_handlers.inc, ../generated/interface/include/psa_manifest/sid.h, ../generated/interface/include/psa_manifest/pid.h, ../generated/interface/include/config_impl.h, ../generated/tools/config_impl.cmake
    [1/2] Re-running CMake...
    -- Found Python3: C:/nrf/toolchains/v2.2.0/opt/bin/python.exe (found version "3.8.2") found components: Interpreter 
    -- Found Python3: C:/nrf/toolchains/v2.2.0/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: C:/nrf/v2.2.0/zephyr/.cache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/tfm
    [1/171] Building C object lib/fih/CMakeFiles/tfm_fih_implementation.dir/src/fih.o
    [2/171] Linking C static library lib\fih\libtfm_fih_implementation.a
    [3/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/asn1parse.o
    [4/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/bignum.o
    [5/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/base64.o
    [6/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/oid.o
    [7/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/asn1write.o
    [8/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/nist_kw.o
    [9/171] Generating liboberon_mbedcrypto__psa_3.0.12.a
    [10/171] Building C object secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/tfm_psa_api_veneers.o
    [11/171] Building ASM object secure_fw/CMakeFiles/tfm_s.dir/__/platform/ext/target/nordic_nrf/common/nrf9160/gcc/startup_nrf9160_s.o
    [12/171] Building C object secure_fw/CMakeFiles/tfm_s.dir/partitions/ns_agent_tz/load_info_ns_agent_tz.o
    [13/171] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o
    [14/171] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/platform/ext/common/faults.o
    [15/171] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o
    [16/171] Building C object secure_fw/CMakeFiles/tfm_s.dir/partitions/idle_partition/load_info_idle_sp.o
    [17/171] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/interface/src/tfm_psa_call_pack.o
    [18/171] Building C object secure_fw/CMakeFiles/tfm_s.dir/spm/cmsis_psa/psa_interface_cross.o
    [19/171] Building C object secure_fw/CMakeFiles/tfm_s.dir/__/platform/ext/target/nordic_nrf/common/core/plat_test.o
    [20/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/tfm_core_utils.o
    [21/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/tfm_boot_data.o
    [22/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/utilities.o
    [23/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/arch/tfm_arch.o
    [24/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/main.o
    [25/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/spm_ipc.o
    [26/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/static_load.o
    [27/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/psa_api.o
    [28/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/spm_cross_call.o
    [29/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/tfm_pools.o
    [30/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/interrupt.o
    [31/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/ns_client_ext/tfm_spm_ns_ctx.o
    [32/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/thread.o
    [33/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/tfm_core_svcalls_ipc.o
    [34/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/ffm/backend_ipc.o
    [35/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/idle_partition/idle_partition.o
    [36/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/arch/tfm_arch_v8m_main.o
    [37/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/interface/src/tfm_psa_call_pack.o
    [38/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/ns_agent_tz/ns_agent_tz.o
    [39/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/platform/ext/target/nordic_nrf/common/core/plat_test.o
    [40/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/cmsis_psa/psa_interface_cross.o
    [41/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/crypto/auto_generated/load_info_tfm_crypto.o
    [42/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/__/generated/secure_fw/partitions/platform/auto_generated/load_info_tfm_platform.o
    [43/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/ns_agent_tz/load_info_ns_agent_tz.o
    [44/171] Building C object secure_fw/spm/CMakeFiles/tfm_spm.dir/__/partitions/idle_partition/load_info_idle_sp.o
    [45/171] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_strnlen.o
    [46/171] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_memmove.o
    [47/171] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_memcpy.o
    [48/171] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_memset.o
    [49/171] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/crt_memcmp.o
    [50/171] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/service_api.o
    [51/171] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/crypto/tfm_crypto_secure_api.o
    [52/171] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/sprt_main.o
    [53/171] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/platform/tfm_platform_secure_api.o
    [54/171] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/sfn_common_thread.o
    [55/171] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/__/__/platform/ext/target/nordic_nrf/common/core/plat_test.o
    [56/171] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/sprt_partition_metadata_indicator.o
    [57/171] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/__/spm/cmsis_psa/psa_interface_cross.o
    [58/171] Building C object secure_fw/partitions/lib/sprt/CMakeFiles/tfm_sprt.dir/__/__/__/__/interface/src/tfm_psa_call_pack.o
    [59/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_init.o
    [60/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_cipher.o
    [61/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_hash.o
    [62/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_mac.o
    [63/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_alloc.o
    [64/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_aead.o
    [65/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_key_derivation.o
    [66/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_key_management.o
    [67/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_asymmetric.o
    [68/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_key.o
    [69/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/__/__/spm/cmsis_psa/psa_interface_cross.o
    [70/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/crypto_rng.o
    [71/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/__/__/__/interface/src/tfm_psa_call_pack.o
    [72/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/__/__/__/generated/secure_fw/partitions/crypto/auto_generated/intermedia_tfm_crypto.o
    [73/171] Building C object secure_fw/partitions/crypto/CMakeFiles/tfm_psa_rot_partition_crypto.dir/__/__/__/platform/ext/target/nordic_nrf/common/core/plat_test.o
    [74/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/psa_crypto_aead.o
    [75/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/psa_crypto.o
    [76/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/psa_crypto_cipher.o
    [77/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/memory_buffer_alloc.o
    [78/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/psa_crypto_storage.o
    [79/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/psa_crypto_slot_management.o
    [80/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/psa_crypto_hash.o
    [81/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/psa_crypto_client.o
    [82/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/psa_crypto_mac.o
    [83/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/psa_crypto_rsa.o
    [84/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/psa_crypto_ecp.o
    [85/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/pkcs12.o
    [86/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/pkparse.o
    [87/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/psa_crypto_driver_wrappers.o
    [88/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/pem.o
    [89/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/random_ext.o
    [90/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/pkcs5.o
    [91/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/md.o
    [92/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/pk.o
    [93/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/cipher.o
    [94/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/cipher_wrap.o
    [95/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/pkwrite.o
    [96/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/dhm.o
    [97/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/sha512.o
    [98/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/sha1.o
    [99/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/md5.o
    [100/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/sha256.o
    [101/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/pk_wrap.o
    [102/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/ripemd160.o
    [103/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/aesni.o
    [104/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/cmac.o
    [105/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/ccm.o
    [106/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/camellia.o
    [107/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/des.o
    [108/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/chachapoly.o
    [109/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/aria.o
    [110/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/ecdsa.o
    [111/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/hmac_drbg.o
    [112/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/ecp.o
    [113/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/ecdh.o
    [114/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/hkdf.o
    [115/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/gcm.o
    [116/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/ecp_curves.o
    [117/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/rsa.o
    [118/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/legacy/aes_oberon.o
    [119/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/912ce5ab1cfc5ca7ebb86b808716a283/platform/ext/target/nordic_nrf/common/core/plat_test.o
    [120/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/legacy/aes.o
    [121/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/legacy/ecjpake_oberon.o
    [122/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/crypto_service_mbedcrypto.dir/C_/nrf/v2.2.0/mbedtls/library/rsa_alt_helpers.o
    [123/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/version.o
    [124/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/padlock.o
    [125/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/constant_time.o
    [126/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/platform.o
    [127/171] Building C object secure_fw/partitions/crypto/mbedcrypto/nrf_security_src/CMakeFiles/mbedcrypto_base.dir/C_/nrf/v2.2.0/mbedtls/library/platform_util.o
    [128/171] Linking C static library secure_fw\partitions\crypto\mbedcrypto\nrf_security_src\libmbedcrypto_base.a
    [129/171] Building C object secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/__/generated/secure_fw/partitions/platform/auto_generated/intermedia_tfm_platform.o
    [130/171] Building C object secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/platform_sp.o
    [131/171] Building C object secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/spm/cmsis_psa/psa_interface_cross.o
    [132/171] Building C object secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/__/platform/ext/target/nordic_nrf/common/core/plat_test.o
    [133/171] Building C object secure_fw/partitions/platform/CMakeFiles/tfm_psa_rot_partition_platform.dir/__/__/__/interface/src/tfm_psa_call_pack.o
    [134/171] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/nrfx_glue.o
    [135/171] Building C object platform/CMakeFiles/platform_s.dir/C_/nrf/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.o
    [136/171] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/cmsis_drivers/Driver_Flash.o
    [137/171] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/tfm_hal_platform_common.o
    [138/171] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/spm_hal.o
    [139/171] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/native_drivers/mpu_armv8m_drv.o
    [140/171] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/native_drivers/spu.o
    [141/171] Building C object platform/CMakeFiles/platform_s.dir/ext/common/tfm_hal_nvic.o
    [142/171] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/tfm_hal_isolation.o
    [143/171] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/plat_test.o
    [144/171] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/services/src/tfm_ioctl_core_s_api.o
    [145/171] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/hw_init.o
    [146/171] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/nrf9160/target_cfg.o
    [147/171] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/core/services/src/tfm_platform_hal_ioctl.o
    [148/171] Building C object platform/CMakeFiles/platform_s.dir/C_/nrf/v2.2.0/nrf/modules/tfm/tfm/boards/common/dummy_provisioning.o
    [149/171] Building C object platform/CMakeFiles/platform_s.dir/C_/nrf/v2.2.0/modules/hal/nordic/nrfx/mdk/system_nrf9160.o
    [150/171] Building C object platform/CMakeFiles/platform_s.dir/C_/nrf/v2.2.0/nrf/modules/tfm/tfm/boards/common/tfm_hal_platform.o
    [151/171] Building C object platform/CMakeFiles/platform_s.dir/C_/nrf/v2.2.0/nrf/modules/tfm/tfm/boards/common/attest_hal.o
    [152/171] Building C object platform/CMakeFiles/platform_s.dir/C_/nrf/v2.2.0/nrf/modules/tfm/tfm/boards/common/dummy_otp.o
    [153/171] Building C object platform/CMakeFiles/platform_s.dir/ext/target/nordic_nrf/common/nrf9160/tfm_interrupts.o
    [154/171] Building C object platform/CMakeFiles/platform_s.dir/C_/nrf/v2.2.0/nrf/modules/tfm/tfm/boards/src/tfm_platform_system.o
    [155/171] Building C object platform/CMakeFiles/platform_s.dir/C_/nrf/v2.2.0/nrf/modules/tfm/tfm/boards/src/tfm_ioctl_s_api.o
    [156/171] Building C object platform/CMakeFiles/platform_s.dir/__/interface/src/tfm_psa_call_pack.o
    [157/171] Building C object platform/CMakeFiles/platform_s.dir/ext/common/tfm_hal_memory_symbols.o
    [158/171] Building C object platform/CMakeFiles/platform_s.dir/ext/common/tfm_platform.o
    [159/171] Building C object platform/CMakeFiles/platform_s.dir/__/secure_fw/spm/cmsis_psa/psa_interface_cross.o
    [160/171] Linking C static library platform\libplatform_s.a
    [161/171] Linking C static library secure_fw\partitions\platform\libtfm_psa_rot_partition_platform.a
    [162/171] Linking C static library secure_fw\partitions\crypto\mbedcrypto\nrf_security_src\libcrypto_service_mbedcrypto.a
    [163/171] Linking C static library secure_fw\partitions\crypto\libtfm_psa_rot_partition_crypto.a
    [164/171] Linking C static library secure_fw\partitions\lib\sprt\libtfm_sprt.a
    [165/171] Linking C static library secure_fw\spm\libtfm_spm.a
    [166/171] Building C object platform/target/nrf9160/nrf_common/CMakeFiles/tfm_s_scatter.dir/gcc/nordic_nrf_s.ld
    [167/171] Linking C executable bin\tfm_s.axf
    [168/171] Generating ../bin/tfm_s.hex
    [169/171] Linking C static library secure_fw\libtfm_s_veneers.a
    [170/171] Generating ../bin/tfm_s.elf
    [171/171] Generating ../bin/tfm_s.bin
    [69/386] Completed 'mcuboot_subimage'
    [71/386] Performing install step for 'tfm'
    -- Install configuration: "MinSizeRel"
    [72/386] Generating zephyr/tfm_secure.hex
    [73/386] Completed 'tfm'
    [74/386] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
    [75/386] Generating include/generated/offsets.h
    [76/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
    [77/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
    [78/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
    [79/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32c_sw.c.obj
    [80/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
    [81/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
    [82/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
    [83/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/base64.c.obj
    [84/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
    [85/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
    [86/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
    [87/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
    [88/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
    [89/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
    [90/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
    [91/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
    [92/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
    [93/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
    [94/386] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj
    [95/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
    [96/386] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
    [97/386] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
    [98/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
    [99/386] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_secure.c.obj
    [100/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
    [101/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
    [102/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
    [103/386] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
    [104/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
    [105/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
    [106/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
    [107/386] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf91/soc.c.obj
    [108/386] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
    [109/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_getnext.c.obj
    [110/386] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf91/power.c.obj
    [111/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_elem_info.c.obj
    [112/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_rotate.c.obj
    [113/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_walk.c.obj
    [114/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb.c.obj
    [115/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_append.c.obj
    [116/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map_layout.c.obj
    [117/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_cache.c.obj
    [118/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
    [119/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/backends/log_backend_rtt.c.obj
    [120/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
    [121/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
    [122/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_store.c.obj
    [123/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/socket_offload.c.obj
    [124/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
    [125/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/stream/stream_flash.c.obj
    [126/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map.c.obj
    [127/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sntp/sntp_simple.c.obj
    [128/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/dfu/img_util/flash_img.c.obj
    [129/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_init.c.obj
    [130/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets_select.c.obj
    [131/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/pm.c.obj
    [132/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_line.c.obj
    [133/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/state.c.obj
    [134/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sntp/sntp.c.obj
    [135/386] Building C object zephyr/CMakeFiles/zephyr.dir/C_/nrf/v2.2.0/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
    [136/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/policy.c.obj
    [137/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings.c.obj
    [138/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
    [139/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/getaddrinfo.c.obj
    [140/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
    [141/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_fcb.c.obj
    [142/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/device.c.obj
    [143/386] Building C object CMakeFiles/app.dir/src/slm_util.c.obj
    [144/386] Building C object CMakeFiles/app.dir/src/slm_settings.c.obj
    [145/386] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets.c.obj
    [146/386] Building C object CMakeFiles/app.dir/src/slm_at_host.c.obj
    FAILED: CMakeFiles/app.dir/src/slm_at_host.c.obj 
    C:\nrf\toolchains\v2.2.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DAPP_VERSION=v2.2.0 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,23298 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,23298 -DKERNEL -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_USER_CONFIG_FILE=\"nrf-config-user.h\" -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DTFM_PSA_API -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/nrf/v2.2.0/zephyr/include -Izephyr/include/generated -IC:/nrf/v2.2.0/zephyr/soc/arm/nordic_nrf/nrf91 -IC:/nrf/v2.2.0/zephyr/lib/libc/newlib/include -IC:/nrf/v2.2.0/zephyr/soc/arm/nordic_nrf/common/. -IC:/nrf/v2.2.0/zephyr/subsys/net/lib/sockets/. -IC:/nrf/v2.2.0/zephyr/subsys/net/ip -IC:/nrf/v2.2.0/zephyr/subsys/settings/include -IC:/nrf/v2.2.0/nrf/include -IC:/nrf/v2.2.0/nrf/lib/at_cmd_parser/include -IC:/nrf/v2.2.0/nrf/subsys/net/lib/nrf_cloud/./include -IC:/nrf/v2.2.0/nrf/subsys/net/lib/fota_download/./include -IC:/nrf/v2.2.0/nrf/include/tfm -IC:/nrf/v2.2.0/nrf/tests/include -Itfm/generated/interface/include -IC:/nrf/v2.2.0/modules/lib/cjson -IC:/nrf/v2.2.0/nrf/modules/cjson/include -IC:/nrf/v2.2.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/nrf/v2.2.0/modules/hal/nordic/nrfx -IC:/nrf/v2.2.0/modules/hal/nordic/nrfx/drivers/include -IC:/nrf/v2.2.0/modules/hal/nordic/nrfx/mdk -IC:/nrf/v2.2.0/zephyr/modules/hal_nordic/nrfx/. -IC:/nrf/v2.2.0/modules/debug/segger/SEGGER -IC:/nrf/v2.2.0/modules/debug/segger/Config -IC:/nrf/v2.2.0/zephyr/modules/segger/. -IC:/nrf/v2.2.0/nrfxlib/nrf_modem/include -Itfm/install/interface/include -I../src/gnss/. -I../src/ftp_c/. -I../src/mqtt_c/. -I../src/http_c/. -I../src/gpio/. -I../src -Imodules/nrfxlib/nrfxlib/nrf_security/src/include/generated -IC:/nrf/v2.2.0/nrfxlib/nrf_security/include -IC:/nrf/v2.2.0/nrfxlib/nrf_security/include/mbedtls -IC:/nrf/v2.2.0/mbedtls/include -IC:/nrf/v2.2.0/mbedtls/include/mbedtls -IC:/nrf/v2.2.0/mbedtls/include/psa -IC:/nrf/v2.2.0/mbedtls/library -IC:/nrf/v2.2.0/nrfxlib/crypto/nrf_oberon/include/mbedtls -IC:/nrf/v2.2.0/nrfxlib/crypto/nrf_oberon/include -fno-strict-aliasing -Os -imacros C:/nrf/v2.2.0/nrf/applications/serial_lte_modem/SLM/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mfp16-format=ieee --sysroot=C:/nrf/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/nrf/v2.2.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/nrf/v2.2.0/nrf/applications/serial_lte_modem=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/nrf/v2.2.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/nrf/v2.2.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/slm_at_host.c.obj -MF CMakeFiles\app.dir\src\slm_at_host.c.obj.d -o CMakeFiles/app.dir/src/slm_at_host.c.obj -c ../src/slm_at_host.c
    In file included from C:\nrf\v2.2.0\zephyr\include\zephyr\toolchain\gcc.h:88,
                     from C:\nrf\v2.2.0\zephyr\include\zephyr\toolchain.h:50,
                     from C:\nrf\v2.2.0\zephyr\include\zephyr\kernel_includes.h:19,
                     from C:\nrf\v2.2.0\zephyr\include\zephyr\kernel.h:17,
                     from c:\nrf\v2.2.0\nrf\applications\serial_lte_modem\src\slm_at_host.c:7:
    C:\nrf\v2.2.0\zephyr\include\zephyr\device.h:83:41: error: '__device_dts_ord_100' undeclared here (not in a function); did you mean '__device_dts_ord_103'?
       83 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
          |                                         ^~~~~~~~~
    C:\nrf\v2.2.0\zephyr\include\zephyr\toolchain\common.h:132:26: note: in definition of macro '_DO_CONCAT'
      132 | #define _DO_CONCAT(x, y) x ## y
          |                          ^
    C:\nrf\v2.2.0\zephyr\include\zephyr\device.h:83:33: note: in expansion of macro '_CONCAT'
       83 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
          |                                 ^~~~~~~
    C:\nrf\v2.2.0\zephyr\include\zephyr\device.h:209:37: note: in expansion of macro 'DEVICE_NAME_GET'
      209 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
          |                                     ^~~~~~~~~~~~~~~
    C:\nrf\v2.2.0\zephyr\include\zephyr\device.h:226:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
      226 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
          |                                  ^~~~~~~~~~~~~~~~~~
    c:\nrf\v2.2.0\nrf\applications\serial_lte_modem\src\slm_at_host.c:60:46: note: in expansion of macro 'DEVICE_DT_GET'
       60 | static const struct device *const uart_dev = DEVICE_DT_GET(UART_NODE);
          |                                              ^~~~~~~~~~~~~
    [147/386] Building C object CMakeFiles/app.dir/src/main.c.obj
    [148/386] Generating linker_zephyr_pre1.cmd
    [149/386] Building C object CMakeFiles/app.dir/src/slm_at_commands.c.obj
    [150/386] Building C object CMakeFiles/app.dir/src/slm_at_fota.c.obj
    [151/386] Building C object CMakeFiles/app.dir/src/slm_at_sms.c.obj
    [152/386] Linking C static library zephyr\libzephyr.a
    [153/386] Building C object CMakeFiles/app.dir/src/slm_at_udp_proxy.c.obj
    [154/386] Building C object CMakeFiles/app.dir/src/slm_at_tcp_proxy.c.obj
    [155/386] Building C object CMakeFiles/app.dir/src/slm_at_socket.c.obj
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: 'c:\nrf\toolchains\v2.2.0\opt\bin\cmake.EXE' --build 'c:\nrf\v2.2.0\nrf\applications\serial_lte_modem\SLM'
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 
    

  • Right, then I would suspect you'll need to enable UART 2 for that to work.

    Can you share your UART nodes found in build/zephyr/zephyr.dts?

    -Einar

  • talking about this?

    			uart0: uart@8000 {
    				compatible = "nordic,nrf-uarte";
    				reg = < 0x8000 0x1000 >;
    				interrupts = < 0x8 0x1 >;
    				status = "okay";
    				current-speed = < 0x1c200 >;
    				pinctrl-0 = < &uart0_default >;
    				pinctrl-1 = < &uart0_sleep >;
    				pinctrl-names = "default", "sleep";
    			};
    			uart1: arduino_serial: uart@9000 {
    				compatible = "nordic,nrf-uarte";
    				reg = < 0x9000 0x1000 >;
    				interrupts = < 0x9 0x1 >;
    				status = "disabled";
    				current-speed = < 0x1c200 >;
    				pinctrl-0 = < &uart1_default >;
    				pinctrl-1 = < &uart1_sleep >;
    				pinctrl-names = "default", "sleep";
    			};
    			uart2: uart@a000 {
    				compatible = "nordic,nrf-uarte";
    				reg = < 0xa000 0x1000 >;
    				interrupts = < 0xa 0x1 >;
    				status = "disabled";
    				pinctrl-0 = < &uart2_default_alt >;
    				pinctrl-1 = < &uart2_sleep_alt >;
    				pinctrl-names = "default", "sleep";
    				current-speed = < 0x1c200 >;
    				hw-flow-control;
    			};
    			uart3: uart@b000 {
    				compatible = "nordic,nrf-uarte";
    				reg = < 0xb000 0x1000 >;
    				interrupts = < 0xb 0x1 >;
    				status = "disabled";
    			};

    you'll need to enable UART 2 for that to work

    where is the config for that?

  • You should add a devicetree overlay file to your project:

    https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/dts/howtos.html#set-devicetree-overlays

    Under "Use devicetree overlays" there is an example that sets status = "okay", this is what you should do for UART 2.

    If you're not using UART 0 anymore you could also set its status to "disabled".

    -Einar

  • Hi Einarh,

    Thanks Slight smile

    Succeeded building the application

    You can close this ticket

    If I encounter more problems with the VS I will open new ticket

Related