Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ west build -p always -b visionfive2_jh7110 samples/hello_wor
- ld/
- -- west build: making build dir /home/kanak/zephyrproject/zephyr/build pristine
- -- west build: generating a build system
- Loading Zephyr default modules (Zephyr base).
- -- Application: /home/kanak/zephyrproject/zephyr/samples/hello_world
- -- CMake version: 3.22.1
- -- Found Python3: /home/kanak/zephyrproject/.zephyr-env/bin/python3 (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
- -- Cache files will be written to: /home/kanak/.cache/zephyr
- -- Zephyr version: 3.5.99 (/home/kanak/zephyrproject/zephyr)
- -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
- -- Board: visionfive2_jh7110
- -- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
- -- Found host-tools: zephyr 0.16.3 (/home/kanak/zephyr-sdk-0.16.3)
- -- Found toolchain: zephyr 0.16.3 (/home/kanak/zephyr-sdk-0.16.3)
- -- Found Dtc: /home/kanak/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
- -- Found BOARD.dts: /home/kanak/zephyrproject/zephyr/boards/riscv/visionfive2_jh7110/visionfive2_jh7110.dts
- -- Generated zephyr.dts: /home/kanak/zephyrproject/zephyr/build/zephyr/zephyr.dts
- -- Generated devicetree_generated.h: /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h
- -- Including generated dts.cmake file: /home/kanak/zephyrproject/zephyr/build/zephyr/dts.cmake
- Parsing /home/kanak/zephyrproject/zephyr/Kconfig
- Loaded configuration '/home/kanak/zephyrproject/zephyr/boards/riscv/visionfive2_jh7110/visionfive2_jh7110_defconfig'
- Merged configuration '/home/kanak/zephyrproject/zephyr/samples/hello_world/prj.conf'
- Configuration saved to '/home/kanak/zephyrproject/zephyr/build/zephyr/.config'
- Kconfig header saved to '/home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h'
- -- Found GnuLd: /home/kanak/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/12.2.0/../../../../riscv64-zephyr-elf/bin/ld.bfd (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: /home/kanak/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc
- -- Using ccache: /usr/bin/ccache
- CMake Warning at /home/kanak/zephyrproject/zephyr/CMakeLists.txt:853 (message):
- No SOURCES given to Zephyr library: drivers__serial
- Excluding target from build.
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/kanak/zephyrproject/zephyr/build
- -- west build: building application
- [1/93] Preparing syscall dependency handling
- [3/93] Generating include/generated/version.h
- -- Zephyr version: 3.5.99 (/home/kanak/zephyrproject/zephyr), build: zephyr-v3.5.0-1912-gb256bfe41e0c
- [8/93] Building C object zephyr/CMakeFiles/offsets.dir/arch/riscv/core/offsets/offsets.c.obj
- FAILED: zephyr/CMakeFiles/offsets.dir/arch/riscv/core/offsets/offsets.c.obj
- ccache /home/kanak/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc -DKERNEL -DPICOLIBC_LONG_LONG_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR__=1 -I/home/kanak/zephyrproject/zephyr/kernel/include -I/home/kanak/zephyrproject/zephyr/arch/riscv/include -I/home/kanak/zephyrproject/zephyr/include -I/home/kanak/zephyrproject/zephyr/build/zephyr/include/generated -I/home/kanak/zephyrproject/zephyr/soc/riscv/riscv-privileged/starfive_jh71xx -I/home/kanak/zephyrproject/zephyr/soc/riscv/riscv-privileged/common/. -I/home/kanak/zephyrproject/zephyr/soc/riscv/riscv-privileged/starfive_jh71xx/. -I/home/kanak/zephyrproject/zephyr/boards/riscv/visionfive2_jh7110/. -isystem /home/kanak/zephyrproject/zephyr/lib/libc/common/include -fno-strict-aliasing -Os -imacros /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcmodel=medany -mabi=lp64 -march=rv64imac_zicsr_zifencei --sysroot=/home/kanak/zephyr-sdk-0.16.3/riscv64-zephyr-elf/riscv64-zephyr-elf -imacros /home/kanak/zephyrproject/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 -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/home/kanak/zephyrproject/zephyr/samples/hello_world=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/kanak/zephyrproject/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/kanak/zephyrproject=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -std=c99 -MD -MT zephyr/CMakeFiles/offsets.dir/arch/riscv/core/offsets/offsets.c.obj -MF zephyr/CMakeFiles/offsets.dir/arch/riscv/core/offsets/offsets.c.obj.d -o zephyr/CMakeFiles/offsets.dir/arch/riscv/core/offsets/offsets.c.obj -c /home/kanak/zephyrproject/zephyr/arch/riscv/core/offsets/offsets.c
- In file included from /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/gcc.h:98,
- from /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain.h:50,
- from /home/kanak/zephyrproject/zephyr/include/zephyr/kernel_includes.h:23,
- from /home/kanak/zephyrproject/zephyr/include/zephyr/kernel.h:17,
- from /home/kanak/zephyrproject/zephyr/arch/riscv/core/offsets/offsets.c:16:
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:45: error: pasting "dts_ord_" and "-" does not give a valid preprocessing token
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1136: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:248:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
- 248 | #define DT_N_S_cpus_S_cpu_0_S_interrupt_controller_ORD -1
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:31: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro '_CONCAT'
- 85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:37: note: in expansion of macro 'DEVICE_NAME_GET'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:138:23: note: in expansion of macro '_DO_CONCAT'
- 138 | #define _CONCAT(x, y) _DO_CONCAT(x, y)
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:4341:24: note: in expansion of macro 'DT_N_S_cpus_S_cpu_0_S_interrupt_controller_ORD'
- 4341 | #define DT_CAT(a1, a2) a1 ## a2
- | ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree/ordinals.h:25:29: note: in expansion of macro 'DT_CAT'
- 25 | #define DT_DEP_ORD(node_id) DT_CAT(node_id, _ORD)
- | ^~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:55: note: in expansion of macro 'DT_DEP_ORD'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1136: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:45: error: pasting "dts_ord_" and "-" does not give a valid preprocessing token
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1183: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:328:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
- 328 | #define DT_N_S_cpus_S_cpu_1_ORD -1
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:31: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro '_CONCAT'
- 85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:37: note: in expansion of macro 'DEVICE_NAME_GET'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:138:23: note: in expansion of macro '_DO_CONCAT'
- 138 | #define _CONCAT(x, y) _DO_CONCAT(x, y)
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:4341:24: note: in expansion of macro 'DT_N_S_cpus_S_cpu_1_ORD'
- 4341 | #define DT_CAT(a1, a2) a1 ## a2
- | ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree/ordinals.h:25:29: note: in expansion of macro 'DT_CAT'
- 25 | #define DT_DEP_ORD(node_id) DT_CAT(node_id, _ORD)
- | ^~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:55: note: in expansion of macro 'DT_DEP_ORD'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1183: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:45: error: pasting "dts_ord_" and "-" does not give a valid preprocessing token
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1207: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:441:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
- 441 | #define DT_N_S_cpus_S_cpu_1_S_interrupt_controller_ORD -1
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:31: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro '_CONCAT'
- 85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:37: note: in expansion of macro 'DEVICE_NAME_GET'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:138:23: note: in expansion of macro '_DO_CONCAT'
- 138 | #define _CONCAT(x, y) _DO_CONCAT(x, y)
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:4341:24: note: in expansion of macro 'DT_N_S_cpus_S_cpu_1_S_interrupt_controller_ORD'
- 4341 | #define DT_CAT(a1, a2) a1 ## a2
- | ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree/ordinals.h:25:29: note: in expansion of macro 'DT_CAT'
- 25 | #define DT_DEP_ORD(node_id) DT_CAT(node_id, _ORD)
- | ^~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:55: note: in expansion of macro 'DT_DEP_ORD'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1207: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:45: error: pasting "dts_ord_" and "-" does not give a valid preprocessing token
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1254: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:521:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
- 521 | #define DT_N_S_cpus_S_cpu_2_ORD -1
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:31: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro '_CONCAT'
- 85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:37: note: in expansion of macro 'DEVICE_NAME_GET'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:138:23: note: in expansion of macro '_DO_CONCAT'
- 138 | #define _CONCAT(x, y) _DO_CONCAT(x, y)
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:4341:24: note: in expansion of macro 'DT_N_S_cpus_S_cpu_2_ORD'
- 4341 | #define DT_CAT(a1, a2) a1 ## a2
- | ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree/ordinals.h:25:29: note: in expansion of macro 'DT_CAT'
- 25 | #define DT_DEP_ORD(node_id) DT_CAT(node_id, _ORD)
- | ^~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:55: note: in expansion of macro 'DT_DEP_ORD'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1254: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:45: error: pasting "dts_ord_" and "-" does not give a valid preprocessing token
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1278: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:634:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
- 634 | #define DT_N_S_cpus_S_cpu_2_S_interrupt_controller_ORD -1
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:31: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro '_CONCAT'
- 85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:37: note: in expansion of macro 'DEVICE_NAME_GET'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:138:23: note: in expansion of macro '_DO_CONCAT'
- 138 | #define _CONCAT(x, y) _DO_CONCAT(x, y)
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:4341:24: note: in expansion of macro 'DT_N_S_cpus_S_cpu_2_S_interrupt_controller_ORD'
- 4341 | #define DT_CAT(a1, a2) a1 ## a2
- | ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree/ordinals.h:25:29: note: in expansion of macro 'DT_CAT'
- 25 | #define DT_DEP_ORD(node_id) DT_CAT(node_id, _ORD)
- | ^~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:55: note: in expansion of macro 'DT_DEP_ORD'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1278: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:45: error: pasting "dts_ord_" and "-" does not give a valid preprocessing token
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1325: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:714:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
- 714 | #define DT_N_S_cpus_S_cpu_3_ORD -1
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:31: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro '_CONCAT'
- 85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:37: note: in expansion of macro 'DEVICE_NAME_GET'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:138:23: note: in expansion of macro '_DO_CONCAT'
- 138 | #define _CONCAT(x, y) _DO_CONCAT(x, y)
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:4341:24: note: in expansion of macro 'DT_N_S_cpus_S_cpu_3_ORD'
- 4341 | #define DT_CAT(a1, a2) a1 ## a2
- | ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree/ordinals.h:25:29: note: in expansion of macro 'DT_CAT'
- 25 | #define DT_DEP_ORD(node_id) DT_CAT(node_id, _ORD)
- | ^~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:55: note: in expansion of macro 'DT_DEP_ORD'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1325: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:45: error: pasting "dts_ord_" and "-" does not give a valid preprocessing token
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1349: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:827:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
- 827 | #define DT_N_S_cpus_S_cpu_3_S_interrupt_controller_ORD -1
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:31: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro '_CONCAT'
- 85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:37: note: in expansion of macro 'DEVICE_NAME_GET'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:138:23: note: in expansion of macro '_DO_CONCAT'
- 138 | #define _CONCAT(x, y) _DO_CONCAT(x, y)
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:4341:24: note: in expansion of macro 'DT_N_S_cpus_S_cpu_3_S_interrupt_controller_ORD'
- 4341 | #define DT_CAT(a1, a2) a1 ## a2
- | ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree/ordinals.h:25:29: note: in expansion of macro 'DT_CAT'
- 25 | #define DT_DEP_ORD(node_id) DT_CAT(node_id, _ORD)
- | ^~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:55: note: in expansion of macro 'DT_DEP_ORD'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1349: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:45: error: pasting "dts_ord_" and "-" does not give a valid preprocessing token
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1396: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:907:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
- 907 | #define DT_N_S_cpus_S_cpu_4_ORD -1
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:31: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro '_CONCAT'
- 85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:37: note: in expansion of macro 'DEVICE_NAME_GET'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:138:23: note: in expansion of macro '_DO_CONCAT'
- 138 | #define _CONCAT(x, y) _DO_CONCAT(x, y)
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:4341:24: note: in expansion of macro 'DT_N_S_cpus_S_cpu_4_ORD'
- 4341 | #define DT_CAT(a1, a2) a1 ## a2
- | ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree/ordinals.h:25:29: note: in expansion of macro 'DT_CAT'
- 25 | #define DT_DEP_ORD(node_id) DT_CAT(node_id, _ORD)
- | ^~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:55: note: in expansion of macro 'DT_DEP_ORD'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1396: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:45: error: pasting "dts_ord_" and "-" does not give a valid preprocessing token
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1420: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:1020:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
- 1020 | #define DT_N_S_cpus_S_cpu_4_S_interrupt_controller_ORD -1
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:31: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro '_CONCAT'
- 85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:37: note: in expansion of macro 'DEVICE_NAME_GET'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:138:23: note: in expansion of macro '_DO_CONCAT'
- 138 | #define _CONCAT(x, y) _DO_CONCAT(x, y)
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:4341:24: note: in expansion of macro 'DT_N_S_cpus_S_cpu_4_S_interrupt_controller_ORD'
- 4341 | #define DT_CAT(a1, a2) a1 ## a2
- | ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree/ordinals.h:25:29: note: in expansion of macro 'DT_CAT'
- 25 | #define DT_DEP_ORD(node_id) DT_CAT(node_id, _ORD)
- | ^~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:55: note: in expansion of macro 'DT_DEP_ORD'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1420: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:45: error: pasting "dts_ord_" and "-" does not give a valid preprocessing token
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1467: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:1100:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
- 1100 | #define DT_N_S_soc_ORD -1
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:31: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro '_CONCAT'
- 85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:37: note: in expansion of macro 'DEVICE_NAME_GET'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:138:23: note: in expansion of macro '_DO_CONCAT'
- 138 | #define _CONCAT(x, y) _DO_CONCAT(x, y)
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:4341:24: note: in expansion of macro 'DT_N_S_soc_ORD'
- 4341 | #define DT_CAT(a1, a2) a1 ## a2
- | ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree/ordinals.h:25:29: note: in expansion of macro 'DT_CAT'
- 25 | #define DT_DEP_ORD(node_id) DT_CAT(node_id, _ORD)
- | ^~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:55: note: in expansion of macro 'DT_DEP_ORD'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1467: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:45: error: pasting "dts_ord_" and "-" does not give a valid preprocessing token
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1482: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:1171:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
- 1171 | #define DT_N_S_soc_S_cache_controller_2010000_ORD -1
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:31: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro '_CONCAT'
- 85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:37: note: in expansion of macro 'DEVICE_NAME_GET'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:138:23: note: in expansion of macro '_DO_CONCAT'
- 138 | #define _CONCAT(x, y) _DO_CONCAT(x, y)
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:4341:24: note: in expansion of macro 'DT_N_S_soc_S_cache_controller_2010000_ORD'
- 4341 | #define DT_CAT(a1, a2) a1 ## a2
- | ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree/ordinals.h:25:29: note: in expansion of macro 'DT_CAT'
- 25 | #define DT_DEP_ORD(node_id) DT_CAT(node_id, _ORD)
- | ^~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:55: note: in expansion of macro 'DT_DEP_ORD'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1482: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:45: error: pasting "dts_ord_" and "-" does not give a valid preprocessing token
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1555: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:1334:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
- 1334 | #define DT_N_S_plic_c000000_ORD -1
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:31: note: in definition of macro '_DO_CONCAT'
- 137 | #define _DO_CONCAT(x, y) x ## y
- | ^
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro '_CONCAT'
- 85 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:37: note: in expansion of macro 'DEVICE_NAME_GET'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/toolchain/common.h:138:23: note: in expansion of macro '_DO_CONCAT'
- 138 | #define _CONCAT(x, y) _DO_CONCAT(x, y)
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:37: note: in expansion of macro '_CONCAT'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:4341:24: note: in expansion of macro 'DT_N_S_plic_c000000_ORD'
- 4341 | #define DT_CAT(a1, a2) a1 ## a2
- | ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree/ordinals.h:25:29: note: in expansion of macro 'DT_CAT'
- 25 | #define DT_DEP_ORD(node_id) DT_CAT(node_id, _ORD)
- | ^~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:95:55: note: in expansion of macro 'DT_DEP_ORD'
- 95 | #define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
- | ^~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:212:53: note: in expansion of macro 'Z_DEVICE_DT_DEV_ID'
- 212 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1019:36: note: in expansion of macro 'DEVICE_DT_NAME_GET'
- 1019 | extern const struct device DEVICE_DT_NAME_GET(node_id);
- | ^~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h:4781:1555: note: in expansion of macro 'Z_MAYBE_DEVICE_DECLARE_INTERNAL'
- 4781 | #define DT_FOREACH_OKAY_HELPER(fn) fn(DT_N) fn(DT_N_S_osc) fn(DT_N_S_clk_ext_camera) fn(DT_N_S_gmac1_rmii_refin) fn(DT_N_S_gmac1_rgmii_rxin) fn(DT_N_S_i2stx_bclk_ext) fn(DT_N_S_i2stx_lrck_ext) fn(DT_N_S_i2srx_bclk_ext) fn(DT_N_S_i2srx_lrck_ext) fn(DT_N_S_tdm_ext) fn(DT_N_S_mclk_ext) fn(DT_N_S_jtag_tck_inner) fn(DT_N_S_bist_apb) fn(DT_N_S_gmac0_rmii_refin) fn(DT_N_S_gmac0_rgmii_rxin) fn(DT_N_S_clk_rtc) fn(DT_N_S_hdmitx0_pixelclk) fn(DT_N_S_mipitx_dphy_rxesc) fn(DT_N_S_mipitx_dphy_txbytehs) fn(DT_N_S_wm8960_mclk) fn(DT_N_S_ac108_mclk) fn(DT_N_S_opp_table_0) fn(DT_N_S_opp_table_0_S_opp_375000000) fn(DT_N_S_opp_table_0_S_opp_500000000) fn(DT_N_S_opp_table_0_S_opp_750000000) fn(DT_N_S_opp_table_0_S_opp_1500000000) fn(DT_N_S_opp_table_0_S_opp_312500000) fn(DT_N_S_opp_table_0_S_opp_417000000) fn(DT_N_S_opp_table_0_S_opp_625000000) fn(DT_N_S_opp_table_0_S_opp_1250000000) fn(DT_N_S_cpus) fn(DT_N_S_cpus_S_cpu_map) fn(DT_N_S_cpus_S_cpu_map_S_cluster0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core0) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core1) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core2) fn(DT_N_S_cpus_S_cpu_map_S_cluster0_S_core3) fn(DT_N_S_cpus_S_cpu_0_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_1) fn(DT_N_S_cpus_S_cpu_1_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_2) fn(DT_N_S_cpus_S_cpu_2_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_3) fn(DT_N_S_cpus_S_cpu_3_S_interrupt_controller) fn(DT_N_S_cpus_S_cpu_4) fn(DT_N_S_cpus_S_cpu_4_S_interrupt_controller) fn(DT_N_S_soc) fn(DT_N_S_soc_S_cache_controller_2010000) fn(DT_N_S_sys_syscon_13030000) fn(DT_N_S_plic_c000000) fn(DT_N_S_clock_controller_13020000) fn(DT_N_S_serial_10000000) fn(DT_N_S_aliases) fn(DT_N_S_chosen) fn(DT_N_S_memory_40000000) fn(DT_N_S_reserved_memory) fn(DT_N_S_reserved_memory_S_linux_cma) fn(DT_N_S_reserved_memory_S_e24_6ce00000)
- |
- ^~
- /home/kanak/zephyrproject/zephyr/include/zephyr/devicetree.h:2570:41: note: in expansion of macro 'DT_FOREACH_OKAY_HELPER'
- 2570 | #define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
- | ^~~~~~~~~~~~~~~~~~~~~~
- /home/kanak/zephyrproject/zephyr/include/zephyr/device.h:1021:1: note: in expansion of macro 'DT_FOREACH_STATUS_OKAY_NODE'
- 1021 | DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- ninja: build stopped: subcommand failed.
- FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/kanak/zephyrproject/zephyr/build
Advertisement
Add Comment
Please, Sign In to add comment