Range Finding, nrf_dm won't build cleanly or at all.

I can't get "nrf_dm" to build cleanly. I don't see anything in the readme that indicates I have to do anything special/additional... nrf5340dk might work  (I have to order 2x nrf5340dk's), but it generates enough Warnings to be concerning... Eventually I will need to program SoC nrf5340 on a custom PCB and that doesn't compile at all.

  1. Board: nrf5340dk generations a number of warnings.
  2. Board/SoC: thingy53_nrf5340_cpuapp fails spectacularly...

Also, which may be related, I can't seem to be able to select a "kit" and have "No Kit Selected" in the bottom toolbar. I "repaired" the "nrf-command-line-tools-10.23.0-x64" installation, but no improvement. None of the Kit options: Scan, Let Cmake guess, gcc... improve my results.

I assume my problem is in my VSCode setup? I am a new user, w/new nrf_connect install. I have spent weeks trying to get the nrf connect environment working in VSCode with little, but some, success.

I attached my nrf_dm files, support info, etc...

board nrf5340dk (PRISTINE BUILD) WARNINGS:

[{
"resource": "/../../../CMakeLists.txt",
"owner": "nrf-connect",
"severity": 4,
"message": "CMake Warning at ../../../CMakeLists.txt:839 (message):",
"source": "cmake",
"startLineNumber": 839,
"startColumn": 1,
"endLineNumber": 839,
"endColumn": 2147483647
},{
"resource": "/c:/ncs/v2.4.2/nrf/subsys/dm/dm.c",
"owner": "cpptools",
"severity": 4,
"message": "#warning \"The ncs,dm-timer chosen node is not set; defaulting to TIMER2\" [-Wcpp]",
"source": "gcc",
"startLineNumber": 43,
"startColumn": 2,
"endLineNumber": 43,
"endColumn": 2
},{
"resource": "/c:/ncs/v2.4.2/zephyr/CMakeLists.txt",
"owner": "nrf-connect",
"severity": 4,
"message": "CMake Warning at C:/ncs/v2.4.2/zephyr/CMakeLists.txt:839 (message):",
"source": "cmake",
"startLineNumber": 839,
"startColumn": 1,
"endLineNumber": 839,
"endColumn": 2147483647
},{
"resource": "/c:/ncs/v2.4.2/zephyr/CMakeLists.txt",
"owner": "nrf-connect",
"severity": 4,
"message": "CMake Warning at C:/ncs/v2.4.2/zephyr/CMakeLists.txt:1865 (message):",
"source": "cmake",
"startLineNumber": 1865,
"startColumn": 1,
"endLineNumber": 1865,
"endColumn": 2147483647
},{
"resource": "/c:/ncs/v2.4.2/zephyr/subsys/random/CMakeLists.txt",
"owner": "nrf-connect",
"severity": 4,
"message": "CMake Warning at C:/ncs/v2.4.2/zephyr/subsys/random/CMakeLists.txt:11 (message):",
"source": "cmake",
"startLineNumber": 11,
"startColumn": 1,
"endLineNumber": 11,
"endColumn": 2147483647
},{
"resource": "/c:/nordic/myApps/nrf_dm_3/child_image/hci_rpmsg.conf",
"owner": "kconfig0",
"severity": 4,
"message": "MAIN_STACK_SIZE set more than once. Old value \"512\", new value \"680\".",
"startLineNumber": 20,
"startColumn": 1,
"endLineNumber": 20,
"endColumn": 27,
"relatedInformation": [
{
"startLineNumber": 6,
"startColumn": 1,
"endLineNumber": 6,
"endColumn": 23,
"message": "Already set to \"512\" here",
"resource": "/c:/ncs/v2.4.2/zephyr/samples/bluetooth/hci_rpmsg/prj.conf"
}
]
}]


Thingy53_nrf5340_cpuapp (PRISTINE BUILD) WARNINGS:


[{
"resource": "/c:/ncs/v2.4.2/zephyr/include/zephyr/device.h",
"owner": "cpptools",
"severity": 8,
"message": "'__device_dts_ord_DT_N_NODELABEL_ipc1_ORD' undeclared (first use in this function)",
"source": "gcc",
"startLineNumber": 84,
"startColumn": 41,
"endLineNumber": 84,
"endColumn": 41
},{
"resource": "/c:/ncs/v2.4.2/zephyr/include/zephyr/devicetree.h",
"owner": "cpptools",
"severity": 8,
"message": "'DT_N_NODELABEL_dm_ranging_P_gpios_IDX_0_VAL_pin' undeclared here (not in a function)",
"source": "gcc",
"startLineNumber": 192,
"startColumn": 36,
"endLineNumber": 192,
"endColumn": 36
},{
"resource": "/c:/ncs/v2.4.2/zephyr/include/zephyr/toolchain/gcc.h",
"owner": "cpptools",
"severity": 8,
"message": "static assertion failed: \"You must set the gpios property in the /dm_gpio/dm-add-request node to enable GPIO Debug.\"",
"source": "gcc",
"startLineNumber": 81,
"startColumn": 36,
"endLineNumber": 81,
"endColumn": 36
},{
"resource": "/../../../CMakeLists.txt",
"owner": "nrf-connect",
"severity": 4,
"message": "No SOURCES given to Zephyr library: lib__libc__common",
"source": "cmake",
"startLineNumber": 839,
"startColumn": 1,
"endLineNumber": 839,
"endColumn": 2147483647
},{
"resource": "/subsys/logging/Kconfig.filtering",
"owner": "nrf-connect",
"severity": 4,
"message": "LOG_DEFAULT_LEVEL (defined at subsys/logging\\Kconfig.filtering:13) was assigned the value",
"source": "kconfig",
"startLineNumber": 13,
"startColumn": 1,
"endLineNumber": 13,
"endColumn": 2147483647
},{
"resource": "/subsys/logging/Kconfig.mode",
"owner": "nrf-connect",
"severity": 4,
"message": "The choice symbol LOG_MODE_MINIMAL (defined at subsys/logging\\Kconfig.mode:28) was selected",
"source": "kconfig",
"startLineNumber": 28,
"startColumn": 1,
"endLineNumber": 28,
"endColumn": 2147483647
},{
"resource": "/c:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/boards/thingy53_nrf5340_cpuapp.conf",
"owner": "kconfig0",
"severity": 4,
"message": "CONFIG_NORDIC_QSPI_NOR_STACK_WRITE_BUFFER_SIZE couldn't be set. Missing dependencies:\n(NORDIC_QSPI_NOR && NCS_SAMPLE_MCUMGR_BT_OTA_DFU) || (NORDIC_QSPI_NOR && FLASH)",
"startLineNumber": 31,
"startColumn": 1,
"endLineNumber": 31,
"endColumn": 47
},{
"resource": "/c:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/boards/thingy53_nrf5340_cpuapp.conf",
"owner": "kconfig0",
"severity": 4,
"message": "CONFIG_USB_CDC_ACM was assigned the value y, but got the value n. Missing dependencies:\n(BOARD_SERIAL_BACKEND_CDC_ACM && (BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS)) || (SERIAL && DT_HAS_ZEPHYR_CDC_ACM_UART_ENABLED && USB_DEVICE_STACK)",
"startLineNumber": 43,
"startColumn": 1,
"endLineNumber": 43,
"endColumn": 19
},{
"resource": "/c:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/boards/thingy53_nrf5340_cpuapp.conf",
"owner": "kconfig0",
"severity": 4,
"message": "CONSOLE set more than once. Old value \"y\", new value \"n\".",
"startLineNumber": 49,
"startColumn": 1,
"endLineNumber": 49,
"endColumn": 17,
"relatedInformation": [
{
"startLineNumber": 20,
"startColumn": 1,
"endLineNumber": 20,
"endColumn": 15,
"message": "Already set to \"y\" here",
"resource": "/c:/ncs/v2.4.2/zephyr/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpuapp_defconfig"
}
]
},{
"resource": "/c:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/boards/thingy53_nrf5340_cpuapp.conf",
"owner": "kconfig0",
"severity": 4,
"message": "LOG set more than once. Old value \"y\", new value \"n\".",
"startLineNumber": 53,
"startColumn": 1,
"endLineNumber": 53,
"endColumn": 13,
"relatedInformation": [
{
"startLineNumber": 31,
"startColumn": 1,
"endLineNumber": 31,
"endColumn": 11,
"message": "Already set to \"y\" here",
"resource": "/c:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/prj.conf"
}
]
},{
"resource": "/c:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/boards/thingy53_nrf5340_cpuapp.conf",
"owner": "kconfig0",
"severity": 4,
"message": "BOOT_UPGRADE_ONLY set more than once. Old value \"n\", new value \"y\".",
"startLineNumber": 64,
"startColumn": 1,
"endLineNumber": 64,
"endColumn": 27,
"relatedInformation": [
{
"startLineNumber": 11,
"startColumn": 1,
"endLineNumber": 11,
"endColumn": 25,
"message": "Already set to \"n\" here",
"resource": "/c:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/prj.conf"
}
]
},{
"resource": "/c:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/boards/thingy53_nrf5340_cpuapp.conf",
"owner": "kconfig0",
"severity": 4,
"message": "CONFIG_FLASH_SIMULATOR was assigned the value y, but got the value n. Missing dependencies:\nDT_HAS_ZEPHYR_SIM_FLASH_ENABLED",
"startLineNumber": 67,
"startColumn": 1,
"endLineNumber": 67,
"endColumn": 23
},{
"resource": "/c:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/boards/thingy53_nrf5340_cpuapp.conf",
"owner": "kconfig0",
"severity": 4,
"message": "CONFIG_FLASH_SIMULATOR_DOUBLE_WRITES was assigned the value y, but got the value n. Missing dependencies:\nFLASH_SIMULATOR",
"startLineNumber": 68,
"startColumn": 1,
"endLineNumber": 68,
"endColumn": 37
},{
"resource": "/c:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/prj.conf",
"owner": "kconfig0",
"severity": 4,
"message": "CONFIG_LOG_MODE_MINIMAL was assigned the value y, but got the value n. Missing dependencies:\n<choice LOG_MODE>",
"startLineNumber": 32,
"startColumn": 1,
"endLineNumber": 32,
"endColumn": 24
},{
"resource": "/c:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/prj.conf",
"owner": "kconfig0",
"severity": 4,
"message": "CONFIG_LOG_DEFAULT_LEVEL couldn't be set. Missing dependencies:\nLOG",
"startLineNumber": 34,
"startColumn": 1,
"endLineNumber": 34,
"endColumn": 25
},{
"resource": "/c:/ncs/v2.4.2/nrf/subsys/dm/dm.c",
"owner": "cpptools",
"severity": 4,
"message": "#warning \"The ncs,dm-timer chosen node is not set; defaulting to TIMER2\" [-Wcpp]",
"source": "gcc",
"startLineNumber": 43,
"startColumn": 2,
"endLineNumber": 43,
"endColumn": 2
},{
"resource": "/c:/ncs/v2.4.2/nrfxlib/mpsl/Kconfig",
"owner": "nrf-connect",
"severity": 4,
"message": "MPSL (defined at C:/ncs/v2.4.2/nrfxlib\\mpsl/Kconfig:7) was assigned the value 'y' but got",
"source": "kconfig",
"startLineNumber": 7,
"startColumn": 1,
"endLineNumber": 7,
"endColumn": 2147483647
},{
"resource": "/c:/ncs/v2.4.2/zephyr/CMakeLists.txt",
"owner": "nrf-connect",
"severity": 4,
"message": "No SOURCES given to Zephyr library: lib__libc__common",
"source": "cmake",
"startLineNumber": 839,
"startColumn": 1,
"endLineNumber": 839,
"endColumn": 2147483647
},{
"resource": "/c:/ncs/v2.4.2/zephyr/CMakeLists.txt",
"owner": "nrf-connect",
"severity": 4,
"message": "__ASSERT() statements are globally ENABLED",
"source": "cmake",
"startLineNumber": 1865,
"startColumn": 1,
"endLineNumber": 1865,
"endColumn": 2147483647
},{
"resource": "/c:/nordic/myApps/nrf_dm_4/child_image/hci_rpmsg.conf",
"owner": "kconfig0",
"severity": 4,
"message": "MAIN_STACK_SIZE set more than once. Old value \"512\", new value \"680\".",
"startLineNumber": 20,
"startColumn": 1,
"endLineNumber": 20,
"endColumn": 27,
"relatedInformation": [
{
"startLineNumber": 6,
"startColumn": 1,
"endLineNumber": 6,
"endColumn": 23,
"message": "Already set to \"512\" here",
"resource": "/c:/ncs/v2.4.2/zephyr/samples/bluetooth/hci_rpmsg/prj.conf"
}
]
},{
"resource": "/c:/nordic/myApps/nrf_dm_4/prj.conf",
"owner": "kconfig0",
"severity": 4,
"message": "CONFIG_MPSL was assigned the value y, but got the value n. Missing dependencies:\nSOC_SERIES_BSIM_NRFXX || SOC_SERIES_NRF52X || SOC_NRF5340_CPUNET",
"startLineNumber": 30,
"startColumn": 1,
"endLineNumber": 30,
"endColumn": 12
}]

Thingy53_nrf5340_cpuapp (PRISTINE BUILD) TERMINAL MESSAGES:

Loaded configuration 'C:/ncs/v2.4.2/zephyr/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpunet_defconfig'
Merged configuration 'C:/ncs/v2.4.2/nrf/samples/nrf5340/netboot/prj.conf'
Merged configuration 'C:/ncs/v2.4.2/nrf/subsys/partition_manager/partition_manager_enabled.conf'
Configuration saved to 'C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/hci_rpmsg/b0n/zephyr/.config'
Kconfig header saved to 'C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/hci_rpmsg/b0n/zephyr/include/generated/autoconf.h'
-- Found GnuLd: c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
CMake Warning at C:/ncs/v2.4.2/zephyr/CMakeLists.txt:839 (message):
No SOURCES given to Zephyr library: lib__libc__common

Excluding target from build.


CMake Warning at C:/ncs/v2.4.2/zephyr/CMakeLists.txt:1865 (message):
__ASSERT() statements are globally ENABLED


-- Configuring done
-- Generating done
-- Build files have been written to: C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/hci_rpmsg/b0n
=== child image b0n - CPUNET (inherited) end ===

CMake Warning at C:/ncs/v2.4.2/nrf/subsys/bootloader/cmake/debug_keys.cmake:36 (message):

--------------------------------------------------------------
--- WARNING: Using generated NSIB public/private key-pair. ---
--- It should not be used for production. ---
--- See CONFIG_SB_SIGNING_KEY_FILE ---
--------------------------------------------------------------

Call Stack (most recent call first):
C:/ncs/v2.4.2/nrf/subsys/bootloader/cmake/provision_hex.cmake:37 (include)
C:/ncs/v2.4.2/nrf/subsys/CMakeLists.txt:17 (include)


-- libmetal version: 1.3.0 (C:/ncs/v2.4.2/zephyr/samples/bluetooth/hci_rpmsg)
-- Build type:
-- Host: Windows/AMD64
-- Target: Generic/arm
-- Machine: arm
-- Looking for include file stdatomic.h
-- Looking for include file stdatomic.h - found
-- open-amp version: 1.3.0 (C:/ncs/v2.4.2/modules/lib/open-amp/open-amp)
-- Host: Windows/AMD64
-- Target: Generic/arm
-- Machine: arm
-- C_FLAGS : -Wall -Wextra
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
CMake Warning at ../../../CMakeLists.txt:839 (message):
No SOURCES given to Zephyr library: lib__libc__common

Excluding target from build.


-- Configuring done
-- Generating done
-- Build files have been written to: C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/hci_rpmsg
=== child image hci_rpmsg - CPUNET end ===

-- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found version "3.8.2") found components: Interpreter

