This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF5340DK - Building with VSCode

Hello all,

I just found out that the nRF Connect extension for VSCode has been release, which is great news. Good job Nordic Team!
I have followed the steps described in your article as well as in the Youtube tutorial and could successfully install the extension in VSCode. At first glance everything seemed to work properly, as I can create/add a project, build, flash, debug and start the terminal (serial).

However, I have noticed a few things during the build process that I would like to ask.

I have configured the build as follows but it seems that the application (zephyr/samples/basic/blinky example) is built for the secure domain.

I have attached the build process and would like to ask a few questions about it:

  1. How can i get rid of this warning? Or can it be ignored?
    CMake Warning at C:\Nordic\v1.6.1\zephyr\subsys\debug\CMakeLists.txt:4 (message):
      CONFIG_OPENOCD_SUPPORT is deprecated
    
        Please use DEBUG_THREAD_INFO instead.


  2. Related to Question 1, the build command includes a lot of build options that I did not set, being -DCONFIG_OPENOCD_SUPPORT:STRING="y" one of them. How can I manage these build options?

  3. Even though I am trying to build for the application core in non-secure domain, the build process changes the target to nrf5340dk_nrf5340_cpuapp.
    Changed board to secure nrf5340dk_nrf5340_cpuapp (NOT NS)

    I have then tried to build the same application using the old method of command line and west ($ west build -b nrf5340dk_nrf5340_cpuappns), as I assume that the process is the same. By doing so I have realized that the build process also changes the board to secure nrf5340dk_nrf5340_cpuapp (NOT NS).
    This makes me think that the problem is related to the build process itself and not VSCode. Any idea how I could solve this issue and build for the application core in non-secure domain?

  4. I have also noticed that warnings are only shown when the code is built after a modification or after a pristine build. This is not very practical, as warnings may be overseen... Is there any way to observe all warnings all the time?

    Example:
    Build right after modification/pristine build

   Building again without modifying the code:

I attach the both the project and the build output in case it may be of any help.

Many thanks in advance!

Best regards

> Executing task: nRF Connect: Build TestApp1/build (active) <

Building TestApp1
west build --build-dir c:\nordicApps\TestApp1\build c:\nordicApps\TestApp1 --pristine --board nrf5340dk_nrf5340_cpuappns -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONFIG_DEBUG_OPTIMIZATIONS:STRING="y" -DCONFIG_OPENOCD_SUPPORT:STRING="y" -DCONF_FILE:STRING="c:/nordicApps/TestApp1/prj.conf"

-- west build: generating a build system
Including boilerplate (Zephyr base): C:/Nordic/v1.6.1/zephyr/cmake/app/boilerplate.cmake
-- Application: C:/nordicApps/TestApp1
-- Zephyr version: 2.6.0-rc1 (C:/Nordic/v1.6.1/zephyr), build: v2.6.0-rc1-ncs1
-- Found Python3: C:/Nordic/v1.6.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
-- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
-- Board: nrf5340dk_nrf5340_cpuappns
-- Cache files will be written to: C:/Nordic/v1.6.1/zephyr/.cache
-- Found dtc: C:/Nordic/v1.6.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (c:/Nordic/v1.6.1/toolchain/opt)
-- Found BOARD.dts: C:/Nordic/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuappns.dts
-- Generated zephyr.dts: C:/nordicApps/TestApp1/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: C:/nordicApps/TestApp1/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: C:/nordicApps/TestApp1/build/zephyr/include/generated/device_extern.h
Parsing C:/Nordic/v1.6.1/zephyr/Kconfig
Loaded configuration 'C:/Nordic/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuappns_defconfig'
Merged configuration 'c:/nordicApps/TestApp1/prj.conf'
Merged configuration 'C:/nordicApps/TestApp1/build/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to 'C:/nordicApps/TestApp1/build/zephyr/.config'
Kconfig header saved to 'C:/nordicApps/TestApp1/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: C:/Nordic/v1.6.1/toolchain/opt/bin/arm-none-eabi-gcc.exe
CMake Warning at C:\Nordic\v1.6.1\zephyr\subsys\debug\CMakeLists.txt:4 (message):
  CONFIG_OPENOCD_SUPPORT is deprecated

    Please use DEBUG_THREAD_INFO instead.


Changed board to secure nrf5340dk_nrf5340_cpuapp (NOT NS)

