D:/svenh/Documents/Programmieren/Zepyhr/sit_dwm3001/sit/drivers/dw3110/platform/deca_spi.c: In function ‘dw3000_spi_init’:
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\sit\drivers\dw3110\platform\deca_spi.c:41:20: warning: Macro is deprecated
41 | spi = device_get_binding(DT_LABEL(DW_SPI));
| ^~~~~~~~~~~~~~~~~~~~~
In file included from D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\device.h:38,
from D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\sit\drivers\dw3110\platform\deca_spi.c:7:
d:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\sit\samples\decawave_examples\ex_00a_reading_dev_id\build\zephyr\include\generated\devicetree_generated.h:12506:53: error: ‘DT_N_S_soc_S_spi_40023000_P_label’ undeclared (first use in this function); did you mean ‘DT_N_S_soc_S_spi_40023000_P_reg’?
12506 | #define DT_N_S_soc_S_spi_40023000_S_dw3110_0_PARENT DT_N_S_soc_S_spi_40023000
| ^~~~~~~~~~~~~~~~~~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\devicetree.h:3892:29: note: in definition of macro ‘DT_CAT3’
3892 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
| ^~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\devicetree.h:773:27: note: in expansion of macro ‘DT_PROP’
773 | #define DT_LABEL(node_id) DT_PROP(node_id, label) __DEPRECATED_MACRO
| ^~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\sit\drivers\dw3110\platform\deca_spi.c:41:34: note: in expansion of macro ‘DT_LABEL’
41 | spi = device_get_binding(DT_LABEL(DW_SPI));
| ^~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\sys\util_internal.h:105:36: note: in expansion of macro ‘DT_N_S_soc_S_spi_40023000_S_dw3110_0_PARENT’
105 | #define UTIL_PRIMITIVE_CAT(a, …) a##VA_ARGS
| ^
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\sys\util_internal.h:104:26: note: in expansion of macro ‘UTIL_PRIMITIVE_CAT’
104 | #define UTIL_CAT(a, …) UTIL_PRIMITIVE_CAT(a, VA_ARGS)
| ^~~~~~~~~~~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\devicetree.h:351:28: note: in expansion of macro ‘UTIL_CAT’
351 | #define DT_PARENT(node_id) UTIL_CAT(node_id, _PARENT)
| ^~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\sit\drivers\dw3110\platform\deca_spi.c:21:17: note: in expansion of macro ‘DT_PARENT’
21 | #define DW_SPI DT_PARENT(DT_INST(0, qorvo_dw3110))
| ^~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\sys\util_internal.h:105:36: note: in expansion of macro ‘DT_N_INST_0_qorvo_dw3110’
105 | #define UTIL_PRIMITIVE_CAT(a, …) a##VA_ARGS
| ^
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\sys\util_internal.h:104:26: note: in expansion of macro ‘UTIL_PRIMITIVE_CAT’
104 | #define UTIL_CAT(a, …) UTIL_PRIMITIVE_CAT(a, VA_ARGS)
| ^~~~~~~~~~~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\devicetree.h:326:31: note: in expansion of macro ‘UTIL_CAT’
326 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
| ^~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\sit\drivers\dw3110\platform\deca_spi.c:21:27: note: in expansion of macro ‘DT_INST’
21 | #define DW_SPI DT_PARENT(DT_INST(0, qorvo_dw3110))
| ^~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\sit\drivers\dw3110\platform\deca_spi.c:41:43: note: in expansion of macro ‘DW_SPI’
41 | spi = device_get_binding(DT_LABEL(DW_SPI));
| ^~~~~~
d:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\sit\samples\decawave_examples\ex_00a_reading_dev_id\build\zephyr\include\generated\devicetree_generated.h:12506:53: note: each undeclared identifier is reported only once for each function it appears in
12506 | #define DT_N_S_soc_S_spi_40023000_S_dw3110_0_PARENT DT_N_S_soc_S_spi_40023000
| ^~~~~~~~~~~~~~~~~~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\devicetree.h:3892:29: note: in definition of macro ‘DT_CAT3’
…
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\sys\util_loops.h:23:81: note: in expansion of macro ‘Z_FOR_LOOP_2’
23 | _57, _58, _59, _60, _61, _62, _63, _64, N, …) N
| ^
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\sys\util_loops.h:1072:9: note: in expansion of macro ‘Z_FOR_EACH_ENGINE’
1072 | Z_FOR_EACH_ENGINE(Z_FOR_EACH_IDX_EXEC, sep, F, _, VA_ARGS)
| ^~~~~~~~~~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\sys\util_macro.h:515:9: note: in expansion of macro ‘Z_FOR_EACH_IDX’
515 | Z_FOR_EACH_IDX(F, sep, REVERSE_ARGS(VA_ARGS))
| ^~~~~~~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\sys\cbprintf_internal.h:449:9: note: in expansion of macro ‘FOR_EACH_IDX’
449 | FOR_EACH_IDX(Z_CBPRINTF_PACK_ARG, (;), VA_ARGS);
| ^~~~~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\sys\cbprintf_internal.h:486:9: note: in expansion of macro ‘Z_CBPRINTF_STATIC_PACKAGE_GENERIC’
486 | Z_CBPRINTF_STATIC_PACKAGE_GENERIC(packaged, inlen, outlen,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\sys\cbprintf.h:358:9: note: in expansion of macro ‘Z_CBPRINTF_STATIC_PACKAGE’
358 | Z_CBPRINTF_STATIC_PACKAGE(packaged, inlen, outlen,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\logging\log_msg.h:229:17: note: in expansion of macro ‘CBPRINTF_STATIC_PACKAGE’
229 | CBPRINTF_STATIC_PACKAGE(_msg->data, _plen,
| ^~~~~~~~~~~~~~~~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\logging\log_msg.h:416:17: note: in expansion of macro ‘Z_LOG_MSG2_STACK_CREATE’
416 | Z_LOG_MSG2_STACK_CREATE(_cstr_cnt, _domain_id, _source, _level, _data,
| ^~~~~~~~~~~~~~~~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\logging\log_msg.h:449:9: note: in expansion of macro ‘Z_LOG_MSG2_CREATE3’
449 | Z_LOG_MSG2_CREATE3(_try_0cpy, _mode, _cstr_cnt, _domain_id, _source,
| ^~~~~~~~~~~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\logging\log_msg.h:460:9: note: in expansion of macro ‘Z_LOG_MSG2_CREATE2’
460 | Z_LOG_MSG2_CREATE2(_try_0cpy, mode, UTIL_CAT(Z_LOG_FUNC_PREFIX, _level),
| ^~~~~~~~~~~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\logging\log_core.h:240:9: note: in expansion of macro ‘Z_LOG_MSG2_CREATE’
240 | Z_LOG_MSG2_CREATE(UTIL_NOT(IS_ENABLED(CONFIG_USERSPACE)), _mode,
| ^~~~~~~~~~~~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\logging\log_core.h:253:9: note: in expansion of macro ‘Z_LOG2’
253 | Z_LOG2(_level, 0, __log_current_const_data, __log_current_dynamic_data, VA_ARGS)
| ^~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\zephyr\include\zephyr\logging\log.h:61:24: note: in expansion of macro ‘Z_LOG’
61 | #define LOG_INF(…) Z_LOG(LOG_LEVEL_INF, VA_ARGS)
| ^~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\sit\drivers\dw3110\platform\deca_spi.c:46:17: note: in expansion of macro ‘LOG_INF’
46 | LOG_INF(“DW3000 on %s”, DT_LABEL(DW_SPI));
| ^~~~~~~
D:\svenh\Documents\Programmieren\Zepyhr\sit_dwm3001\sit\drivers\dw3110\platform\deca_spi.c:46:27: warning: Macro is deprecated
46 | LOG_INF(“DW3000 on %s”, DT_LABEL(DW_SPI));
| ^~~~~~~~~~~~~~~~~~~~~
[87/128] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_nrf.c.obj
[88/128] Building C object modules/sit/drivers/dw3110/platform/CMakeFiles/…__sit__drivers__dw3110__platform.dir/port.c.obj
[89/128] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/9ba18aea840a404f6472a56e9295c06e/nrfx/helpers/nrfx_flag32_allocator.c.obj
[90/128] Linking C static library zephyr\drivers\timer\libdrivers__timer.a
[91/128] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
ninja: build stopped: subcommand failed.
I Think the Error have to be at the begining or at the end. The rest should be the result of that. But I can’t understand whats really wrong.