=== child image mcuboot - begin ===
loading initial cache file C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/mcuboot/child_image_preload.cmake
Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr
-- CMake version: 3.20.5
-- Found Python3: C:/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
-- Cache files will be written to: C:/ncs/v2.4.2/zephyr/.cache
-- Zephyr version: 3.3.99 (C:/ncs/v2.4.2/zephyr)
-- Found west (found suitable version "1.0.0", minimum required is "0.7.1")
-- Board: thingy53_nrf5340_cpuapp
-- Found host-tools: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.0 (C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/31f4403e35/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found BOARD.dts: C:/ncs/v2.4.2/zephyr/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpuapp.dts
-- Found devicetree overlay: C:/ncs/v2.4.2/nrf/modules/mcuboot/flash_sim.overlay
-- Generated zephyr.dts: C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/mcuboot/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/mcuboot/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/mcuboot/zephyr/dts.cmake

Parsing C:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/Kconfig
Loaded configuration 'C:/ncs/v2.4.2/zephyr/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpuapp_defconfig'
Merged configuration 'C:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/prj.conf'
Merged configuration 'C:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/boards/thingy53_nrf5340_cpuapp.conf'
Merged configuration 'C:/ncs/v2.4.2/nrf/subsys/pcd/pcd.conf'
Merged configuration 'C:/ncs/v2.4.2/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf'
Merged configuration 'C:/ncs/v2.4.2/nrf/subsys/partition_manager/partition_manager_enabled.conf'
Merged configuration 'C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to 'C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/mcuboot/zephyr/.config'
Kconfig header saved to 'C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/mcuboot/zephyr/include/generated/autoconf.h'
warning: LOG_DEFAULT_LEVEL (defined at subsys/logging\Kconfig.filtering:13) was assigned the value
'0' but got the value ''. Check these unsatisfied dependencies: LOG (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up
LOG_DEFAULT_LEVEL 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: The choice symbol LOG_MODE_MINIMAL (defined at subsys/logging\Kconfig.mode:28) was selected
(set =y), but no symbol ended up as the choice selection. See
docs.zephyrproject.org/.../kconfig.html and/or look up
LOG_MODE_MINIMAL 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.

-- Found GnuLd: c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
CMake Warning at C:/ncs/v2.4.2/zephyr/CMakeLists.txt:839 (message):
No SOURCES given to Zephyr library: lib__libc__common

Excluding target from build.


-- Found partition manager static configuration: C:/ncs/v2.4.2/zephyr/boards/arm/thingy53_nrf5340/pm_static_thingy53_nrf5340_cpuapp.yml
MCUBoot bootloader key file: C:/ncs/v2.4.2/bootloader/mcuboot/root-rsa-2048.pem
-- Configuring done
-- Generating done
-- Build files have been written to: C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/mcuboot
=== child image mcuboot - end ===

CMake Warning at C:/ncs/v2.4.2/nrf/modules/mcuboot/CMakeLists.txt:310 (message):

---------------------------------------------------------
--- WARNING: Using default MCUBoot key, it should not ---
--- be used for production. ---
---------------------------------------------------------

-- libmetal version: 1.3.0 (C:/nordic/myApps/nrf_dm_4)
-- Build type:
-- Host: Windows/AMD64
-- Target: Generic/arm
-- Machine: arm
-- Looking for include file stdatomic.h
-- Looking for include file stdatomic.h - found
-- open-amp version: 1.3.0 (C:/ncs/v2.4.2/modules/lib/open-amp/open-amp)
-- Host: Windows/AMD64
-- Target: Generic/arm
-- Machine: arm
-- C_FLAGS : -Wall -Wextra
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
CMake Warning at C:/ncs/v2.4.2/zephyr/CMakeLists.txt:839 (message):
No SOURCES given to Zephyr library: lib__libc__common

Excluding target from build.


CMake Warning at C:/ncs/v2.4.2/zephyr/CMakeLists.txt:1865 (message):
__ASSERT() statements are globally ENABLED


-- Found partition manager static configuration: C:/ncs/v2.4.2/zephyr/boards/arm/thingy53_nrf5340/pm_static_thingy53_nrf5340_cpuapp.yml
Partition 'mcuboot' is not included in the dynamic resolving since it is statically defined.
Partition 'mcuboot_pad' is not included in the dynamic resolving since it is statically defined.
Partition 'mcuboot_primary' is not included in the dynamic resolving since it is statically defined.
Partition 'mcuboot_primary_app' is not included in the dynamic resolving since it is statically defined.
Partition 'mcuboot_primary_1' is not included in the dynamic resolving since it is statically defined.
Partition 'mcuboot_secondary' is not included in the dynamic resolving since it is statically defined.
Partition 'mcuboot_secondary_1' is not included in the dynamic resolving since it is statically defined.
Partition 'pcd_sram' is not included in the dynamic resolving since it is statically defined.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp
-- west build: building application
[1/503] Generating include/generated/version.h
-- Zephyr version: 3.3.99 (C:/ncs/v2.4.2/zephyr), build: v3.3.99-ncs1-1
[2/503] Creating directories for 'hci_rpmsg_subimage'
[3/503] Creating directories for 'mcuboot_subimage'
[4/503] No download step for 'hci_rpmsg_subimage'
[5/503] No download step for 'mcuboot_subimage'
[6/503] No update step for 'hci_rpmsg_subimage'
[7/503] No update step for 'mcuboot_subimage'
[8/503] No patch step for 'hci_rpmsg_subimage'
[9/503] No patch step for 'mcuboot_subimage'
[10/503] No configure step for 'hci_rpmsg_subimage'
[10/503] Performing build step for 'hci_rpmsg_subimage'
[0/456] Generating signing key
[1/456] Generating include/generated/version.h
-- Zephyr version: 3.3.99 (C:/ncs/v2.4.2/zephyr), build: v3.3.99-ncs1-1
[2/456] Creating public key from private key used for signing
[5/456] No update step for 'b0n_subimage'
[6/456] Creating data to be provisioned to the Bootloader, storing to provision.hex
[8/456] No configure step for 'b0n_subimage'
[9/456] Performing build step for 'b0n_subimage'
[1/156] Generating include/generated/version.h
-- Zephyr version: 3.3.99 (C:/ncs/v2.4.2/zephyr), build: v3.3.99-ncs1-1
[2/156] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[3/156] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[4/156] Generating include/generated/driver-validation.h
[5/156] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[6/156] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[7/156] Generating include/generated/offsets.h
[8/156] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[9/156] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[10/156] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[11/156] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[12/156] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[13/156] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[14/156] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[15/156] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[16/156] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[17/156] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[18/156] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[19/156] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[20/156] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[21/156] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[22/156] Generating linker_zephyr_pre0.cmd
[23/156] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
[24/156] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[25/156] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[26/156] 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
[27/156] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[28/156] Generating ../../../include/generated/libc/minimal/strerror_table.h
[29/156] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[30/156] Linking C static library zephyr\arch\common\libisr_tables.a
[31/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[32/156] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[33/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[34/156] Building C object CMakeFiles/app.dir/src/main.c.obj
[35/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoll.c.obj
[36/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
[37/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoull.c.obj
[38/156] Linking C static library zephyr\arch\common\libarch__common.a
[39/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[40/156] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\cmse\libarch__arm__core__aarch32__cortex_m__cmse.a
[41/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[42/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[43/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[44/156] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\libarch__arm__core__aarch32__cortex_m.a
[45/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[46/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[47/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[48/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[49/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strerror.c.obj
[50/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/qsort.c.obj
[51/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[52/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[53/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[54/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[55/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[56/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/math/sqrtf.c.obj
[57/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[58/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/math/sqrt.c.obj
[59/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[60/156] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[61/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[62/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[63/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[64/156] Linking C static library app\libapp.a
[65/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[66/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32c_sw.c.obj
[67/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[68/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[69/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[70/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[71/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[72/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[73/156] Linking C static library zephyr\lib\libc\minimal\liblib__libc__minimal.a
[74/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[75/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[76/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[77/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[78/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[79/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[80/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[81/156] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[82/156] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj
[83/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[84/156] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
[85/156] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
[86/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
[87/156] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[88/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[89/156] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
[90/156] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[91/156] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
[92/156] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf53/soc.c.obj
[93/156] Generating linker_zephyr_pre1.cmd
[94/156] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/stream/stream_flash.c.obj
[95/156] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_nrf.c.obj
[96/156] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[97/156] Linking C static library zephyr\arch\arch\arm\core\aarch32\libarch__arm__core__aarch32.a
[98/156] Building C object modules/nrf/subsys/bootloader/bl_storage/CMakeFiles/..__nrf__subsys__bootloader__bl_storage.dir/bl_storage.c.obj
[99/156] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_page_layout.c.obj
[100/156] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[101/156] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_nrf.c.obj
[102/156] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/soc_flash_nrf.c.obj
[103/156] Linking C static library zephyr\drivers\pinctrl\libdrivers__pinctrl.a
[104/156] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/nrf_rtc_timer.c.obj
[105/156] Linking C static library zephyr\libzephyr.a
[106/156] Linking C static library modules\nrf\subsys\bootloader\bl_storage\lib..__nrf__subsys__bootloader__bl_storage.a
[107/156] Building C object modules/nrf/subsys/bootloader/bl_boot/CMakeFiles/..__nrf__subsys__bootloader__bl_boot.dir/bl_boot.c.obj
[108/156] Building C object modules/nrf/lib/fprotect/CMakeFiles/..__nrf__lib__fprotect.dir/fprotect_acl.c.obj
[109/156] Linking C static library zephyr\drivers\flash\libdrivers__flash.a
[110/156] Building C object modules/nrf/subsys/bootloader/bl_crypto/CMakeFiles/..__nrf__subsys__bootloader__bl_crypto.dir/bl_crypto_oberon_hash.c.obj
[111/156] Building C object modules/nrf/lib/fatal_error/CMakeFiles/..__nrf__lib__fatal_error.dir/fatal_error.c.obj
[112/156] Linking C static library zephyr\drivers\clock_control\libdrivers__clock_control.a
[113/156] Building C object modules/nrf/subsys/bootloader/bl_crypto/CMakeFiles/..__nrf__subsys__bootloader__bl_crypto.dir/bl_crypto.c.obj
[114/156] Linking C static library modules\nrf\subsys\bootloader\bl_boot\lib..__nrf__subsys__bootloader__bl_boot.a
[115/156] Linking C static library zephyr\drivers\timer\libdrivers__timer.a
[116/156] Linking C static library modules\nrf\lib\fprotect\lib..__nrf__lib__fprotect.a
[117/156] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.4.2/modules/hal/nordic/nrfx/mdk/system_nrf5340_network.c.obj
[118/156] Linking C static library modules\nrf\lib\fatal_error\lib..__nrf__lib__fatal_error.a
[119/156] Building C object modules/nrf/subsys/fw_info/CMakeFiles/..__nrf__subsys__fw_info.dir/fw_info.c.obj
[120/156] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
[121/156] Building C object modules/nrf/subsys/pcd/CMakeFiles/..__nrf__subsys__pcd.dir/src/pcd.c.obj
[122/156] Building C object modules/nrf/subsys/bootloader/bl_validation/CMakeFiles/..__nrf__subsys__bootloader__bl_validation.dir/bl_validation.c.obj
[123/156] Linking C static library modules\nrf\subsys\bootloader\bl_crypto\lib..__nrf__subsys__bootloader__bl_crypto.a
[124/156] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.4.2/modules/hal/nordic/nrfx/helpers/nrfx_flag32_allocator.c.obj
[125/156] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[126/156] Linking C static library modules\nrf\subsys\fw_info\lib..__nrf__subsys__fw_info.a
[127/156] Linking C static library modules\nrf\subsys\bootloader\bl_validation\lib..__nrf__subsys__bootloader__bl_validation.a
[128/156] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[129/156] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.4.2/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj
[130/156] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[131/156] Linking C static library modules\nrf\subsys\pcd\lib..__nrf__subsys__pcd.a
[132/156] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[133/156] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v2.4.2/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
[134/156] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[135/156] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[136/156] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[137/156] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
[138/156] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[139/156] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
[140/156] Linking C static library modules\hal_nordic\nrfx\libmodules__hal_nordic__nrfx.a
[141/156] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[142/156] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
[143/156] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[144/156] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
[145/156] Linking C static library zephyr\kernel\libkernel.a
[146/156] Linking C executable zephyr\zephyr_pre0.elf

[147/156] Generating dev_handles.c
[148/156] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/misc/empty_file.c.obj
[149/156] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/dev_handles.c.obj
[150/156] Linking C executable zephyr\zephyr_pre1.elf

[151/156] Generating linker.cmd
[152/156] Generating isr_tables.c, isrList.bin
[153/156] Building C object zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj
[154/156] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj
[155/156] Building C object zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj
[156/156] Linking C executable zephyr\zephyr.elf
Memory region Used Size Region Size %age Used
FLASH: 21588 B 34176 B 63.17%
RAM: 3416 B 64 KB 5.21%
SRAM1: 0 GB 64 KB 0.00%
IDT_LIST: 0 GB 2 KB 0.00%
[46/456] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/nrf/subsys/dm/rpc/host/dm_rpc_host.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/nrf/subsys/dm/rpc/host/dm_rpc_host.c.obj
C:\ncs\toolchains\31f4403e35\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DARM_ALL_FAST_TABLES -DARM_ALL_FFT_TABLES -DARM_DSP_CONFIG_TABLES -DARM_FAST_ALLOW_TABLES -DARM_FFT_ALLOW_TABLES -DARM_TABLE_BITREVIDX_FLT64_1024 -DARM_TABLE_BITREVIDX_FLT64_128 -DARM_TABLE_BITREVIDX_FLT64_16 -DARM_TABLE_BITREVIDX_FLT64_2048 -DARM_TABLE_BITREVIDX_FLT64_256 -DARM_TABLE_BITREVIDX_FLT64_32 -DARM_TABLE_BITREVIDX_FLT64_4096 -DARM_TABLE_BITREVIDX_FLT64_512 -DARM_TABLE_BITREVIDX_FLT64_64 -DARM_TABLE_BITREVIDX_FLT_1024 -DARM_TABLE_BITREVIDX_FLT_128 -DARM_TABLE_BITREVIDX_FLT_16 -DARM_TABLE_BITREVIDX_FLT_2048 -DARM_TABLE_BITREVIDX_FLT_256 -DARM_TABLE_BITREVIDX_FLT_32 -DARM_TABLE_BITREVIDX_FLT_4096 -DARM_TABLE_BITREVIDX_FLT_512 -DARM_TABLE_BITREVIDX_FLT_64 -DARM_TABLE_BITREVIDX_FXT_1024 -DARM_TABLE_BITREVIDX_FXT_128 -DARM_TABLE_BITREVIDX_FXT_16 -DARM_TABLE_BITREVIDX_FXT_2048 -DARM_TABLE_BITREVIDX_FXT_256 -DARM_TABLE_BITREVIDX_FXT_32 -DARM_TABLE_BITREVIDX_FXT_4096 -DARM_TABLE_BITREVIDX_FXT_512 -DARM_TABLE_BITREVIDX_FXT_64 -DARM_TABLE_BITREV_1024 -DARM_TABLE_DCT4_F32_128 -DARM_TABLE_DCT4_F32_2048 -DARM_TABLE_DCT4_F32_512 -DARM_TABLE_DCT4_F32_8192 -DARM_TABLE_DCT4_Q15_128 -DARM_TABLE_DCT4_Q15_2048 -DARM_TABLE_DCT4_Q15_512 -DARM_TABLE_DCT4_Q15_8192 -DARM_TABLE_DCT4_Q31_128 -DARM_TABLE_DCT4_Q31_2048 -DARM_TABLE_DCT4_Q31_512 -DARM_TABLE_DCT4_Q31_8192 -DARM_TABLE_REALCOEF_F32 -DARM_TABLE_REALCOEF_Q15 -DARM_TABLE_REALCOEF_Q31 -DARM_TABLE_RECIP_Q15 -DARM_TABLE_RECIP_Q31 -DARM_TABLE_SIN_F32 -DARM_TABLE_SIN_Q15 -DARM_TABLE_SIN_Q31 -DARM_TABLE_TWIDDLECOEF_F16_1024 -DARM_TABLE_TWIDDLECOEF_F16_128 -DARM_TABLE_TWIDDLECOEF_F16_16 -DARM_TABLE_TWIDDLECOEF_F16_2048 -DARM_TABLE_TWIDDLECOEF_F16_256 -DARM_TABLE_TWIDDLECOEF_F16_32 -DARM_TABLE_TWIDDLECOEF_F16_4096 -DARM_TABLE_TWIDDLECOEF_F16_512 -DARM_TABLE_TWIDDLECOEF_F16_64 -DARM_TABLE_TWIDDLECOEF_F32_1024 -DARM_TABLE_TWIDDLECOEF_F32_128 -DARM_TABLE_TWIDDLECOEF_F32_16 -DARM_TABLE_TWIDDLECOEF_F32_2048 -DARM_TABLE_TWIDDLECOEF_F32_256 -DARM_TABLE_TWIDDLECOEF_F32_32 -DARM_TABLE_TWIDDLECOEF_F32_4096 -DARM_TABLE_TWIDDLECOEF_F32_512 -DARM_TABLE_TWIDDLECOEF_F32_64 -DARM_TABLE_TWIDDLECOEF_F64_1024 -DARM_TABLE_TWIDDLECOEF_F64_128 -DARM_TABLE_TWIDDLECOEF_F64_16 -DARM_TABLE_TWIDDLECOEF_F64_2048 -DARM_TABLE_TWIDDLECOEF_F64_256 -DARM_TABLE_TWIDDLECOEF_F64_32 -DARM_TABLE_TWIDDLECOEF_F64_4096 -DARM_TABLE_TWIDDLECOEF_F64_512 -DARM_TABLE_TWIDDLECOEF_F64_64 -DARM_TABLE_TWIDDLECOEF_Q15_1024 -DARM_TABLE_TWIDDLECOEF_Q15_128 -DARM_TABLE_TWIDDLECOEF_Q15_16 -DARM_TABLE_TWIDDLECOEF_Q15_2048 -DARM_TABLE_TWIDDLECOEF_Q15_256 -DARM_TABLE_TWIDDLECOEF_Q15_32 -DARM_TABLE_TWIDDLECOEF_Q15_4096 -DARM_TABLE_TWIDDLECOEF_Q15_512 -DARM_TABLE_TWIDDLECOEF_Q15_64 -DARM_TABLE_TWIDDLECOEF_Q31_1024 -DARM_TABLE_TWIDDLECOEF_Q31_128 -DARM_TABLE_TWIDDLECOEF_Q31_16 -DARM_TABLE_TWIDDLECOEF_Q31_2048 -DARM_TABLE_TWIDDLECOEF_Q31_256 -DARM_TABLE_TWIDDLECOEF_Q31_32 -DARM_TABLE_TWIDDLECOEF_Q31_4096 -DARM_TABLE_TWIDDLECOEF_Q31_512 -DARM_TABLE_TWIDDLECOEF_Q31_64 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_1024 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_128 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_2048 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_256 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_32 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_4096 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_512 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_64 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_1024 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_128 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_2048 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_256 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_32 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_4096 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_512 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_64 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_1024 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_128 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_2048 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_256 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_32 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_4096 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_512 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_64 -DDISABLEFLOAT16 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DNRF5340_XXAA_NETWORK -DUSE_PARTITION_MANAGER=1 -DVALIDATION_INFO_MAGIC=0x281ee6de,0x86518483,79106 -DVALIDATION_POINTER_MAGIC=0x281ee6de,0x6919b47e,79106 -DZCBOR_STOP_ON_ERROR -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.4.2/zephyr/kernel/include -IC:/ncs/v2.4.2/zephyr/arch/arm/include -IC:/ncs/v2.4.2/nrf/drivers/mpsl/clock_control -IC:/ncs/v2.4.2/zephyr/include -Izephyr/include/generated -IC:/ncs/v2.4.2/zephyr/soc/arm/nordic_nrf/nrf53 -IC:/ncs/v2.4.2/zephyr/lib/libc/newlib/include -IC:/ncs/v2.4.2/zephyr/soc/arm/nordic_nrf/common/. -IC:/ncs/v2.4.2/zephyr/subsys/bluetooth -IC:/ncs/v2.4.2/nrf/include -IC:/ncs/v2.4.2/nrf/lib/multithreading_lock/. -IC:/ncs/v2.4.2/nrf/subsys/bluetooth/controller/. -IC:/ncs/v2.4.2/nrf/subsys/nrf_rpc/include -IC:/ncs/v2.4.2/nrf/tests/include -IC:/ncs/v2.4.2/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.4.2/modules/hal/cmsis/CMSIS/DSP/Include -IC:/ncs/v2.4.2/modules/hal/nordic/nrfx -IC:/ncs/v2.4.2/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.4.2/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.4.2/zephyr/modules/hal_nordic/nrfx/. -Imodules/libmetal/libmetal/lib/include -IC:/ncs/v2.4.2/modules/lib/open-amp/open-amp/lib/include -IC:/ncs/v2.4.2/modules/crypto/tinycrypt/lib/include -IC:/ncs/v2.4.2/modules/lib/zcbor/include -IC:/ncs/v2.4.2/nrfxlib/mpsl/include -IC:/ncs/v2.4.2/nrfxlib/mpsl/include/protocol -IC:/ncs/v2.4.2/nrfxlib/nrf_rpc/include -IC:/ncs/v2.4.2/nrfxlib/nrf_dm/include -IC:/ncs/v2.4.2/nrfxlib/softdevice_controller/include -fno-strict-aliasing -Os -imacros C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/hci_rpmsg/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33+nodsp -mthumb -mabi=aapcs --sysroot=C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.4.2/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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:/ncs/v2.4.2/zephyr/samples/bluetooth/hci_rpmsg=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.4.2/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.4.2=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/nrf/subsys/dm/rpc/host/dm_rpc_host.c.obj -MF zephyr\CMakeFiles\zephyr.dir\C_\ncs\v2.4.2\nrf\subsys\dm\rpc\host\dm_rpc_host.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/nrf/subsys/dm/rpc/host/dm_rpc_host.c.obj -c C:/ncs/v2.4.2/nrf/subsys/dm/rpc/host/dm_rpc_host.c
In file included from C:\ncs\v2.4.2\zephyr\include\zephyr\toolchain\gcc.h:92,
from C:\ncs\v2.4.2\zephyr\include\zephyr\toolchain.h:50,
from C:\ncs\v2.4.2\zephyr\include\zephyr\kernel_includes.h:19,
from C:\ncs\v2.4.2\zephyr\include\zephyr\kernel.h:17,
from C:\ncs\v2.4.2\nrf\subsys\dm\rpc\host\dm_rpc_host.c:7:
C:/ncs/v2.4.2/nrf/subsys/dm/rpc/host/dm_rpc_host.c: In function 'ipc_init':
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:84:41: error: '__device_dts_ord_DT_N_NODELABEL_ipc1_ORD' undeclared (first use in this function)
84 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
| ^~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\toolchain\common.h:132:26: note: in definition of macro '_DO_CONCAT'
132 | #define _DO_CONCAT(x, y) x ## y
| ^
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:84:33: note: in expansion of macro '_CONCAT'
84 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
| ^~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:210:37: note: in expansion of macro 'DEVICE_NAME_GET'
210 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
| ^~~~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:227:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
227 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
| ^~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.2\nrf\subsys\dm\rpc\host\dm_rpc_host.c:132:24: note: in expansion of macro 'DEVICE_DT_GET'
132 | ipc_instance = DEVICE_DT_GET(DT_NODELABEL(ipc1));
| ^~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:84:41: note: each undeclared identifier is reported only once for each function it appears in
84 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
| ^~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\toolchain\common.h:132:26: note: in definition of macro '_DO_CONCAT'
132 | #define _DO_CONCAT(x, y) x ## y
| ^
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:84:33: note: in expansion of macro '_CONCAT'
84 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
| ^~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:210:37: note: in expansion of macro 'DEVICE_NAME_GET'
210 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
| ^~~~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:227:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
227 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
| ^~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.2\nrf\subsys\dm\rpc\host\dm_rpc_host.c:132:24: note: in expansion of macro 'DEVICE_DT_GET'
132 | ipc_instance = DEVICE_DT_GET(DT_NODELABEL(ipc1));
| ^~~~~~~~~~~~~
[47/456] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/nrf/subsys/dm/dm.c.obj
C:\ncs\v2.4.2\nrf\subsys\dm\dm.c:43:2: warning: #warning "The ncs,dm-timer chosen node is not set; defaulting to TIMER2" [-Wcpp]
43 | #warning "The ncs,dm-timer chosen node is not set; defaulting to TIMER2"
| ^~~~~~~
[50/456] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/nrf/subsys/dm/dm_io.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/nrf/subsys/dm/dm_io.c.obj
C:\ncs\toolchains\31f4403e35\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DARM_ALL_FAST_TABLES -DARM_ALL_FFT_TABLES -DARM_DSP_CONFIG_TABLES -DARM_FAST_ALLOW_TABLES -DARM_FFT_ALLOW_TABLES -DARM_TABLE_BITREVIDX_FLT64_1024 -DARM_TABLE_BITREVIDX_FLT64_128 -DARM_TABLE_BITREVIDX_FLT64_16 -DARM_TABLE_BITREVIDX_FLT64_2048 -DARM_TABLE_BITREVIDX_FLT64_256 -DARM_TABLE_BITREVIDX_FLT64_32 -DARM_TABLE_BITREVIDX_FLT64_4096 -DARM_TABLE_BITREVIDX_FLT64_512 -DARM_TABLE_BITREVIDX_FLT64_64 -DARM_TABLE_BITREVIDX_FLT_1024 -DARM_TABLE_BITREVIDX_FLT_128 -DARM_TABLE_BITREVIDX_FLT_16 -DARM_TABLE_BITREVIDX_FLT_2048 -DARM_TABLE_BITREVIDX_FLT_256 -DARM_TABLE_BITREVIDX_FLT_32 -DARM_TABLE_BITREVIDX_FLT_4096 -DARM_TABLE_BITREVIDX_FLT_512 -DARM_TABLE_BITREVIDX_FLT_64 -DARM_TABLE_BITREVIDX_FXT_1024 -DARM_TABLE_BITREVIDX_FXT_128 -DARM_TABLE_BITREVIDX_FXT_16 -DARM_TABLE_BITREVIDX_FXT_2048 -DARM_TABLE_BITREVIDX_FXT_256 -DARM_TABLE_BITREVIDX_FXT_32 -DARM_TABLE_BITREVIDX_FXT_4096 -DARM_TABLE_BITREVIDX_FXT_512 -DARM_TABLE_BITREVIDX_FXT_64 -DARM_TABLE_BITREV_1024 -DARM_TABLE_DCT4_F32_128 -DARM_TABLE_DCT4_F32_2048 -DARM_TABLE_DCT4_F32_512 -DARM_TABLE_DCT4_F32_8192 -DARM_TABLE_DCT4_Q15_128 -DARM_TABLE_DCT4_Q15_2048 -DARM_TABLE_DCT4_Q15_512 -DARM_TABLE_DCT4_Q15_8192 -DARM_TABLE_DCT4_Q31_128 -DARM_TABLE_DCT4_Q31_2048 -DARM_TABLE_DCT4_Q31_512 -DARM_TABLE_DCT4_Q31_8192 -DARM_TABLE_REALCOEF_F32 -DARM_TABLE_REALCOEF_Q15 -DARM_TABLE_REALCOEF_Q31 -DARM_TABLE_RECIP_Q15 -DARM_TABLE_RECIP_Q31 -DARM_TABLE_SIN_F32 -DARM_TABLE_SIN_Q15 -DARM_TABLE_SIN_Q31 -DARM_TABLE_TWIDDLECOEF_F16_1024 -DARM_TABLE_TWIDDLECOEF_F16_128 -DARM_TABLE_TWIDDLECOEF_F16_16 -DARM_TABLE_TWIDDLECOEF_F16_2048 -DARM_TABLE_TWIDDLECOEF_F16_256 -DARM_TABLE_TWIDDLECOEF_F16_32 -DARM_TABLE_TWIDDLECOEF_F16_4096 -DARM_TABLE_TWIDDLECOEF_F16_512 -DARM_TABLE_TWIDDLECOEF_F16_64 -DARM_TABLE_TWIDDLECOEF_F32_1024 -DARM_TABLE_TWIDDLECOEF_F32_128 -DARM_TABLE_TWIDDLECOEF_F32_16 -DARM_TABLE_TWIDDLECOEF_F32_2048 -DARM_TABLE_TWIDDLECOEF_F32_256 -DARM_TABLE_TWIDDLECOEF_F32_32 -DARM_TABLE_TWIDDLECOEF_F32_4096 -DARM_TABLE_TWIDDLECOEF_F32_512 -DARM_TABLE_TWIDDLECOEF_F32_64 -DARM_TABLE_TWIDDLECOEF_F64_1024 -DARM_TABLE_TWIDDLECOEF_F64_128 -DARM_TABLE_TWIDDLECOEF_F64_16 -DARM_TABLE_TWIDDLECOEF_F64_2048 -DARM_TABLE_TWIDDLECOEF_F64_256 -DARM_TABLE_TWIDDLECOEF_F64_32 -DARM_TABLE_TWIDDLECOEF_F64_4096 -DARM_TABLE_TWIDDLECOEF_F64_512 -DARM_TABLE_TWIDDLECOEF_F64_64 -DARM_TABLE_TWIDDLECOEF_Q15_1024 -DARM_TABLE_TWIDDLECOEF_Q15_128 -DARM_TABLE_TWIDDLECOEF_Q15_16 -DARM_TABLE_TWIDDLECOEF_Q15_2048 -DARM_TABLE_TWIDDLECOEF_Q15_256 -DARM_TABLE_TWIDDLECOEF_Q15_32 -DARM_TABLE_TWIDDLECOEF_Q15_4096 -DARM_TABLE_TWIDDLECOEF_Q15_512 -DARM_TABLE_TWIDDLECOEF_Q15_64 -DARM_TABLE_TWIDDLECOEF_Q31_1024 -DARM_TABLE_TWIDDLECOEF_Q31_128 -DARM_TABLE_TWIDDLECOEF_Q31_16 -DARM_TABLE_TWIDDLECOEF_Q31_2048 -DARM_TABLE_TWIDDLECOEF_Q31_256 -DARM_TABLE_TWIDDLECOEF_Q31_32 -DARM_TABLE_TWIDDLECOEF_Q31_4096 -DARM_TABLE_TWIDDLECOEF_Q31_512 -DARM_TABLE_TWIDDLECOEF_Q31_64 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_1024 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_128 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_2048 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_256 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_32 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_4096 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_512 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_64 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_1024 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_128 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_2048 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_256 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_32 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_4096 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_512 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_64 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_1024 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_128 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_2048 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_256 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_32 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_4096 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_512 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_64 -DDISABLEFLOAT16 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DNRF5340_XXAA_NETWORK -DUSE_PARTITION_MANAGER=1 -DVALIDATION_INFO_MAGIC=0x281ee6de,0x86518483,79106 -DVALIDATION_POINTER_MAGIC=0x281ee6de,0x6919b47e,79106 -DZCBOR_STOP_ON_ERROR -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.4.2/zephyr/kernel/include -IC:/ncs/v2.4.2/zephyr/arch/arm/include -IC:/ncs/v2.4.2/nrf/drivers/mpsl/clock_control -IC:/ncs/v2.4.2/zephyr/include -Izephyr/include/generated -IC:/ncs/v2.4.2/zephyr/soc/arm/nordic_nrf/nrf53 -IC:/ncs/v2.4.2/zephyr/lib/libc/newlib/include -IC:/ncs/v2.4.2/zephyr/soc/arm/nordic_nrf/common/. -IC:/ncs/v2.4.2/zephyr/subsys/bluetooth -IC:/ncs/v2.4.2/nrf/include -IC:/ncs/v2.4.2/nrf/lib/multithreading_lock/. -IC:/ncs/v2.4.2/nrf/subsys/bluetooth/controller/. -IC:/ncs/v2.4.2/nrf/subsys/nrf_rpc/include -IC:/ncs/v2.4.2/nrf/tests/include -IC:/ncs/v2.4.2/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.4.2/modules/hal/cmsis/CMSIS/DSP/Include -IC:/ncs/v2.4.2/modules/hal/nordic/nrfx -IC:/ncs/v2.4.2/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.4.2/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.4.2/zephyr/modules/hal_nordic/nrfx/. -Imodules/libmetal/libmetal/lib/include -IC:/ncs/v2.4.2/modules/lib/open-amp/open-amp/lib/include -IC:/ncs/v2.4.2/modules/crypto/tinycrypt/lib/include -IC:/ncs/v2.4.2/modules/lib/zcbor/include -IC:/ncs/v2.4.2/nrfxlib/mpsl/include -IC:/ncs/v2.4.2/nrfxlib/mpsl/include/protocol -IC:/ncs/v2.4.2/nrfxlib/nrf_rpc/include -IC:/ncs/v2.4.2/nrfxlib/nrf_dm/include -IC:/ncs/v2.4.2/nrfxlib/softdevice_controller/include -fno-strict-aliasing -Os -imacros C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/hci_rpmsg/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33+nodsp -mthumb -mabi=aapcs --sysroot=C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.4.2/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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:/ncs/v2.4.2/zephyr/samples/bluetooth/hci_rpmsg=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.4.2/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.4.2=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/nrf/subsys/dm/dm_io.c.obj -MF zephyr\CMakeFiles\zephyr.dir\C_\ncs\v2.4.2\nrf\subsys\dm\dm_io.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/nrf/subsys/dm/dm_io.c.obj -c C:/ncs/v2.4.2/nrf/subsys/dm/dm_io.c
In file included from C:\ncs\v2.4.2\zephyr\include\zephyr\toolchain.h:50,
from C:\ncs\v2.4.2\zephyr\include\zephyr\kernel_includes.h:19,
from C:\ncs\v2.4.2\zephyr\include\zephyr\kernel.h:17,
from C:\ncs\v2.4.2\nrf\subsys\dm\dm_io.h:10,
from C:\ncs\v2.4.2\nrf\subsys\dm\dm_io.c:7:
C:\ncs\v2.4.2\zephyr\include\zephyr\toolchain\gcc.h:81:36: error: static assertion failed: "You must set the gpios property in the /dm_gpio/dm-ranging node to enable GPIO Debug."
81 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert(EXPR, "" MSG)
| ^~~~~~~~~~~~~~
C:\ncs\v2.4.2\nrf\subsys\dm\dm_io.c:15:1: note: in expansion of macro 'BUILD_ASSERT'
15 | BUILD_ASSERT(HAS_ADD_REQUEST_GPIO,
| ^~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\toolchain\gcc.h:81:36: error: static assertion failed: "You must set the gpios property in the /dm_gpio/dm-add-request node to enable GPIO Debug."
81 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert(EXPR, "" MSG)
| ^~~~~~~~~~~~~~
C:\ncs\v2.4.2\nrf\subsys\dm\dm_io.c:17:1: note: in expansion of macro 'BUILD_ASSERT'
17 | BUILD_ASSERT(HAS_RANGING_GPIO,
| ^~~~~~~~~~~~
In file included from C:\ncs\v2.4.2\zephyr\include\zephyr\toolchain\gcc.h:92:
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:84:41: error: '__device_dts_ord_DT_N_NODELABEL_dm_ranging_P_gpios_IDX_0_PH_ORD' undeclared here (not in a function)
84 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
| ^~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\toolchain\common.h:132:26: note: in definition of macro '_DO_CONCAT'
132 | #define _DO_CONCAT(x, y) x ## y
| ^
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:84:33: note: in expansion of macro '_CONCAT'
84 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
| ^~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:210:37: note: in expansion of macro 'DEVICE_NAME_GET'
210 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
| ^~~~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:227:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
227 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
| ^~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\drivers\gpio.h:331:25: note: in expansion of macro 'DEVICE_DT_GET'
331 | .port = DEVICE_DT_GET(DT_GPIO_CTLR_BY_IDX(node_id, prop, idx)),\
| ^~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\drivers\gpio.h:367:9: note: in expansion of macro 'GPIO_DT_SPEC_GET_BY_IDX'
367 | GPIO_DT_SPEC_GET_BY_IDX(node_id, prop, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.2\nrf\subsys\dm\dm_io.c:23:50: note: in expansion of macro 'GPIO_DT_SPEC_GET'
23 | static const struct gpio_dt_spec dm_io_ranging = GPIO_DT_SPEC_GET(DM_IO_RANGING_NODE, gpios);
| ^~~~~~~~~~~~~~~~
In file included from C:\ncs\v2.4.2\zephyr\include\zephyr\arch\arm\aarch32\arch.h:20,
from C:\ncs\v2.4.2\zephyr\include\zephyr\arch\cpu.h:19,
from C:\ncs\v2.4.2\zephyr\include\zephyr\kernel_includes.h:33:
C:\ncs\v2.4.2\zephyr\include\zephyr\devicetree.h:192:36: error: 'DT_N_NODELABEL_dm_ranging_P_gpios_IDX_0_VAL_pin' undeclared here (not in a function)
192 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
| ^~~~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\devicetree.h:4060:9: note: in definition of macro 'DT_CAT7'
4060 | a1 ## a2 ## a3 ## a4 ## a5 ## a6 ## a7
| ^~
C:\ncs\v2.4.2\zephyr\include\zephyr\devicetree\gpio.h:164:9: note: in expansion of macro 'DT_PHA_BY_IDX'
164 | DT_PHA_BY_IDX(node_id, gpio_pha, idx, pin)
| ^~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\drivers\gpio.h:332:24: note: in expansion of macro 'DT_GPIO_PIN_BY_IDX'
332 | .pin = DT_GPIO_PIN_BY_IDX(node_id, prop, idx), \
| ^~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\drivers\gpio.h:367:9: note: in expansion of macro 'GPIO_DT_SPEC_GET_BY_IDX'
367 | GPIO_DT_SPEC_GET_BY_IDX(node_id, prop, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.2\nrf\subsys\dm\dm_io.c:23:50: note: in expansion of macro 'GPIO_DT_SPEC_GET'
23 | static const struct gpio_dt_spec dm_io_ranging = GPIO_DT_SPEC_GET(DM_IO_RANGING_NODE, gpios);
| ^~~~~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\devicetree.h:192:29: note: in expansion of macro 'DT_CAT'
192 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
| ^~~~~~
C:\ncs\v2.4.2\nrf\subsys\dm\dm_io.c:20:33: note: in expansion of macro 'DT_NODELABEL'
20 | #define DM_IO_RANGING_NODE DT_NODELABEL(dm_ranging)
| ^~~~~~~~~~~~
C:\ncs\v2.4.2\nrf\subsys\dm\dm_io.c:23:67: note: in expansion of macro 'DM_IO_RANGING_NODE'
23 | static const struct gpio_dt_spec dm_io_ranging = GPIO_DT_SPEC_GET(DM_IO_RANGING_NODE, gpios);
| ^~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:84:41: error: '__device_dts_ord_DT_N_NODELABEL_dm_add_request_P_gpios_IDX_0_PH_ORD' undeclared here (not in a function)
84 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
| ^~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\toolchain\common.h:132:26: note: in definition of macro '_DO_CONCAT'
132 | #define _DO_CONCAT(x, y) x ## y
| ^
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:84:33: note: in expansion of macro '_CONCAT'
84 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
| ^~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:210:37: note: in expansion of macro 'DEVICE_NAME_GET'
210 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
| ^~~~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\device.h:227:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
227 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
| ^~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\drivers\gpio.h:331:25: note: in expansion of macro 'DEVICE_DT_GET'
331 | .port = DEVICE_DT_GET(DT_GPIO_CTLR_BY_IDX(node_id, prop, idx)),\
| ^~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\drivers\gpio.h:367:9: note: in expansion of macro 'GPIO_DT_SPEC_GET_BY_IDX'
367 | GPIO_DT_SPEC_GET_BY_IDX(node_id, prop, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.2\nrf\subsys\dm\dm_io.c:25:46: note: in expansion of macro 'GPIO_DT_SPEC_GET'
25 | GPIO_DT_SPEC_GET(DM_IO_ADD_REQUEST_NODE, gpios);
| ^~~~~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\devicetree.h:192:36: error: 'DT_N_NODELABEL_dm_add_request_P_gpios_IDX_0_VAL_pin' undeclared here (not in a function)
192 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
| ^~~~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\devicetree.h:4060:9: note: in definition of macro 'DT_CAT7'
4060 | a1 ## a2 ## a3 ## a4 ## a5 ## a6 ## a7
| ^~
C:\ncs\v2.4.2\zephyr\include\zephyr\devicetree\gpio.h:164:9: note: in expansion of macro 'DT_PHA_BY_IDX'
164 | DT_PHA_BY_IDX(node_id, gpio_pha, idx, pin)
| ^~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\drivers\gpio.h:332:24: note: in expansion of macro 'DT_GPIO_PIN_BY_IDX'
332 | .pin = DT_GPIO_PIN_BY_IDX(node_id, prop, idx), \
| ^~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\drivers\gpio.h:367:9: note: in expansion of macro 'GPIO_DT_SPEC_GET_BY_IDX'
367 | GPIO_DT_SPEC_GET_BY_IDX(node_id, prop, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.4.2\nrf\subsys\dm\dm_io.c:25:46: note: in expansion of macro 'GPIO_DT_SPEC_GET'
25 | GPIO_DT_SPEC_GET(DM_IO_ADD_REQUEST_NODE, gpios);
| ^~~~~~~~~~~~~~~~
C:\ncs\v2.4.2\zephyr\include\zephyr\devicetree.h:192:29: note: in expansion of macro 'DT_CAT'
192 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
| ^~~~~~
C:\ncs\v2.4.2\nrf\subsys\dm\dm_io.c:21:33: note: in expansion of macro 'DT_NODELABEL'
21 | #define DM_IO_ADD_REQUEST_NODE DT_NODELABEL(dm_add_request)
| ^~~~~~~~~~~~
C:\ncs\v2.4.2\nrf\subsys\dm\dm_io.c:25:63: note: in expansion of macro 'DM_IO_ADD_REQUEST_NODE'
25 | GPIO_DT_SPEC_GET(DM_IO_ADD_REQUEST_NODE, gpios);
| ^~~~~~~~~~~~~~~~~~~~~~
[54/456] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/rpa.c.obj
ninja: build stopped: subcommand failed.
[61/503] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/nrf/subsys/dm/dm.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/nrf/subsys/dm/dm.c.obj
C:\ncs\toolchains\31f4403e35\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DARM_ALL_FAST_TABLES -DARM_ALL_FFT_TABLES -DARM_DSP_CONFIG_TABLES -DARM_FAST_ALLOW_TABLES -DARM_FFT_ALLOW_TABLES -DARM_TABLE_BITREVIDX_FLT64_1024 -DARM_TABLE_BITREVIDX_FLT64_128 -DARM_TABLE_BITREVIDX_FLT64_16 -DARM_TABLE_BITREVIDX_FLT64_2048 -DARM_TABLE_BITREVIDX_FLT64_256 -DARM_TABLE_BITREVIDX_FLT64_32 -DARM_TABLE_BITREVIDX_FLT64_4096 -DARM_TABLE_BITREVIDX_FLT64_512 -DARM_TABLE_BITREVIDX_FLT64_64 -DARM_TABLE_BITREVIDX_FLT_1024 -DARM_TABLE_BITREVIDX_FLT_128 -DARM_TABLE_BITREVIDX_FLT_16 -DARM_TABLE_BITREVIDX_FLT_2048 -DARM_TABLE_BITREVIDX_FLT_256 -DARM_TABLE_BITREVIDX_FLT_32 -DARM_TABLE_BITREVIDX_FLT_4096 -DARM_TABLE_BITREVIDX_FLT_512 -DARM_TABLE_BITREVIDX_FLT_64 -DARM_TABLE_BITREVIDX_FXT_1024 -DARM_TABLE_BITREVIDX_FXT_128 -DARM_TABLE_BITREVIDX_FXT_16 -DARM_TABLE_BITREVIDX_FXT_2048 -DARM_TABLE_BITREVIDX_FXT_256 -DARM_TABLE_BITREVIDX_FXT_32 -DARM_TABLE_BITREVIDX_FXT_4096 -DARM_TABLE_BITREVIDX_FXT_512 -DARM_TABLE_BITREVIDX_FXT_64 -DARM_TABLE_BITREV_1024 -DARM_TABLE_DCT4_F32_128 -DARM_TABLE_DCT4_F32_2048 -DARM_TABLE_DCT4_F32_512 -DARM_TABLE_DCT4_F32_8192 -DARM_TABLE_DCT4_Q15_128 -DARM_TABLE_DCT4_Q15_2048 -DARM_TABLE_DCT4_Q15_512 -DARM_TABLE_DCT4_Q15_8192 -DARM_TABLE_DCT4_Q31_128 -DARM_TABLE_DCT4_Q31_2048 -DARM_TABLE_DCT4_Q31_512 -DARM_TABLE_DCT4_Q31_8192 -DARM_TABLE_REALCOEF_F32 -DARM_TABLE_REALCOEF_Q15 -DARM_TABLE_REALCOEF_Q31 -DARM_TABLE_RECIP_Q15 -DARM_TABLE_RECIP_Q31 -DARM_TABLE_SIN_F32 -DARM_TABLE_SIN_Q15 -DARM_TABLE_SIN_Q31 -DARM_TABLE_TWIDDLECOEF_F16_1024 -DARM_TABLE_TWIDDLECOEF_F16_128 -DARM_TABLE_TWIDDLECOEF_F16_16 -DARM_TABLE_TWIDDLECOEF_F16_2048 -DARM_TABLE_TWIDDLECOEF_F16_256 -DARM_TABLE_TWIDDLECOEF_F16_32 -DARM_TABLE_TWIDDLECOEF_F16_4096 -DARM_TABLE_TWIDDLECOEF_F16_512 -DARM_TABLE_TWIDDLECOEF_F16_64 -DARM_TABLE_TWIDDLECOEF_F32_1024 -DARM_TABLE_TWIDDLECOEF_F32_128 -DARM_TABLE_TWIDDLECOEF_F32_16 -DARM_TABLE_TWIDDLECOEF_F32_2048 -DARM_TABLE_TWIDDLECOEF_F32_256 -DARM_TABLE_TWIDDLECOEF_F32_32 -DARM_TABLE_TWIDDLECOEF_F32_4096 -DARM_TABLE_TWIDDLECOEF_F32_512 -DARM_TABLE_TWIDDLECOEF_F32_64 -DARM_TABLE_TWIDDLECOEF_F64_1024 -DARM_TABLE_TWIDDLECOEF_F64_128 -DARM_TABLE_TWIDDLECOEF_F64_16 -DARM_TABLE_TWIDDLECOEF_F64_2048 -DARM_TABLE_TWIDDLECOEF_F64_256 -DARM_TABLE_TWIDDLECOEF_F64_32 -DARM_TABLE_TWIDDLECOEF_F64_4096 -DARM_TABLE_TWIDDLECOEF_F64_512 -DARM_TABLE_TWIDDLECOEF_F64_64 -DARM_TABLE_TWIDDLECOEF_Q15_1024 -DARM_TABLE_TWIDDLECOEF_Q15_128 -DARM_TABLE_TWIDDLECOEF_Q15_16 -DARM_TABLE_TWIDDLECOEF_Q15_2048 -DARM_TABLE_TWIDDLECOEF_Q15_256 -DARM_TABLE_TWIDDLECOEF_Q15_32 -DARM_TABLE_TWIDDLECOEF_Q15_4096 -DARM_TABLE_TWIDDLECOEF_Q15_512 -DARM_TABLE_TWIDDLECOEF_Q15_64 -DARM_TABLE_TWIDDLECOEF_Q31_1024 -DARM_TABLE_TWIDDLECOEF_Q31_128 -DARM_TABLE_TWIDDLECOEF_Q31_16 -DARM_TABLE_TWIDDLECOEF_Q31_2048 -DARM_TABLE_TWIDDLECOEF_Q31_256 -DARM_TABLE_TWIDDLECOEF_Q31_32 -DARM_TABLE_TWIDDLECOEF_Q31_4096 -DARM_TABLE_TWIDDLECOEF_Q31_512 -DARM_TABLE_TWIDDLECOEF_Q31_64 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_1024 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_128 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_2048 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_256 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_32 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_4096 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_512 -DARM_TABLE_TWIDDLECOEF_RFFT_F16_64 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_1024 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_128 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_2048 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_256 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_32 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_4096 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_512 -DARM_TABLE_TWIDDLECOEF_RFFT_F32_64 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_1024 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_128 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_2048 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_256 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_32 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_4096 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_512 -DARM_TABLE_TWIDDLECOEF_RFFT_F64_64 -DDISABLEFLOAT16 -DKERNEL -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.4.2/zephyr/kernel/include -IC:/ncs/v2.4.2/zephyr/arch/arm/include -IC:/ncs/v2.4.2/zephyr/include -Izephyr/include/generated -IC:/ncs/v2.4.2/zephyr/soc/arm/nordic_nrf/nrf53 -IC:/ncs/v2.4.2/zephyr/lib/libc/newlib/include -IC:/ncs/v2.4.2/zephyr/soc/arm/nordic_nrf/common/. -IC:/ncs/v2.4.2/zephyr/subsys/usb/device -IC:/ncs/v2.4.2/zephyr/subsys/bluetooth -IC:/ncs/v2.4.2/nrf/include -IC:/ncs/v2.4.2/nrf/tests/include -IC:/ncs/v2.4.2/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.4.2/modules/hal/cmsis/CMSIS/DSP/Include -IC:/ncs/v2.4.2/modules/hal/nordic/nrfx -IC:/ncs/v2.4.2/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.4.2/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.4.2/zephyr/modules/hal_nordic/nrfx/. -Imodules/libmetal/libmetal/lib/include -IC:/ncs/v2.4.2/modules/lib/open-amp/open-amp/lib/include -IC:/ncs/v2.4.2/modules/crypto/tinycrypt/lib/include -IC:/ncs/v2.4.2/nrfxlib/nrf_dm/include -IC:/ncs/v2.4.2/nrfxlib/softdevice_controller/include -isystem C:/ncs/v2.4.2/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros C:/nordic/myApps/nrf_dm_4/build_thingy53_nrf5340_cpuapp/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfpu=fpv5-sp-d16 -mfloat-abi=hard --sysroot=C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.4.2/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -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:/nordic/myApps/nrf_dm_4=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.4.2/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.4.2=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/nrf/subsys/dm/dm.c.obj -MF zephyr\CMakeFiles\zephyr.dir\C_\ncs\v2.4.2\nrf\subsys\dm\dm.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/nrf/subsys/dm/dm.c.obj -c C:/ncs/v2.4.2/nrf/subsys/dm/dm.c
C:\ncs\v2.4.2\nrf\subsys\dm\dm.c:14:10: fatal error: mpsl_timeslot.h: No such file or directory
14 | #include <mpsl_timeslot.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
[69/503] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.4.2/modules/crypto/tinycrypt/lib/source/cmac_mode.c.obj
FAILED: modules/nrf/samples/hci_rpmsg_subimage-prefix/src/hci_rpmsg_subimage-stamp/hci_rpmsg_subimage-build hci_rpmsg/zephyr/zephyr.hex hci_rpmsg/zephyr/zephyr.elf hci_rpmsg/zephyr/merged_CPUNET.hex
cmd.exe /C "cd /D C:\nordic\myApps\nrf_dm_4\build_thingy53_nrf5340_cpuapp\hci_rpmsg && C:\ncs\toolchains\31f4403e35\opt\bin\cmake.exe --build . --"
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\31f4403e35\opt\bin\cmake.EXE' --build 'C:\nordic\myApps\nrf_dm_4\build_thingy53_nrf5340_cpuapp'

* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.

IMPORTANT: The data below could contain sensitive or confidential information about your environment.
If you do not wish this to be seen by others, please make sure to remove it before sharing.

For help and support, visit the Nordic DevZone at https://devzone.nordicsemi.com/.

{
  "platform": {
    "os": "win32",
    "osVersion": "Windows 10 Home",
    "osKernel": "10.0.22621",
    "vscode": "1.82.2",
    "electron": "25.8.1",
    "node": "v18.15.0"
  },
  "system": {
    "date": "2023-09-16T01:42:25.325Z",
    "vscodeRoot": "c:\\Users\\mej\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
    "nrfConnectForDesktopInstalled": true,
    "vscodeUptime": "00:01:54",
    "osUptime": "28:43:22",
    "cpu": {
      "model": "11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz",
      "speed": "2803 MHz",
      "count": 4
    },
    "memory": {
      "total": "15.68 GB",
      "free": "5.86 GB"
    }
  },
  "workspace": {
    "name": "nrf_dm",
    "workspaceFile": null,
    "folders": [
      "c:\\ncs\\v2.4.2\\nrf\\samples\\bluetooth\\nrf_dm"
    ]
  },
  "extensions": {
    "internal": {
      "nordic-semiconductor.nrf-connect": {
        "version": "2023.9.169",
        "path": "c:\\Users\\mej\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2023.9.169-win32-x64",
        "isActive": true
      },
      "nordic-semiconductor.nrf-terminal": {
        "version": "2023.9.29",
        "path": "c:\\Users\\mej\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2023.9.29",
        "isActive": true
      },
      "nordic-semiconductor.nrf-devicetree": {
        "version": "2023.9.57",
        "path": "c:\\Users\\mej\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2023.9.57",
        "isActive": true
      },
      "nordic-semiconductor.nrf-kconfig": {
        "version": "2023.9.31",
        "path": "c:\\Users\\mej\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2023.9.31",
        "isActive": true
      }
    },
    "external": {
      "marus25.cortex-debug": "1.12.1",
      "ms-vscode.cpptools": "1.17.5",
      "ms-vscode-remote.remote-wsl-recommender": "0.0.19",
      "ms-vscode.js-debug": "1.82.0",
      "ms-vscode.js-debug-companion": "1.1.2",
      "ms-vscode.vscode-js-profile-table": "1.0.3",
      "cschlosser.doxdocgen": "1.4.0",
      "Dart-Code.dart-code": "3.72.2",
      "Dart-Code.flutter": "3.72.0",
      "emmanuelbeziat.vscode-great-icons": "2.1.98",
      "FernandoKuteken.verbatim-tools": "0.0.1",
      "jeff-hykin.better-cpp-syntax": "1.17.2",
      "mcu-debug.debug-tracker-vscode": "0.0.15",
      "mcu-debug.memory-view": "0.0.24",
      "mcu-debug.peripheral-viewer": "1.4.6",
      "mcu-debug.rtos-views": "0.0.7",
      "mrverdant13.esp32-pm": "0.1.0",
      "ms-dotnettools.csharp": "2.1.2",
      "ms-dotnettools.vscode-dotnet-runtime": "1.7.3",
      "ms-python.isort": "2023.10.1",
      "ms-python.python": "2023.16.0",
      "ms-python.vscode-pylance": "2023.9.10",
      "ms-toolsai.jupyter": "2023.8.1002501831",
      "ms-toolsai.jupyter-keymap": "1.1.2",
      "ms-toolsai.jupyter-renderers": "1.0.17",
      "ms-toolsai.vscode-jupyter-cell-tags": "0.1.8",
      "ms-toolsai.vscode-jupyter-slideshow": "0.1.5",
      "ms-vscode.cmake-tools": "1.15.31",
      "ms-vscode.cpptools-extension-pack": "1.3.0",
      "ms-vscode.cpptools-themes": "2.0.0",
      "ms-vscode.vscode-serial-monitor": "0.10.0",
      "pdconsec.vscode-print": "0.11.15",
      "trond-snekvik.gnu-mapfiles": "1.1.0",
      "twxs.cmake": "0.0.17",
      "vsciot-vscode.vscode-arduino": "0.6.0",
      "vscjava.vscode-gradle": "3.12.7"
    }
  },
  "tools": {
    "C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.16.0",
    "C:\\Program Files\\SEGGER\\JLink\\JLink.exe": "7.88j",
    "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.23.0",
    "nrfutil": "Not found",
    "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\cmake.exe": "3.20.5",
    "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\Scripts\\west.exe": "1.0.0",
    "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\python.exe": "3.8.2",
    "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\ninja.exe": "1.9.0",
    "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\gperf.exe": "3.1",
    "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\dtc.exe": "1.4.7",
    "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\gn.exe": "2105",
    "C:\\ncs\\toolchains\\31f4403e35\\mingw64\\bin\\git.exe": "2.37.3.windows.1",
    "gdbPath": "c:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe"
  },
  "sdks": [
    {
      "version": "2.4.2",
      "path": "c:\\ncs\\v2.4.2"
    }
  ],
  "toolchains": [
    {
      "version": "2.4.2",
      "path": "c:\\ncs\\toolchains\\31f4403e35"
    }
  ],
  "connectedDevices": [],
  "deviceProvider": "nrfutil",
  "config": {
    "nordic-semiconductor.nrf-connect": {
      "topdir": "${nrf-connect.sdk:2.4.1}",
      "toolchain": {
        "path": "${nrf-connect.toolchain:2.4.2}"
      },
      "ozonePath": "",
      "applications": [],
      "applicationOptions": {},
      "kconfig": {
        "interface": "kconfig",
        "executeInDefaultShell": false
      },
      "welcome": {
        "showOnStartup": false
      },
      "west": {
        "env": {
          "$base": "terminal"
        }
      },
      "boardRoots": [],
      "taskBindings": {},
      "debugging": {
        "flash": true,
        "bindings": {}
      },
      "activeAppFollowActiveEditor": true,
      "deviceProvider": "nrfutil",
      "enableTelemetry": false,
      "thirdpartyIntegration": {},
      "toolchainManager": {
        "indexURL": null,
        "installDirectory": null
      },
      "nrfutil": {
        "home": null
      }
    },
    "nordic-semiconductor.nrf-terminal": {
      "terminalMode": "character"
    },
    "marus25.cortex-debug": {
      "variableUseNaturalFormat": true,
      "liveWatchRefreshRate": "300",
      "armToolchainPath": null,
      "armToolchainPrefix": "arm-none-eabi",
      "gdbPath": null,
      "objdumpPath": null,
      "JLinkGDBServerPath": null,
      "openocdPath": null,
      "pyocdPath": null,
      "PEGDBServerPath": null,
      "stutilPath": null,
      "stlinkPath": null,
      "stm32cubeprogrammer": null,
      "enableTelemetry": true,
      "dbgServerLogfile": null
    }
  },
  "environment": {
    "westEnv": {
      "ELECTRON_RUN_AS_NODE": "1",
      "HOME": "C:\\Users\\mej",
      "HOMEDRIVE": "C:",
      "HOMEPATH": "\\Users\\mej",
      "PATH": "C:\\ncs\\toolchains\\31f4403e35;C:\\ncs\\toolchains\\31f4403e35\\mingw64\\bin;C:\\ncs\\toolchains\\31f4403e35\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\Scripts;C:\\ncs\\toolchains\\31f4403e35\\opt\\nanopb\\generator-bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\aarch64-zephyr-elf\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\x86_64-zephyr-elf\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin;c:\\Users\\mej\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2023.9.169-win32-x64\\platform\\nrfutil\\lib\\nrfutil-toolchain-manager;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Microchip\\xc8\\v2.41\\bin;C:\\Program Files\\Microchip\\xc32\\v4.21\\bin;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\CMake\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Users\\mej\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\mej\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\mej\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\mej\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\mej\\AppData\\Local\\Programs\\Git\\cmd;C:\\Program Files\\CMake\\bin;",
      "ZEPHYR_BASE": "c:\\ncs\\v2.4.2\\zephyr",
      "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
      "ZEPHYR_SDK_INSTALL_DIR": "C:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk",
      "PYTHONPATH": "C:\\ncs\\toolchains\\31f4403e35\\opt\\bin;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\Lib;C:\\ncs\\toolchains\\31f4403e35\\opt\\bin\\Lib\\site-packages"
    },
    "inherited": {
      "ELECTRON_RUN_AS_NODE": "1",
      "HOME": "C:\\Users\\mej",
      "HOMEDRIVE": "C:",
      "HOMEPATH": "\\Users\\mej",
      "Path": "C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Microchip\\xc8\\v2.41\\bin;C:\\Program Files\\Microchip\\xc32\\v4.21\\bin;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\CMake\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Users\\mej\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\mej\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\mej\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\mej\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\mej\\AppData\\Local\\Programs\\Git\\cmd;C:\\Program Files\\CMake\\bin;",
      "PATH": "C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Microchip\\xc8\\v2.41\\bin;C:\\Program Files\\Microchip\\xc32\\v4.21\\bin;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\CMake\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Users\\mej\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\mej\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\mej\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\mej\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\mej\\AppData\\Local\\Programs\\Git\\cmd;C:\\Program Files\\CMake\\bin;"
    },
    "toolchainPath": "c:\\ncs\\toolchains\\31f4403e35",
    "toolchainBinPath": "c:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin",
    "toolchainVersion": "2.4.2"
  },
  "terminal": {
    "defaultProfile": null
  }
}

 nrf_dm attempts.zip

  • No Thingy53. That makes sense. Thanks. 

    1. This build is straight out of the samples, using the nrf5340dk board. No code revisions. I am concerned my environment is not setup correctly because it's generating 10 warnings, some that look fairly serious...
    2. Is there any way for me to improve my IDE environment so that I generate less Warnings?
    3. I always have to "scan for kits", but "no kit selected" is always returned in the bottom toolbar. Is that something I should be concerned about?

    [{
    "resource": "/../../../CMakeLists.txt",
    "owner": "nrf-connect",
    "severity": 4,
    "message": "No SOURCES given to Zephyr library: lib__libc__common",
    "source": "cmake",
    "startLineNumber": 839,
    "startColumn": 1,
    "endLineNumber": 839,
    "endColumn": 2147483647
    },{
    "resource": "/c:/ncs/v2.4.2/nrf/subsys/dm/dm.c",
    "owner": "cpptools",
    "severity": 4,
    "message": "#warning \"The ncs,dm-timer chosen node is not set; defaulting to TIMER2\" [-Wcpp]",
    "source": "gcc",
    "startLineNumber": 43,
    "startColumn": 2,
    "endLineNumber": 43,
    "endColumn": 2
    },{
    "resource": "/c:/ncs/v2.4.2/zephyr/CMakeLists.txt",
    "owner": "nrf-connect",
    "severity": 4,
    "message": "No SOURCES given to Zephyr library: lib__libc__common",
    "source": "cmake",
    "startLineNumber": 839,
    "startColumn": 1,
    "endLineNumber": 839,
    "endColumn": 2147483647
    },{
    "resource": "/c:/ncs/v2.4.2/zephyr/CMakeLists.txt",
    "owner": "nrf-connect",
    "severity": 4,
    "message": "__ASSERT() statements are globally ENABLED",
    "source": "cmake",
    "startLineNumber": 1865,
    "startColumn": 1,
    "endLineNumber": 1865,
    "endColumn": 2147483647
    },{
    "resource": "/c:/nordic/myApps/nrf_dm_4/boards/nrf5340dk_nrf5340_cpuapp.conf",
    "owner": "kconfig0",
    "severity": 4,
    "message": "CONFIG_MPSL was assigned the value n, but got the value n. Missing dependencies:\nSOC_SERIES_BSIM_NRFXX || SOC_SERIES_NRF52X || SOC_NRF5340_CPUNET",
    "startLineNumber": 12,
    "startColumn": 1,
    "endLineNumber": 12,
    "endColumn": 12
    },{
    "resource": "/c:/nordic/myApps/nrf_dm_4/child_image/hci_rpmsg.conf",
    "owner": "kconfig0",
    "severity": 4,
    "message": "MAIN_STACK_SIZE set more than once. Old value \"512\", new value \"680\".",
    "startLineNumber": 20,
    "startColumn": 1,
    "endLineNumber": 20,
    "endColumn": 27,
    "relatedInformation": [
    {
    "startLineNumber": 6,
    "startColumn": 1,
    "endLineNumber": 6,
    "endColumn": 23,
    "message": "Already set to \"512\" here",
    "resource": "/c:/ncs/v2.4.2/zephyr/samples/bluetooth/hci_rpmsg/prj.conf"
    }
    ]
    },{
    "resource": "/c:/nordic/myApps/nrf_dm_4/child_image/hci_rpmsg.conf",
    "owner": "kconfig0",
    "severity": 4,
    "message": "HEAP_MEM_POOL_SIZE set more than once. Old value \"8192\", new value \"2048\".",
    "startLineNumber": 27,
    "startColumn": 1,
    "endLineNumber": 27,
    "endColumn": 31,
    "relatedInformation": [
    {
    "startLineNumber": 4,
    "startColumn": 1,
    "endLineNumber": 4,
    "endColumn": 26,
    "message": "Already set to \"8192\" here",
    "resource": "/c:/ncs/v2.4.2/zephyr/samples/bluetooth/hci_rpmsg/prj.conf"
    }
    ]
    },{
    "resource": "/c:/nordic/myApps/nrf_dm_4/prj.conf",
    "owner": "kconfig0",
    "severity": 4,
    "message": "CONFIG_MPSL was assigned the value y, but got the value n. Missing dependencies:\nSOC_SERIES_BSIM_NRFXX || SOC_SERIES_NRF52X || SOC_NRF5340_CPUNET",
    "startLineNumber": 30,
    "startColumn": 1,
    "endLineNumber": 30,
    "endColumn": 12
    }]

  • Hi,

    I'm seeing these warnings for this sample when building for nRF53-DK as well.

    I will report this to the nrf_dm developers.

  • Thanks! That is good to know. Helps me qualify that maybe my installation is better than I thought... 

    Is there a good way to start nrf_dm development now? Is there is a "best" dk that specifically works well with nrf_dm?

    Eventually I was planning to use the nrf5340 in production because it has the memory to do the higher end distance calculations and seems to have the best power profile, but as long as I can develop successfully on something now I can move the project forward with the client.

    If the nrf_dm team revises the example to make it more nrf5340dk friendly is there a good way to get notified when they are done? Do you have any sense of how long that might take? Weeks/Months?

  • mej7000 said:

    Is there a good way to start nrf_dm development now? Is there is a "best" dk that specifically works well with nrf_dm?

    Eventually I was planning to use the nrf5340 in production because it has the memory to do the higher end distance calculations and seems to have the best power profile, but as long as I can develop successfully on something now I can move the project forward with the client.

    If the nrf_dm team revises the example to make it more nrf5340dk friendly is there a good way to get notified when they are done? Do you have any sense of how long that might take? Weeks/Months?

    The sample should work fine on the nRF5340-DK. There are some warnings when building, yes, but I don't see why that should stop you from going forward with developing your project with the nRF5340.

Related