=== child image spm -  begin ===
Including boilerplate (Zephyr base): C:/Nordic/v1.6.1/zephyr/cmake/app/boilerplate.cmake
-- Application: C:/Nordic/v1.6.1/nrf/samples/spm
-- Zephyr version: 2.6.0-rc1 (C:/Nordic/v1.6.1/zephyr), build: v2.6.0-rc1-ncs1
-- Found Python3: C:/Nordic/v1.6.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
-- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
-- Board: nrf5340dk_nrf5340_cpuapp
-- Cache files will be written to: C:/Nordic/v1.6.1/zephyr/.cache
-- Found dtc: C:/Nordic/v1.6.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (C:/Nordic/v1.6.1/toolchain/opt)
-- Found BOARD.dts: C:/Nordic/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts
-- Found devicetree overlay: C:/Nordic/v1.6.1/nrf/samples/spm/boards/nrf5340dk_nrf5340_cpuapp.overlay
-- Generated zephyr.dts: C:/nordicApps/TestApp1/build/spm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: C:/nordicApps/TestApp1/build/spm/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: C:/nordicApps/TestApp1/build/spm/zephyr/include/generated/device_extern.h
Parsing C:/Nordic/v1.6.1/zephyr/Kconfig
Loaded configuration 'C:/Nordic/v1.6.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig'
Merged configuration 'C:/Nordic/v1.6.1/nrf/samples/spm/prj.conf'
Merged configuration 'C:/Nordic/v1.6.1/nrf/subsys/partition_manager/partition_manager_enabled.conf'
Merged configuration 'C:/nordicApps/TestApp1/build/spm/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to 'C:/nordicApps/TestApp1/build/spm/zephyr/.config'
Kconfig header saved to 'C:/nordicApps/TestApp1/build/spm/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: C:/Nordic/v1.6.1/toolchain/opt/bin/arm-none-eabi-gcc.exe
CMake Warning at C:\Nordic\v1.6.1\zephyr\CMakeLists.txt:1607 (message):
  __ASSERT() statements are globally ENABLED


-- Configuring done
-- Generating done
-- Build files have been written to: C:/nordicApps/TestApp1/build/spm
=== child image spm -  end ===

