Hi,
When building a sample application i encounter the following error:
> Executing task: nRF Connect: Build FT8002/build (active) < Building FT8002 west build --build-dir c:\VScode\FT8002\build c:\VScode\FT8002 --pristine --board nrf52840dk_nrf52840 -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONF_FILE:STRING="c:/VScode/FT8002/prj.conf" -- west build: generating a build system Including boilerplate (Zephyr base): C:/ncs/v1.7.0/zephyr/cmake/app/boilerplate.cmake -- Application: C:/VScode/FT8002 -- Zephyr version: 2.6.99 (C:/ncs/v1.7.0/zephyr), build: v2.6.99-ncs1 -- Found Python3: C:/ncs/v1.7.0/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter -- Found west (found suitable version "0.11.1", minimum required is "0.7.1") -- Board: nrf52840dk_nrf52840 -- Cache files will be written to: C:/ncs/v1.7.0/zephyr/.cache -- Found dtc: C:/ncs/v1.7.0/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found toolchain: gnuarmemb (c:/ncs/v1.7.0/toolchain/opt) -- Found BOARD.dts: C:/ncs/v1.7.0/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts -- Generated zephyr.dts: C:/VScode/FT8002/build/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: C:/VScode/FT8002/build/zephyr/include/generated/devicetree_unfixed.h -- Generated device_extern.h: C:/VScode/FT8002/build/zephyr/include/generated/device_extern.h -- Including generated dts.cmake file: C:/VScode/FT8002/build/zephyr/dts.cmake Parsing C:/ncs/v1.7.0/zephyr/Kconfig Loaded configuration 'C:/ncs/v1.7.0/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig' Merged configuration 'c:/VScode/FT8002/prj.conf' Configuration saved to 'C:/VScode/FT8002/build/zephyr/.config' Kconfig header saved to 'C:/VScode/FT8002/build/zephyr/include/generated/autoconf.h' -- The C compiler identification is GNU 9.2.1 -- The CXX compiler identification is GNU 9.2.1 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/v1.7.0/toolchain/opt/bin/arm-none-eabi-gcc.exe -- Configuring done -- Generating done -- Build files have been written to: C:/VScode/FT8002/build -- west build: building application [1/160] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json [2/160] Generating include/generated/driver-validation.h [3/160] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h [4/160] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h [5/160] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj [6/160] Generating include/generated/offsets.h [7/160] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj [8/160] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj [9/160] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj [10/160] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj [11/160] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj [12/160] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj [13/160] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj [14/160] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj [15/160] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj [16/160] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj [17/160] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_mpu.c.obj [18/160] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj [19/160] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj [20/160] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj [21/160] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj [22/160] Linking C static library zephyr\arch\common\libisr_tables.a [23/160] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj [24/160] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj [25/160] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj [26/160] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj [27/160] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj [28/160] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj [29/160] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj [30/160] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj [31/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj [32/160] Linking C static library zephyr\arch\arch\arm\core\aarch32\mpu\libarch__arm__core__aarch32__mpu.a [33/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj [34/160] Linking C static library zephyr\arch\common\libarch__common.a [35/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj [36/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj [37/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj [38/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj [39/160] Linking C static library zephyr\arch\arch\arm\core\aarch32\libarch__arm__core__aarch32.a [40/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj [41/160] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\libarch__arm__core__aarch32__cortex_m.a [42/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj [43/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj [44/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj [45/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj [46/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj [47/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj [48/160] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj [49/160] Building C object zephyr/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj [50/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj [51/160] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj [52/160] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj [53/160] Building C object zephyr/soc/arm/nordic_nrf/nrf52/CMakeFiles/soc__arm__nordic_nrf__nrf52.dir/soc.c.obj [54/160] Building C object zephyr/soc/arm/nordic_nrf/nrf52/CMakeFiles/soc__arm__nordic_nrf__nrf52.dir/power.c.obj [55/160] Building C object zephyr/drivers/misc/ft8xx/CMakeFiles/drivers__misc__ft8xx.dir/ft8xx_copro.c.obj [56/160] Building C object zephyr/drivers/misc/ft8xx/CMakeFiles/drivers__misc__ft8xx.dir/ft8xx_common.c.obj [57/160] Linking C static library zephyr\soc\arm\common\cortex_m\libsoc__arm__common__cortex_m.a [58/160] Building C object zephyr/drivers/misc/ft8xx/CMakeFiles/drivers__misc__ft8xx.dir/ft8xx_drv.c.obj FAILED: zephyr/drivers/misc/ft8xx/CMakeFiles/drivers__misc__ft8xx.dir/ft8xx_drv.c.obj C:\ncs\v1.7.0\toolchain\opt\bin\arm-none-eabi-gcc.exe -DBUILD_VERSION=v2.6.99-ncs1 -DKERNEL -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=0 -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -IC:/ncs/v1.7.0/zephyr/include -Izephyr/include/generated -IC:/ncs/v1.7.0/zephyr/soc/arm/nordic_nrf/nrf52 -IC:/ncs/v1.7.0/nrf/include -IC:/ncs/v1.7.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v1.7.0/modules/hal/nordic/nrfx -IC:/ncs/v1.7.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v1.7.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v1.7.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v1.7.0/modules/debug/segger/SEGGER -IC:/ncs/v1.7.0/modules/debug/segger/Config -IC:/ncs/v1.7.0/zephyr/modules/segger/. -isystem C:/ncs/v1.7.0/zephyr/lib/libc/minimal/include -isystem c:/ncs/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include -isystem c:/ncs/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed -isystem C:/ncs/v1.7.0/nrfxlib/crypto/nrf_cc310_platform/include -Os -imacros C:/VScode/FT8002/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -imacros C:/ncs/v1.7.0/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=C:/VScode/FT8002=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v1.7.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v1.7.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/drivers/misc/ft8xx/CMakeFiles/drivers__misc__ft8xx.dir/ft8xx_drv.c.obj -MF zephyr\drivers\misc\ft8xx\CMakeFiles\drivers__misc__ft8xx.dir\ft8xx_drv.c.obj.d -o zephyr/drivers/misc/ft8xx/CMakeFiles/drivers__misc__ft8xx.dir/ft8xx_drv.c.obj -c C:/ncs/v1.7.0/zephyr/drivers/misc/ft8xx/ft8xx_drv.c In file included from C:\ncs\v1.7.0\zephyr\include\arch\arm\aarch32\arch.h:20, from C:\ncs\v1.7.0\zephyr\include\arch\cpu.h:19, from C:\ncs\v1.7.0\zephyr\include\kernel_includes.h:33, from C:\ncs\v1.7.0\zephyr\include\kernel.h:17, from C:\ncs\v1.7.0\zephyr\include\init.h:11, from C:\ncs\v1.7.0\zephyr\include\device.h:29, from C:\ncs\v1.7.0\zephyr\include\drivers\gpio.h:23, from C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.h:17, from C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:7: C:/ncs/v1.7.0/zephyr/drivers/misc/ft8xx/ft8xx_drv.c: In function 'ft8xx_drv_init': C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_BUS_P_cs_gpios_IDX_DT_N_INST_0_ftdi_ft800_REG_IDX_0_VAL_ADDRESS_PH_P_label' undeclared (first use in this function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree\gpio.h:103:2: note: in expansion of macro 'DT_PROP' 103 | DT_PROP(DT_GPIO_CTLR_BY_IDX(node_id, gpio_pha, idx), label) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1272:2: note: in expansion of macro 'DT_CAT6' 1272 | DT_CAT6(node_id, _P_, prop, _IDX_, idx, _PH) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\gpio.h:54:2: note: in expansion of macro 'DT_PHANDLE_BY_IDX' 54 | DT_PHANDLE_BY_IDX(node_id, gpio_pha, idx) | ^~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\gpio.h:103:10: note: in expansion of macro 'DT_GPIO_CTLR_BY_IDX' 103 | DT_PROP(DT_GPIO_CTLR_BY_IDX(node_id, gpio_pha, idx), label) | ^~~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\spi.h:189:2: note: in expansion of macro 'DT_GPIO_LABEL_BY_IDX' 189 | DT_GPIO_LABEL_BY_IDX(DT_BUS(spi_dev), cs_gpios, DT_REG_ADDR(spi_dev)) | ^~~~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1923:25: note: in expansion of macro 'DT_CAT' 1923 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS) | ^~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\spi.h:189:23: note: in expansion of macro 'DT_BUS' 189 | DT_GPIO_LABEL_BY_IDX(DT_BUS(spi_dev), cs_gpios, DT_REG_ADDR(spi_dev)) | ^~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:65:5: note: in expansion of macro 'DT_SPI_DEV_CS_GPIOS_LABEL' 65 | DT_SPI_DEV_CS_GPIOS_LABEL(NODE_ID)), | ^~~~~~~~~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:18:17: note: in expansion of macro 'DT_INST' 18 | #define NODE_ID DT_INST(0, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:65:31: note: in expansion of macro 'NODE_ID' 65 | DT_SPI_DEV_CS_GPIOS_LABEL(NODE_ID)), | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: note: each undeclared identifier is reported only once for each function it appears in 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree\gpio.h:103:2: note: in expansion of macro 'DT_PROP' 103 | DT_PROP(DT_GPIO_CTLR_BY_IDX(node_id, gpio_pha, idx), label) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1272:2: note: in expansion of macro 'DT_CAT6' 1272 | DT_CAT6(node_id, _P_, prop, _IDX_, idx, _PH) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\gpio.h:54:2: note: in expansion of macro 'DT_PHANDLE_BY_IDX' 54 | DT_PHANDLE_BY_IDX(node_id, gpio_pha, idx) | ^~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\gpio.h:103:10: note: in expansion of macro 'DT_GPIO_CTLR_BY_IDX' 103 | DT_PROP(DT_GPIO_CTLR_BY_IDX(node_id, gpio_pha, idx), label) | ^~~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\spi.h:189:2: note: in expansion of macro 'DT_GPIO_LABEL_BY_IDX' 189 | DT_GPIO_LABEL_BY_IDX(DT_BUS(spi_dev), cs_gpios, DT_REG_ADDR(spi_dev)) | ^~~~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1923:25: note: in expansion of macro 'DT_CAT' 1923 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS) | ^~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\spi.h:189:23: note: in expansion of macro 'DT_BUS' 189 | DT_GPIO_LABEL_BY_IDX(DT_BUS(spi_dev), cs_gpios, DT_REG_ADDR(spi_dev)) | ^~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:65:5: note: in expansion of macro 'DT_SPI_DEV_CS_GPIOS_LABEL' 65 | DT_SPI_DEV_CS_GPIOS_LABEL(NODE_ID)), | ^~~~~~~~~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:18:17: note: in expansion of macro 'DT_INST' 18 | #define NODE_ID DT_INST(0, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:65:31: note: in expansion of macro 'NODE_ID' 65 | DT_SPI_DEV_CS_GPIOS_LABEL(NODE_ID)), | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_BUS_P_cs_gpios_IDX_DT_N_INST_0_ftdi_ft800_REG_IDX_0_VAL_ADDRESS_VAL_pin' undeclared (first use in this function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1075:2: note: in expansion of macro 'DT_PROP' 1075 | DT_PROP(node_id, pha##_IDX_##idx##_VAL_##cell) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\gpio.h:158:2: note: in expansion of macro 'DT_PHA_BY_IDX' 158 | DT_PHA_BY_IDX(node_id, gpio_pha, idx, pin) | ^~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\spi.h:222:2: note: in expansion of macro 'DT_GPIO_PIN_BY_IDX' 222 | DT_GPIO_PIN_BY_IDX(DT_BUS(spi_dev), cs_gpios, DT_REG_ADDR(spi_dev)) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1923:25: note: in expansion of macro 'DT_CAT' 1923 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS) | ^~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\spi.h:222:21: note: in expansion of macro 'DT_BUS' 222 | DT_GPIO_PIN_BY_IDX(DT_BUS(spi_dev), cs_gpios, DT_REG_ADDR(spi_dev)) | ^~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:66:15: note: in expansion of macro 'DT_SPI_DEV_CS_GPIOS_PIN' 66 | .gpio_pin = DT_SPI_DEV_CS_GPIOS_PIN(NODE_ID), | ^~~~~~~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:18:17: note: in expansion of macro 'DT_INST' 18 | #define NODE_ID DT_INST(0, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:66:39: note: in expansion of macro 'NODE_ID' 66 | .gpio_pin = DT_SPI_DEV_CS_GPIOS_PIN(NODE_ID), | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_BUS_P_label' undeclared (first use in this function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1930:31: note: in expansion of macro 'DT_PROP' 1930 | #define DT_BUS_LABEL(node_id) DT_PROP(DT_BUS(node_id), label) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1923:25: note: in expansion of macro 'DT_CAT' 1923 | #define DT_BUS(node_id) DT_CAT(node_id, _BUS) | ^~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1930:39: note: in expansion of macro 'DT_BUS' 1930 | #define DT_BUS_LABEL(node_id) DT_PROP(DT_BUS(node_id), label) | ^~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:71:37: note: in expansion of macro 'DT_BUS_LABEL' 71 | spi_ft8xx_dev = device_get_binding(DT_BUS_LABEL(NODE_ID)); | ^~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:18:17: note: in expansion of macro 'DT_INST' 18 | #define NODE_ID DT_INST(0, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:71:50: note: in expansion of macro 'NODE_ID' 71 | spi_ft8xx_dev = device_get_binding(DT_BUS_LABEL(NODE_ID)); | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_irq_gpios_IDX_0_PH_P_label' undeclared (first use in this function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree\gpio.h:103:2: note: in expansion of macro 'DT_PROP' 103 | DT_PROP(DT_GPIO_CTLR_BY_IDX(node_id, gpio_pha, idx), label) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1272:2: note: in expansion of macro 'DT_CAT6' 1272 | DT_CAT6(node_id, _P_, prop, _IDX_, idx, _PH) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\gpio.h:54:2: note: in expansion of macro 'DT_PHANDLE_BY_IDX' 54 | DT_PHANDLE_BY_IDX(node_id, gpio_pha, idx) | ^~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\gpio.h:103:10: note: in expansion of macro 'DT_GPIO_CTLR_BY_IDX' 103 | DT_PROP(DT_GPIO_CTLR_BY_IDX(node_id, gpio_pha, idx), label) | ^~~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\gpio.h:114:2: note: in expansion of macro 'DT_GPIO_LABEL_BY_IDX' 114 | DT_GPIO_LABEL_BY_IDX(node_id, gpio_pha, 0) | ^~~~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:79:37: note: in expansion of macro 'DT_GPIO_LABEL' 79 | int_ft8xx_dev = device_get_binding(DT_GPIO_LABEL(NODE_ID, irq_gpios)); | ^~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:18:17: note: in expansion of macro 'DT_INST' 18 | #define NODE_ID DT_INST(0, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:79:51: note: in expansion of macro 'NODE_ID' 79 | int_ft8xx_dev = device_get_binding(DT_GPIO_LABEL(NODE_ID, irq_gpios)); | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_irq_gpios_IDX_0_VAL_pin' undeclared (first use in this function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1075:2: note: in expansion of macro 'DT_PROP' 1075 | DT_PROP(node_id, pha##_IDX_##idx##_VAL_##cell) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\gpio.h:158:2: note: in expansion of macro 'DT_PHA_BY_IDX' 158 | DT_PHA_BY_IDX(node_id, gpio_pha, idx, pin) | ^~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree\gpio.h:169:2: note: in expansion of macro 'DT_GPIO_PIN_BY_IDX' 169 | DT_GPIO_PIN_BY_IDX(node_id, gpio_pha, 0) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:30:17: note: in expansion of macro 'DT_GPIO_PIN' 30 | #define IRQ_PIN DT_GPIO_PIN(NODE_ID, irq_gpios) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:18:17: note: in expansion of macro 'DT_INST' 18 | #define NODE_ID DT_INST(0, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:30:29: note: in expansion of macro 'NODE_ID' 30 | #define IRQ_PIN DT_GPIO_PIN(NODE_ID, irq_gpios) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx_drv.c:84:42: note: in expansion of macro 'IRQ_PIN' 84 | ret = gpio_pin_configure(int_ft8xx_dev, IRQ_PIN, | ^~~~~~~ [59/160] Linking C static library zephyr\lib\libc\minimal\liblib__libc__minimal.a [60/160] Linking C static library zephyr\lib\posix\liblib__posix.a [61/160] Building C object zephyr/drivers/spi/CMakeFiles/drivers__spi.dir/spi_nrfx_spi.c.obj [62/160] Linking C static library zephyr\soc\arm\nordic_nrf\nrf52\libsoc__arm__nordic_nrf__nrf52.a [63/160] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj [64/160] Building C object modules/nrf/lib/fatal_error/CMakeFiles/..__nrf__lib__fatal_error.dir/fatal_error.c.obj [65/160] Building C object zephyr/drivers/spi/CMakeFiles/drivers__spi.dir/spi_nrfx_spim.c.obj [66/160] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj [67/160] Building C object zephyr/drivers/misc/ft8xx/CMakeFiles/drivers__misc__ft8xx.dir/ft8xx.c.obj FAILED: zephyr/drivers/misc/ft8xx/CMakeFiles/drivers__misc__ft8xx.dir/ft8xx.c.obj C:\ncs\v1.7.0\toolchain\opt\bin\arm-none-eabi-gcc.exe -DBUILD_VERSION=v2.6.99-ncs1 -DKERNEL -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=0 -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -IC:/ncs/v1.7.0/zephyr/include -Izephyr/include/generated -IC:/ncs/v1.7.0/zephyr/soc/arm/nordic_nrf/nrf52 -IC:/ncs/v1.7.0/nrf/include -IC:/ncs/v1.7.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v1.7.0/modules/hal/nordic/nrfx -IC:/ncs/v1.7.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v1.7.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v1.7.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v1.7.0/modules/debug/segger/SEGGER -IC:/ncs/v1.7.0/modules/debug/segger/Config -IC:/ncs/v1.7.0/zephyr/modules/segger/. -isystem C:/ncs/v1.7.0/zephyr/lib/libc/minimal/include -isystem c:/ncs/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include -isystem c:/ncs/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed -isystem C:/ncs/v1.7.0/nrfxlib/crypto/nrf_cc310_platform/include -Os -imacros C:/VScode/FT8002/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -imacros C:/ncs/v1.7.0/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=C:/VScode/FT8002=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v1.7.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v1.7.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/drivers/misc/ft8xx/CMakeFiles/drivers__misc__ft8xx.dir/ft8xx.c.obj -MF zephyr\drivers\misc\ft8xx\CMakeFiles\drivers__misc__ft8xx.dir\ft8xx.c.obj.d -o zephyr/drivers/misc/ft8xx/CMakeFiles/drivers__misc__ft8xx.dir/ft8xx.c.obj -c C:/ncs/v1.7.0/zephyr/drivers/misc/ft8xx/ft8xx.c In file included from C:\ncs\v1.7.0\zephyr\include\arch\arm\aarch32\arch.h:20, from C:\ncs\v1.7.0\zephyr\include\arch\cpu.h:19, from C:\ncs\v1.7.0\zephyr\include\kernel_includes.h:33, from C:\ncs\v1.7.0\zephyr\include\kernel.h:17, from C:\ncs\v1.7.0\zephyr\include\init.h:11, from C:\ncs\v1.7.0\zephyr\include\device.h:29, from C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:14: C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_pclk' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:34: note: in expansion of macro 'DT_PROP' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1974:27: note: in expansion of macro 'DT_INST' 1974 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:42: note: in expansion of macro 'DT_DRV_INST' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:55:14: note: in expansion of macro 'DT_INST_PROP' 55 | .pclk = DT_INST_PROP(0, pclk), | ^~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_pclk_pol' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:34: note: in expansion of macro 'DT_PROP' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1974:27: note: in expansion of macro 'DT_INST' 1974 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:42: note: in expansion of macro 'DT_DRV_INST' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:56:14: note: in expansion of macro 'DT_INST_PROP' 56 | .pclk_pol = DT_INST_PROP(0, pclk_pol), | ^~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_cspread' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:34: note: in expansion of macro 'DT_PROP' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1974:27: note: in expansion of macro 'DT_INST' 1974 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:42: note: in expansion of macro 'DT_DRV_INST' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:57:14: note: in expansion of macro 'DT_INST_PROP' 57 | .cspread = DT_INST_PROP(0, cspread), | ^~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_swizzle' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:34: note: in expansion of macro 'DT_PROP' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1974:27: note: in expansion of macro 'DT_INST' 1974 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:42: note: in expansion of macro 'DT_DRV_INST' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:58:14: note: in expansion of macro 'DT_INST_PROP' 58 | .swizzle = DT_INST_PROP(0, swizzle), | ^~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_vsize' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:34: note: in expansion of macro 'DT_PROP' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1974:27: note: in expansion of macro 'DT_INST' 1974 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:42: note: in expansion of macro 'DT_DRV_INST' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:59:14: note: in expansion of macro 'DT_INST_PROP' 59 | .vsize = DT_INST_PROP(0, vsize), | ^~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_voffset' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:34: note: in expansion of macro 'DT_PROP' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1974:27: note: in expansion of macro 'DT_INST' 1974 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:42: note: in expansion of macro 'DT_DRV_INST' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:60:14: note: in expansion of macro 'DT_INST_PROP' 60 | .voffset = DT_INST_PROP(0, voffset), | ^~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_vcycle' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:34: note: in expansion of macro 'DT_PROP' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1974:27: note: in expansion of macro 'DT_INST' 1974 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:42: note: in expansion of macro 'DT_DRV_INST' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:61:14: note: in expansion of macro 'DT_INST_PROP' 61 | .vcycle = DT_INST_PROP(0, vcycle), | ^~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_vsync0' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:34: note: in expansion of macro 'DT_PROP' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1974:27: note: in expansion of macro 'DT_INST' 1974 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:42: note: in expansion of macro 'DT_DRV_INST' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:62:14: note: in expansion of macro 'DT_INST_PROP' 62 | .vsync0 = DT_INST_PROP(0, vsync0), | ^~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_vsync1' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:34: note: in expansion of macro 'DT_PROP' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1974:27: note: in expansion of macro 'DT_INST' 1974 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:42: note: in expansion of macro 'DT_DRV_INST' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:63:14: note: in expansion of macro 'DT_INST_PROP' 63 | .vsync1 = DT_INST_PROP(0, vsync1), | ^~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_hsize' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:34: note: in expansion of macro 'DT_PROP' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1974:27: note: in expansion of macro 'DT_INST' 1974 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:42: note: in expansion of macro 'DT_DRV_INST' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:64:14: note: in expansion of macro 'DT_INST_PROP' 64 | .hsize = DT_INST_PROP(0, hsize), | ^~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_hoffset' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:34: note: in expansion of macro 'DT_PROP' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1974:27: note: in expansion of macro 'DT_INST' 1974 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:42: note: in expansion of macro 'DT_DRV_INST' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:65:14: note: in expansion of macro 'DT_INST_PROP' 65 | .hoffset = DT_INST_PROP(0, hoffset), | ^~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_hcycle' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:34: note: in expansion of macro 'DT_PROP' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1974:27: note: in expansion of macro 'DT_INST' 1974 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:42: note: in expansion of macro 'DT_DRV_INST' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:66:14: note: in expansion of macro 'DT_INST_PROP' 66 | .hcycle = DT_INST_PROP(0, hcycle), | ^~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_hsync0' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:34: note: in expansion of macro 'DT_PROP' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1974:27: note: in expansion of macro 'DT_INST' 1974 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:42: note: in expansion of macro 'DT_DRV_INST' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:67:14: note: in expansion of macro 'DT_INST_PROP' 67 | .hsync0 = DT_INST_PROP(0, hsync0), | ^~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_ftdi_ft800_P_hsync1' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2542:24: note: in definition of macro 'DT_CAT' 2542 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:34: note: in expansion of macro 'DT_PROP' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\sys\util_internal.h:84:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 84 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:305:31: note: in expansion of macro 'UTIL_CAT' 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:1974:27: note: in expansion of macro 'DT_INST' 1974 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:\ncs\v1.7.0\zephyr\include\devicetree.h:2011:42: note: in expansion of macro 'DT_DRV_INST' 2011 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop) | ^~~~~~~~~~~ C:\ncs\v1.7.0\zephyr\drivers\misc\ft8xx\ft8xx.c:68:14: note: in expansion of macro 'DT_INST_PROP' 68 | .hsync1 = DT_INST_PROP(0, hsync1), | ^~~~~~~~~~~~ ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'c:\ncs\v1.7.0\toolchain\opt\bin\cmake.EXE' --build 'c:\VScode\FT8002\build' The terminal process terminated with exit code: 1. Terminal will be reused by tasks, press any key to close it.