Hello
When I use ncs1.7.1 52840 + mcuboot + spi + external flash it works well, but when I update ncs to 1.8.0 I can't build it.
I also add CONFIG_MULTITHREADING=y in my project.
Can you give me some advice thanks.
- west build: building application
[5/269] Performing build step for 'mcuboot_subimage'
[128/194] Building C object zephyr/dri...Files/drivers__flash.dir/spi_nor.c.objFAILED: zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/spi_nor.c.obj
H:\gnuarmemb\bin\arm-none-eabi-gcc.exe -DBUILD_VERSION=v2.7.0-ncs1 -DKERNEL -DNRF52840_XXAA -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -IH:/ES00C/Fork/mt-xos/zephyr/include -IH:/ES00C/Fork/mt-xos/zephyr/samples/hello_world_spi_nor_ext_flash/build/mcuboot/zephyr/include/generated -IH:/ES00C/Fork/mt-xos/zephyr/soc/arm/nordic_nrf/nrf52
-IH:/ES00C/Fork/mt-xos/minew/lib/. -IH:/ES00C/Fork/mt-xos/minew/subsys/bluetooth/. -IH:/ES00C/Fork/mt-xos/minew/include -IH:/ES00C/Fork/mt-xos/minew/include/sensor -IH:/ES00C/Fork/mt-xos/nrf/include -IH:/ES00C/Fork/mt-xos/modules/hal/cmsis/CMSIS/Core/Include -IH:/ES00C/Fork/mt-xos/modules/hal/nordic/nrfx -IH:/ES00C/Fork/mt-xos/modules/hal/nordic/nrfx/drivers/include -IH:/ES00C/Fork/mt-xos/modules/hal/nordic/nrfx/mdk -IH:/ES00C/Fork/mt-xos/zephyr/modules/hal_nordic/nrfx/. -IH:/ES00C/Fork/mt-xos/modules/debug/segger/SEGGER -IH:/ES00C/Fork/mt-xos/modules/debug/segger/Config -IH:/ES00C/Fork/mt-xos/zephyr/modules/segger/. -IH:/ES00C/Fork/mt-xos/bootloader/mcuboot/boot/bootutil/zephyr/.. -IH:/ES00C/Fork/mt-xos/bootloader/mcuboot/boot/bootutil/zephyr/../include -IH:/ES00C/Fork/mt-xos/bootloader/mcuboot/boot/bootutil/zephyr/../../zephyr/include -IH:/ES00C/Fork/mt-xos/nrfxlib/crypto/nrf_cc310_bl/include -isystem H:/ES00C/Fork/mt-xos/zephyr/lib/libc/minimal/include -isystem h:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/10.2.1/include -isystem h:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/10.2.1/include-fixed -isystem H:/ES00C/Fork/mt-xos/nrfxlib/crypto/nrf_cc310_platform/include -Os -imacros H:/ES00C/Fork/mt-xos/zephyr/samples/hello_world_spi_nor_ext_flash/build/mcuboot/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mfp16-format=ieee -imacros H:/ES00C/Fork/mt-xos/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=H:/ES00C/Fork/mt-xos/bootloader/mcuboot/boot/zephyr=CMAKE_SOURCE_DIR -fmacro-prefix-map=H:/ES00C/Fork/mt-xos/zephyr=ZEPHYR_BASE -fmacro-prefix-map=H:/ES00C/Fork/mt-xos=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/spi_nor.c.obj -MF zephyr\drivers\flash\CMakeFiles\drivers__flash.dir\spi_nor.c.obj.d -o zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/spi_nor.c.obj -c H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.cIn file included from H:/ES00C/Fork/mt-xos/zephyr/include/toolchain.h:50,
from H:/ES00C/Fork/mt-xos/zephyr/include/sys/errno_private.h:10,
from H:/ES00C/Fork/mt-xos/zephyr/lib/libc/minimal/include/errno.h:32,
from H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:12:
H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:1186:1: error: static assertion failed: "jedec,spi-nor jedec-id required for non-runtime SFDP"
1186 | BUILD_ASSERT(DT_INST_NODE_HAS_PROP(0, jedec_id),
| ^~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:1195:1: error: static assertion failed: "jedec,spi-nor size required for non-runtime SFDP page layout"
1195 | BUILD_ASSERT(DT_INST_NODE_HAS_PROP(0, size),
| ^~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:305:40: error: 'DT_N_INST_0_jedec_spi_nor_P_size' undeclared here (not in a function)
305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
| ^~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:531:32: note: in expansion of
macro 'DT_CAT'
531 | #define DT_PROP(node_id, prop) DT_CAT(node_id, _P_##prop)
| ^~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:2110:34: note: in expansion of macro 'DT_PROP'
2110 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
| ^~~~~~~
H:/ES00C/Fork/mt-xos/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__)
| ^~~~~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/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))
| ^~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:2073:27: note: in expansion of macro 'DT_INST'
2073 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
| ^~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:2110:42: note: in expansion of macro 'DT_DRV_INST'
2110 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
| ^~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:1199:23: note: in expansion of macro 'DT_INST_PROP'
1199 | #define INST_0_BYTES (DT_INST_PROP(0, size) / 8)
| ^~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:1205:29: note: in expansion of macro 'INST_0_BYTES'
1205 | #define LAYOUT_PAGES_COUNT (INST_0_BYTES / CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE)
| ^~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:1207:55: note: in expansion of macro 'LAYOUT_PAGES_COUNT'
1207 | BUILD_ASSERT((CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE * LAYOUT_PAGES_COUNT)
| ^~~~~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:1207:14: error: expression
in static assertion is not an integer
1207 | BUILD_ASSERT((CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE * LAYOUT_PAGES_COUNT)
| ^
In file included from H:/ES00C/Fork/mt-xos/zephyr/include/toolchain/gcc.h:66,
from H:/ES00C/Fork/mt-xos/zephyr/include/toolchain.h:50,
from H:/ES00C/Fork/mt-xos/zephyr/include/sys/errno_private.h:10,
from H:/ES00C/Fork/mt-xos/zephyr/lib/libc/minimal/include/errno.h:32,
from H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:12:
H:/ES00C/Fork/mt-xos/zephyr/include/device.h:81:39: error: '__device_dts_ord_DT_N_INST_0_jedec_spi_nor_BUS_ORD' undeclared here (not in a function)
81 | #define DEVICE_NAME_GET(name) _CONCAT(__device_, name)
| ^~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/device.h:233:37: note: in expansion of macro 'DEVICE_NAME_GET'
233 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_NAME(node_id))
| ^~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/device.h:247:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
247 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
| ^~~~~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/drivers/spi.h:333:10: note: in expansion of macro 'DEVICE_DT_GET'
333 | .bus = DEVICE_DT_GET(DT_BUS(node_id)), \
| ^~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/drivers/spi.h:351:2: note: in expansion of
macro 'SPI_DT_SPEC_GET'
351 | SPI_DT_SPEC_GET(DT_DRV_INST(inst), operation_, delay_)
| ^~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:1231:9: note: in expansion
of macro 'SPI_DT_SPEC_INST_GET'
1231 | .spi = SPI_DT_SPEC_INST_GET(0, SPI_WORD_SET(8),
| ^~~~~~~~~~~~~~~~~~~~
In file included from H:/ES00C/Fork/mt-xos/zephyr/include/arch/arm/aarch32/arch.h:20,
from H:/ES00C/Fork/mt-xos/zephyr/include/arch/cpu.h:19,
from H:/ES00C/Fork/mt-xos/zephyr/include/kernel_includes.h:33, from H:/ES00C/Fork/mt-xos/zephyr/include/kernel.h:17,
from H:/ES00C/Fork/mt-xos/zephyr/include/init.h:11,
from H:/ES00C/Fork/mt-xos/zephyr/include/device.h:29,
from H:/ES00C/Fork/mt-xos/zephyr/include/drivers/flash.h:26,
from H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:13:
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:305:40: error: 'DT_N_INST_0_jedec_spi_nor_P_spi_max_frequency' undeclared here (not in a function)
305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
| ^~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:2641:24: note: in definition of macro 'DT_CAT'
2641 | #define DT_CAT(a1, a2) a1 ## a2
| ^~
H:/ES00C/Fork/mt-xos/zephyr/include/drivers/spi.h:274:16: note: in expansion of macro 'DT_PROP'
274 | .frequency = DT_PROP(node_id, spi_max_frequency), \
| ^~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/drivers/spi.h:334:13: note: in expansion of macro 'SPI_CONFIG_DT'
334 | .config = SPI_CONFIG_DT(node_id, operation_, delay_) \
| ^~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/drivers/spi.h:351:2: note: in expansion of
macro 'SPI_DT_SPEC_GET'
351 | SPI_DT_SPEC_GET(DT_DRV_INST(inst), operation_, delay_)
| ^~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/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__)
| ^~~~~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/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))
| ^~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:2073:27: note: in expansion of macro 'DT_INST'
2073 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
| ^~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/drivers/spi.h:351:18: note: in expansion of macro 'DT_DRV_INST'
351 | SPI_DT_SPEC_GET(DT_DRV_INST(inst), operation_, delay_)
| ^~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:1231:9: note: in expansion
of macro 'SPI_DT_SPEC_INST_GET'
1231 | .spi = SPI_DT_SPEC_INST_GET(0, SPI_WORD_SET(8),
| ^~~~~~~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:305:40: error: 'DT_N_INST_0_jedec_spi_nor_REG_IDX_0_VAL_ADDRESS' undeclared here (not in a function); did you mean 'DT_N_S_cpus_S_cpu_0_REG_IDX_0_VAL_ADDRESS'?
305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
| ^~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:2641:24: note: in definition of macro 'DT_CAT'
2641 | #define DT_CAT(a1, a2) a1 ## a2
| ^~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:1355:30: note: in expansion of macro 'DT_REG_ADDR_BY_IDX'
1355 | #define DT_REG_ADDR(node_id) DT_REG_ADDR_BY_IDX(node_id, 0)
| ^~~~~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/drivers/spi.h:276:12: note: in expansion of macro 'DT_REG_ADDR'
276 | .slave = DT_REG_ADDR(node_id), \
| ^~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/drivers/spi.h:334:13: note: in expansion of macro 'SPI_CONFIG_DT'
334 | .config = SPI_CONFIG_DT(node_id, operation_, delay_) \
| ^~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/drivers/spi.h:351:2: note: in expansion of
macro 'SPI_DT_SPEC_GET'
351 | SPI_DT_SPEC_GET(DT_DRV_INST(inst), operation_, delay_)
| ^~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/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__)
| ^~~~~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/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))
| ^~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:2073:27: note: in expansion of macro 'DT_INST'
2073 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
| ^~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/drivers/spi.h:351:18: note: in expansion of macro 'DT_DRV_INST'
351 | SPI_DT_SPEC_GET(DT_DRV_INST(inst), operation_, delay_)
| ^~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:1231:9: note: in expansion
of macro 'SPI_DT_SPEC_INST_GET'
1231 | .spi = SPI_DT_SPEC_INST_GET(0, SPI_WORD_SET(8),
| ^~~~~~~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:305:40: error: 'DT_N_INST_0_jedec_spi_nor_P_jedec_id' undeclared here (not in a function)
305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
| ^~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:2641:24: note: in definition of macro 'DT_CAT'
2641 | #define DT_CAT(a1, a2) a1 ## a2
| ^~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:2110:34: note: in expansion of macro 'DT_PROP'
2110 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
| ^~~~~~~
H:/ES00C/Fork/mt-xos/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__)
| ^~~~~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/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))
| ^~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:2073:27: note: in expansion of macro 'DT_INST'
2073 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
| ^~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:2110:42: note: in expansion of macro 'DT_DRV_INST'
2110 | #define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
| ^~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:1244:14: note: in expansion of macro 'DT_INST_PROP'
1244 | .jedec_id = DT_INST_PROP(0, jedec_id),
| ^~~~~~~~~~~~
In file included from H:/ES00C/Fork/mt-xos/zephyr/include/drivers/flash.h:26,
from H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:13:
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:305:40: error: 'DT_N_INST_0_jedec_spi_nor_FULL_NAME' undeclared here (not in a function)
305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
| ^~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/device.h:794:11: note: in definition of macro 'Z_DEVICE_DEFINE'
794 | .name = drv_name, \
| ^~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/sys/util_internal.h:64:53: note: in expansion of macro '__DEBRACKET'
64 | #define __GET_ARG2_DEBRACKET(ignore_this, val, ...) __DEBRACKET val
| ^~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/sys/util_internal.h:59:2: note: in expansion of macro '__GET_ARG2_DEBRACKET'
59 | __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
| ^~~~~~~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/sys/util_internal.h:54:2: note: in expansion of macro '__COND_CODE'
54 | __COND_CODE(_XXXX##_flag, _if_1_code, _else_code)
| ^~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/sys/util_macro.h:157:2: note: in expansion
of macro 'Z_COND_CODE_1'
157 | Z_COND_CODE_1(_flag, _if_1_code, _else_code)
| ^~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:641:2: note: in expansion of macro 'COND_CODE_1'
641 | COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
| ^~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/device.h:156:2: note: in expansion of macro 'DT_PROP_OR'
156 | DT_PROP_OR(node_id, label, DT_NODE_FULL_NAME(node_id))
| ^~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:468:36: note: in expansion of
macro 'DT_CAT'
468 | #define DT_NODE_FULL_NAME(node_id) DT_CAT(node_id, _FULL_NAME)
| ^~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/device.h:156:29: note: in expansion of macro 'DT_NODE_FULL_NAME'
156 | DT_PROP_OR(node_id, label, DT_NODE_FULL_NAME(node_id))
| ^~~~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/device.h:199:4: note: in expansion of macro 'DEVICE_DT_NAME'
199 | DEVICE_DT_NAME(node_id), init_fn, \
| ^~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/device.h:215:2: note: in expansion of macro 'DEVICE_DT_DEFINE'
215 | DEVICE_DT_DEFINE(DT_DRV_INST(inst), __VA_ARGS__)
| ^~~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/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__)
| ^~~~~~~~~~~~~~~~~~
H:/ES00C/Fork/mt-xos/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))
| ^~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/include/devicetree.h:2073:27: note: in expansion of macro 'DT_INST' o 'DT_INST'
2073 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
| ^~~~~~~ _DRV_INST'
H:/ES00C/Fork/mt-xos/zephyr/include/device.h:215:19: note: in expansion of macro 'DT_DRV_INST'
215 | DEVICE_DT_DEFINE(DT_DRV_INST(inst), __VA_ARGS__) cro 'DEVICE_DT
| ^~~~~~~~~~~
H:/ES00C/Fork/mt-xos/zephyr/drivers/flash/spi_nor.c:1263:1: note: in expansion of macro 'DEVICE_DT_INST_DEFINE'
1263 | DEVICE_DT_INST_DEFINE(0, &spi_nor_init, NULL,
| ^~~~~~~~~~~~~~~~~~~~~
[133/194] Linking C static library zephyr\drivers\spi\libdrivers__spi.a
ninja: build stopped: subcommand failed. ubimage-build
[118/269] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj les/hello_worl
FAILED: modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_sge-stamp/mcuboubimage-build mcuboot/zephyr/zephyr.hex mcuboot/zephyr/zephyr.elf H:/ES00C/Fork/mt-xbuild/mcuboot/os/zephyr/samples/hello_world_spi_nor_ext_flash/build/modules/mcuboot/mcuboot_subimabuild/mcuboot/ge-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build H:/ES00C/Fork/mt-xos/zephyr/samples/hello_world_spi_nor_ext_flash/build/mcuboot/zephyr/zephyr.hex H:/ES00C/Fbuild\mcuboot ork/mt-xos/zephyr/samples/hello_world_spi_nor_ext_flash/build/mcuboot/zephyr/zephyr.elf
cmd.exe /C "cd /D H:\ES00C\Fork\mt-xos\zephyr\samples\hello_world_spi_nor_ext_flash\build\mcuboot && "D:\Program Files\CMake\bin\cmake.exe" --build . --" build 'H:\ES00
[124/269] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'D:\Program Files\CMake\bin\cmake.EXE' --build 'H:\ES00C\Fork\mt-xos\zephyr\samples\hello_world_spi_nor_ext_flash\build'