-- Configuring done
-- Generating done
-- Build files have been written to: C:/nordicApps/TestApp1/build
-- west build: building application
[1/161] Creating directories for 'spm_subimage'
[2/161] No download step for 'spm_subimage'
[3/161] No patch step for 'spm_subimage'
[4/161] No update step for 'spm_subimage'
[5/161] No configure step for 'spm_subimage'
[5/161] Performing build step for 'spm_subimage'
[1/209] Generating objects/cc3xx.mon
[2/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/aesni.c.obj
[3/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/arc4.c.obj
[4/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/aria.c.obj
[5/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/blowfish.c.obj
[6/209] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[7/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/asn1write.c.obj
[8/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/base64.c.obj
[9/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/asn1parse.c.obj
[10/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/des.c.obj
[11/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/ctr_drbg.c.obj
[12/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/cipher.c.obj
[13/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/camellia.c.obj
[14/209] Generating include/generated/driver-validation.h
[15/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/cipher_wrap.c.obj
[16/209] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[17/209] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[18/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/debug.c.obj
[19/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/entropy_poll.c.obj
[20/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/bignum.c.obj
[21/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/gcm.c.obj
[22/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/error.c.obj
[23/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/entropy.c.obj
[24/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/havege.c.obj
[25/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/md2.c.obj
[26/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/hmac_drbg.c.obj
[27/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/hkdf.c.obj
[28/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/md.c.obj
[29/209] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[30/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/md4.c.obj
[31/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/padlock.c.obj
[32/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/pk.c.obj
[33/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/md5.c.obj
[34/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/oid.c.obj
[35/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/nist_kw.c.obj
[36/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/pkcs5.c.obj
[37/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/pkparse.c.obj
[38/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/pk_wrap.c.obj
[39/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/pkcs12.c.obj
[40/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/ripemd160.c.obj
[41/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/platform.c.obj
[42/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/platform_util.c.obj
[43/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/timing.c.obj
[44/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/pkwrite.c.obj
[45/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/xtea.c.obj
[46/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/psa_crypto_client.c.obj
[47/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/version.c.obj
[48/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/version_features.c.obj
[49/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/psa_crypto.c.obj
[50/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/psa_crypto_ecp.c.obj
[51/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/psa_crypto_rsa.c.obj
[52/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/psa_crypto_slot_management.c.obj
[53/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/psa_crypto_driver_wrappers.c.obj
[54/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/C_/Nordic/v1.6.1/mbedtls/library/psa_crypto_storage.c.obj
[55/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/CMakeFiles/mbedcrypto_base_vanilla.dir/replacements/pem.c.obj
[56/209] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/mbedtls/shared/CMakeFiles/mbedcrypto_shared.dir/C_/Nordic/v1.6.1/mbedtls/library/sha512.c.obj
[57/209] Linking C static library modules\nrfxlib\nrfxlib\nrf_security\src\libmbedcrypto.a
[58/209] Generating include/generated/offsets.h
[59/209] Generating linker_zephyr_prebuilt.cmd
[60/209] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[61/209] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[62/209] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[63/209] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[64/209] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[65/209] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[66/209] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[67/209] Linking C static library zephyr\arch\common\libisr_tables.a
[68/209] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[69/209] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[70/209] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[71/209] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[72/209] Linking C static library zephyr\arch\common\libarch__common.a
[73/209] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[74/209] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[75/209] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[76/209] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[77/209] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[78/209] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[79/209] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[80/209] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[81/209] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
[82/209] 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
[83/209] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/tz/CMakeFiles/arch__arm__core__aarch32__cortex_m__tz.dir/arm_core_tz.c.obj
[84/209] Linking C static library zephyr\arch\arch\arm\core\aarch32\libarch__arm__core__aarch32.a
[85/209] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj
[86/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[87/209] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[88/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[89/209] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_mpu.c.obj
[90/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
[91/209] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\cmse\libarch__arm__core__aarch32__cortex_m__cmse.a
[92/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[93/209] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\tz\libarch__arm__core__aarch32__cortex_m__tz.a
[94/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[95/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[96/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[97/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[98/209] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\libarch__arm__core__aarch32__cortex_m.a
[99/209] Linking C static library zephyr\arch\arch\arm\core\aarch32\mpu\libarch__arm__core__aarch32__mpu.a
[100/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[101/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[102/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[103/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[104/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[105/209] Building C object zephyr/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj
[106/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[107/209] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[108/209] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
[109/209] Building C object CMakeFiles/app.dir/src/main.c.obj
[110/209] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_entropy_device.c.obj
[111/209] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
[112/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[113/209] Linking C static library zephyr\soc\arm\common\cortex_m\libsoc__arm__common__cortex_m.a
[114/209] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
[115/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32c_sw.c.obj
[116/209] Linking C static library zephyr\lib\libc\minimal\liblib__libc__minimal.a
[117/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[118/209] Linking C static library app\libapp.a
[119/209] Linking C static library zephyr\subsys\random\libsubsys__random.a
[120/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[121/209] Linking C static library zephyr\lib\posix\liblib__posix.a
[122/209] Linking C static library zephyr\drivers\serial\libdrivers__serial.a
[123/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[124/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[125/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[126/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[127/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[128/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[129/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[130/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[131/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[132/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[133/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[134/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[135/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[136/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[137/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[138/209] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[139/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[140/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[141/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[142/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[143/209] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
[144/209] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
[145/209] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf53/power.c.obj
[146/209] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
[147/209] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf53/soc.c.obj
[148/209] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj
[149/209] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/policy/policy_residency.c.obj
[150/209] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/pm_ctrl.c.obj
[151/209] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
[152/209] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/power.c.obj
[153/209] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj
[154/209] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/nrf_rtc_timer.c.obj
[155/209] Building C object zephyr/CMakeFiles/zephyr.dir/C_/Nordic/v1.6.1/nrf/subsys/spm/secure_services.c.obj
[156/209] Building C object zephyr/CMakeFiles/zephyr.dir/C_/Nordic/v1.6.1/nrf/subsys/spm/spm.c.obj
[157/209] Building C object zephyr/CMakeFiles/zephyr.dir/C_/Nordic/v1.6.1/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
[158/209] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/clock_control/clock_control_nrf.c.obj
[159/209] Building C object zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj
[160/209] Building C object zephyr/CMakeFiles/zephyr.dir/C_/Nordic/v1.6.1/nrfxlib/crypto/nrf_cc312_platform/src/nrf_cc3xx_platform_mutex_zephyr.c.obj
[161/209] Building C object zephyr/drivers/entropy/CMakeFiles/drivers__entropy.dir/C_/Nordic/v1.6.1/nrf/drivers/entropy/entropy_cc310.c.obj
[162/209] Building C object zephyr/CMakeFiles/zephyr.dir/C_/Nordic/v1.6.1/nrfxlib/crypto/nrf_cc312_platform/src/nrf_cc3xx_platform_abort_zephyr.c.obj
[163/209] Building C object modules/nrf/lib/fatal_error/CMakeFiles/..__nrf__lib__fatal_error.dir/fatal_error.c.obj
[164/209] Building C object modules/nrf/subsys/fw_info/CMakeFiles/..__nrf__subsys__fw_info.dir/fw_info.c.obj
[165/209] Building C object modules/nrf/drivers/hw_cc310/CMakeFiles/..__nrf__drivers__hw_cc310.dir/hw_cc310.c.obj
[166/209] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/Nordic/v1.6.1/modules/hal/nordic/nrfx/mdk/system_nrf5340_application.c.obj
[167/209] Linking C static library zephyr\drivers\entropy\libdrivers__entropy.a
[168/209] Linking C static library modules\nrf\lib\fatal_error\lib..__nrf__lib__fatal_error.a
[169/209] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
[170/209] Linking C static library zephyr\libzephyr.a
[171/209] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/Nordic/v1.6.1/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj
[172/209] Linking C static library modules\nrf\subsys\fw_info\lib..__nrf__subsys__fw_info.a
[173/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[174/209] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/Nordic/v1.6.1/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
[175/209] Linking C static library modules\nrf\drivers\hw_cc310\lib..__nrf__drivers__hw_cc310.a
[176/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[177/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[178/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[179/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[180/209] Linking C static library modules\hal_nordic\nrfx\libmodules__hal_nordic__nrfx.a
[181/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[182/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[183/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[184/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
[185/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[186/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[187/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[188/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
[189/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
[190/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
[191/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/pipes.c.obj
[192/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
[193/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
[194/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
[195/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
[196/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
[197/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
[198/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
[199/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
[200/209] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
[201/209] Linking C static library zephyr\kernel\libkernel.a
[202/209] Linking C executable zephyr\zephyr_prebuilt.elf

[203/209] Generating linker.cmd
[204/209] Generating isr_tables.c, isrList.bin
[205/209] Generating dev_handles.c
[206/209] Building C object zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj
[207/209] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj
[208/209] Building C object zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj
[209/209] Linking C executable zephyr\zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:         48 KB        64 KB     75.00%
            SRAM:       12416 B        32 KB     37.89%
           SRAM1:          0 GB        64 KB      0.00%
        IDT_LIST:          0 GB         2 KB      0.00%
[9/161] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[11/161] No install step for 'spm_subimage'
[12/161] Completed 'spm_subimage'
[13/161] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[14/161] Generating include/generated/offsets.h
[15/161] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[16/161] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[17/161] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[18/161] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[19/161] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[20/161] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[21/161] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[22/161] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[23/161] 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
[24/161] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[25/161] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[26/161] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[27/161] Linking C static library zephyr\arch\common\libisr_tables.a
[28/161] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[29/161] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[30/161] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[31/161] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\cmse\libarch__arm__core__aarch32__cortex_m__cmse.a
[32/161] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
[33/161] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[34/161] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[35/161] Linking C static library zephyr\arch\common\libarch__common.a
[36/161] Linking C static library zephyr\arch\arch\arm\core\aarch32\libarch__arm__core__aarch32.a
[37/161] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[38/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[39/161] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[40/161] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[41/161] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[42/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[43/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[44/161] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj
[45/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[46/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[47/161] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_mpu.c.obj
[48/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[49/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[50/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[51/161] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\libarch__arm__core__aarch32__cortex_m.a
[52/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[53/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
[54/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[55/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[56/161] Linking C static library zephyr\arch\arch\arm\core\aarch32\mpu\libarch__arm__core__aarch32__mpu.a
[57/161] Building C object zephyr/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj
[58/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[59/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[60/161] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[61/161] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
[62/161] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
[63/161] Linking C static library zephyr\soc\arm\common\cortex_m\libsoc__arm__common__cortex_m.a
[64/161] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_entropy_device.c.obj
[65/161] Building C object zephyr/drivers/entropy/CMakeFiles/drivers__entropy.dir/C_/Nordic/v1.6.1/nrf/drivers/entropy/entropy_cc310.c.obj
[66/161] Linking C static library zephyr\lib\libc\minimal\liblib__libc__minimal.a
[67/161] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
[68/161] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj
[69/161] Building C object modules/nrf/lib/fatal_error/CMakeFiles/..__nrf__lib__fatal_error.dir/fatal_error.c.obj
[70/161] Building C object modules/nrf/subsys/fw_info/CMakeFiles/..__nrf__subsys__fw_info.dir/fw_info.c.obj
[71/161] Linking C static library zephyr\lib\posix\liblib__posix.a
[72/161] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/Nordic/v1.6.1/modules/hal/nordic/nrfx/mdk/system_nrf5340_application.c.obj
[73/161] Linking C static library zephyr\subsys\random\libsubsys__random.a
[74/161] Linking C static library zephyr\drivers\entropy\libdrivers__entropy.a
[75/161] Linking C static library zephyr\drivers\serial\libdrivers__serial.a
[76/161] Linking C static library zephyr\drivers\gpio\libdrivers__gpio.a
[77/161] Linking C static library modules\nrf\lib\fatal_error\lib..__nrf__lib__fatal_error.a
[78/161] Linking C static library modules\nrf\subsys\fw_info\lib..__nrf__subsys__fw_info.a
[79/161] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/Nordic/v1.6.1/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj
[80/161] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/Nordic/v1.6.1/modules/hal/nordic/nrfx/drivers/src/nrfx_dppi.c.obj
[81/161] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
[82/161] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/Nordic/v1.6.1/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
[83/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[84/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[85/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[86/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[87/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[88/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[89/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[90/161] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/Nordic/v1.6.1/modules/hal/nordic/nrfx/drivers/src/nrfx_gpiote.c.obj
[91/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
[92/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[93/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[94/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
[95/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
[96/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
[97/161] Linking C static library modules\hal_nordic\nrfx\libmodules__hal_nordic__nrfx.a
[98/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/pipes.c.obj
[99/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
[100/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
[101/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
[102/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
[103/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
[104/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
[105/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
[106/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[107/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[108/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
[109/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
[110/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
[111/161] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
[112/161] Building C object CMakeFiles/app.dir/src/main.c.obj
[113/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32c_sw.c.obj
[114/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[115/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[116/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[117/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[118/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[119/161] Linking C static library app\libapp.a
[120/161] Linking C static library zephyr\kernel\libkernel.a
[121/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[122/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[123/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[124/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[125/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[126/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[127/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[128/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[129/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[130/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[131/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[132/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[133/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[134/161] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf53/soc.c.obj
[135/161] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[136/161] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
[137/161] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[138/161] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf53/power.c.obj
[139/161] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/power.c.obj
[140/161] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/pm_ctrl.c.obj
[141/161] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
[142/161] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/policy/policy_residency.c.obj
[143/161] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/debug/thread_info.c.obj
[144/161] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj
[145/161] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj
[146/161] Generating linker_zephyr_prebuilt.cmd
[147/161] Building C object zephyr/CMakeFiles/zephyr.dir/C_/Nordic/v1.6.1/nrf/subsys/nonsecure/secure_services_ns.c.obj
[148/161] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/clock_control/clock_control_nrf.c.obj
[149/161] Building C object zephyr/CMakeFiles/zephyr.dir/C_/Nordic/v1.6.1/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
[150/161] Building C object zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj
[151/161] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/nrf_rtc_timer.c.obj
[152/161] Linking C static library zephyr\libzephyr.a
[153/161] Linking C executable zephyr\zephyr_prebuilt.elf

[154/161] Generating linker.cmd
[155/161] Generating isr_tables.c, isrList.bin
[156/161] Generating dev_handles.c
[157/161] Building C object zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj
[158/161] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj
[159/161] Building C object zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj
[160/161] Linking C executable zephyr\zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       22004 B       960 KB      2.24%
            SRAM:        4584 B       480 KB      0.93%
           SRAM1:          0 GB        64 KB      0.00%
        IDT_LIST:          0 GB         2 KB      0.00%
[161/161] Generating zephyr/merged.hex

Terminal will be reused by tasks, press any key to close it.
3201.TestApp1.zip

  • Hi,

    1 & 2. These are because you set "Enable Debug Options" when creating the build configuration. You can make a new build configuration without that setting to get rid of them.

    3. A non-secure project consists of a non-secure image and a secure image, in this case the secure partition manager. The board is changed when building the secure image. This is intentional, and the application is still non-secure.

    4. I have passed this feedback along to the developers. I will update you when they respond.

  • Hi Øivind,

    thanks for your answers. Looking forward to the feedback from your colleagues.

    If I may point out something else, I noticed that from time to time, some of the options from the Actions menu are missing after a pristine build. This happens randomly and not with a certain frequence.
    I did find a workaround : select another project from the Applications Menu (TestApp1) and the select again my project (TestApplication2). By doing so, all options are back in the Actions menu.

    Best regards.

  • Update on the warnings disappearing:

    "It happens because the files with the warnings in doesn't get re-compiled because they don't have any changes. Ninja (and Make, and therefore CMake and West) only recompile files with changes, to speed up builds. But if the file doesn't get recompiled, the compiler never sees the problem that generates the warning."

    We appreciate the feedback, and this may be something we can improve the user experience on in a future update.

    The flash and debug options disappearing is a known bug, and is something we are working to fix.

Related