Executing task: nRF Connect: Generate config nrf52840dk/nrf52840 for c:\ncs\v2.9.1\zephyr\samples\st7789v_minimal_sample Building st7789v_minimal_sample C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build c:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample --pristine --board nrf52840dk/nrf52840 -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample" -- west build: generating a build system Loading Zephyr module(s) (Zephyr base): sysbuild_default -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf52840dk, qualifiers: nrf52840 Parsing C:/ncs/v2.9.1/zephyr/share/sysbuild/Kconfig Loaded configuration 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/_sysbuild/empty.conf' Merged configuration 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/_sysbuild/empty.conf' Configuration saved to 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/_sysbuild/autoconf.h' -- ******************************************** * Running CMake for st7789v_minimal_sample * ******************************************** Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf52840dk, qualifiers: nrf52840 -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v2.9.1/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840.dts -- Generated zephyr.dts: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/dts.cmake warning: ST7789V (defined at drivers/display/Kconfig.st7789v:6) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: DT_HAS_SITRONIX_ST7789V_ENABLED (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_ST7789V and/or look up ST7789V in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: MIPI_DBI_SPI (defined at drivers/mipi_dbi/Kconfig.spi:4) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: DT_HAS_ZEPHYR_MIPI_DBI_SPI_ENABLED (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MIPI_DBI_SPI and/or look up MIPI_DBI_SPI in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: The choice symbol ST7789V_RGB565 (defined at drivers/display/Kconfig.st7789v:24) was selected (set =y), but no symbol ended up as the choice selection. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_ST7789V_RGB565 and/or look up ST7789V_RGB565 in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: Experimental symbol MIPI_DBI is enabled. Parsing C:/ncs/v2.9.1/zephyr/Kconfig Loaded configuration 'C:/ncs/v2.9.1/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840_defconfig' Merged configuration 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/prj.conf' Merged configuration 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/.config.sysbuild' Configuration saved to 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Setting build type to 'MinSizeRel' as none was specified. -- Using ccache: C:/Strawberry/c/bin/ccache.exe CMake Warning at C:/ncs/v2.9.1/zephyr/CMakeLists.txt:952 (message): No SOURCES given to Zephyr library: drivers__display Excluding target from build. -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build -- west build: building application [4/158] Generating include/generated/zephyr/version.h -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr), build: v3.7.99-ncs2-1 [13/158] Building C object CMakeFiles/app.dir/src/main.c.obj FAILED: CMakeFiles/app.dir/src/main.c.obj ccache C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DNRF52840_XXAA -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/drivers/display -IC:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated/zephyr -IC:/ncs/v2.9.1/zephyr/include -IC:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated -IC:/ncs/v2.9.1/zephyr/soc/nordic -IC:/ncs/v2.9.1/zephyr/soc/nordic/nrf52/. -IC:/ncs/v2.9.1/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.1/nrf/include -IC:/ncs/v2.9.1/nrf/tests/include -IC:/ncs/v2.9.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.1/zephyr/modules/cmsis/. -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.1/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.1/modules/debug/segger/SEGGER -IC:/ncs/v2.9.1/modules/debug/segger/Config -isystem C:/ncs/v2.9.1/zephyr/lib/libc/common/include -isystem C:/ncs/v2.9.1/nrfxlib/crypto/nrf_cc310_platform/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -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=C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.1=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles\app.dir\src\main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c:7:6: warning: return type of 'main' is not 'int' [-Wmain] 7 | void main(void) | ^~~~ In file included from C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/gcc.h:98, from C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain.h:50, from C:/ncs/v2.9.1/zephyr/include/zephyr/kernel_includes.h:23, from C:/ncs/v2.9.1/zephyr/include/zephyr/kernel.h:17, from C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c:2: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c: In function 'main': C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:92:41: error: '__device_dts_ord_DT_CHOSEN_zephyr_display_ORD' undeclared (first use in this function) 92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT' 137 | #define _DO_CONCAT(x, y) x ## y | ^ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:92:33: note: in expansion of macro '_CONCAT' 92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:229:37: note: in expansion of macro 'DEVICE_NAME_GET' 229 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id)) | ^~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:246:34: note: in expansion of macro 'DEVICE_DT_NAME_GET' 246 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id)) | ^~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c:9:36: note: in expansion of macro 'DEVICE_DT_GET' 9 | const struct device *display = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); | ^~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:92:41: note: each undeclared identifier is reported only once for each function it appears in 92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT' 137 | #define _DO_CONCAT(x, y) x ## y | ^ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:92:33: note: in expansion of macro '_CONCAT' 92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:229:37: note: in expansion of macro 'DEVICE_NAME_GET' 229 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id)) | ^~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:246:34: note: in expansion of macro 'DEVICE_DT_NAME_GET' 246 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id)) | ^~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c:9:36: note: in expansion of macro 'DEVICE_DT_GET' 9 | const struct device *display = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); | ^~~~~~~~~~~~~ [18/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj ninja: build stopped: subcommand failed. FAILED: _sysbuild/sysbuild/images/st7789v_minimal_sample-prefix/src/st7789v_minimal_sample-stamp/st7789v_minimal_sample-build C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/_sysbuild/sysbuild/images/st7789v_minimal_sample-prefix/src/st7789v_minimal_sample-stamp/st7789v_minimal_sample-build cmd.exe /C "cd /D C:\ncs\v2.9.1\zephyr\samples\st7789v_minimal_sample\build\st7789v_minimal_sample && C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe --build ." ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' --build C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it. * Executing task: nRF Connect: Generate config nrf52840dk/nrf52840 for c:\ncs\v2.9.1\zephyr\samples\st7789v_minimal_sample Building st7789v_minimal_sample C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build c:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample --pristine --board nrf52840dk/nrf52840 -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample" -- west build: generating a build system Loading Zephyr module(s) (Zephyr base): sysbuild_default -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf52840dk, qualifiers: nrf52840 Parsing C:/ncs/v2.9.1/zephyr/share/sysbuild/Kconfig Loaded configuration 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/_sysbuild/empty.conf' Merged configuration 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/_sysbuild/empty.conf' Configuration saved to 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/_sysbuild/autoconf.h' -- ******************************************** * Running CMake for st7789v_minimal_sample * ******************************************** Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf52840dk, qualifiers: nrf52840 -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v2.9.1/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840.dts -- Generated zephyr.dts: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/dts.cmake warning: ST7789V (defined at drivers/display/Kconfig.st7789v:6) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: DT_HAS_SITRONIX_ST7789V_ENABLED (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_ST7789V and/or look up ST7789V in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: MIPI_DBI_SPI (defined at drivers/mipi_dbi/Kconfig.spi:4) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: DT_HAS_ZEPHYR_MIPI_DBI_SPI_ENABLED (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MIPI_DBI_SPI and/or look up MIPI_DBI_SPI in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: The choice symbol ST7789V_RGB565 (defined at drivers/display/Kconfig.st7789v:24) was selected (set =y), but no symbol ended up as the choice selection. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_ST7789V_RGB565 and/or look up ST7789V_RGB565 in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: Experimental symbol MIPI_DBI is enabled. Parsing C:/ncs/v2.9.1/zephyr/Kconfig Loaded configuration 'C:/ncs/v2.9.1/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840_defconfig' Merged configuration 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/prj.conf' Merged configuration 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/.config.sysbuild' Configuration saved to 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Setting build type to 'MinSizeRel' as none was specified. -- Using ccache: C:/Strawberry/c/bin/ccache.exe CMake Warning at C:/ncs/v2.9.1/zephyr/CMakeLists.txt:952 (message): No SOURCES given to Zephyr library: drivers__display Excluding target from build. -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build -- west build: building application [4/158] Generating include/generated/zephyr/version.h -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr), build: v3.7.99-ncs2-1 [12/158] Building C object CMakeFiles/app.dir/src/main.c.obj FAILED: CMakeFiles/app.dir/src/main.c.obj ccache C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DNRF52840_XXAA -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated/zephyr -IC:/ncs/v2.9.1/zephyr/include -IC:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated -IC:/ncs/v2.9.1/zephyr/soc/nordic -IC:/ncs/v2.9.1/zephyr/soc/nordic/nrf52/. -IC:/ncs/v2.9.1/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.1/nrf/include -IC:/ncs/v2.9.1/nrf/tests/include -IC:/ncs/v2.9.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.1/zephyr/modules/cmsis/. -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.1/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.1/modules/debug/segger/SEGGER -IC:/ncs/v2.9.1/modules/debug/segger/Config -isystem C:/ncs/v2.9.1/zephyr/lib/libc/common/include -isystem C:/ncs/v2.9.1/nrfxlib/crypto/nrf_cc310_platform/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -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=C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.1=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles\app.dir\src\main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c:7:6: warning: return type of 'main' is not 'int' [-Wmain] 7 | void main(void) | ^~~~ In file included from C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/gcc.h:98, from C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain.h:50, from C:/ncs/v2.9.1/zephyr/include/zephyr/kernel_includes.h:23, from C:/ncs/v2.9.1/zephyr/include/zephyr/kernel.h:17, from C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c:2: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c: In function 'main': C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:92:41: error: '__device_dts_ord_DT_CHOSEN_zephyr_display_ORD' undeclared (first use in this function) 92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT' 137 | #define _DO_CONCAT(x, y) x ## y | ^ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:92:33: note: in expansion of macro '_CONCAT' 92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:229:37: note: in expansion of macro 'DEVICE_NAME_GET' 229 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id)) | ^~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:246:34: note: in expansion of macro 'DEVICE_DT_NAME_GET' 246 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id)) | ^~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c:9:36: note: in expansion of macro 'DEVICE_DT_GET' 9 | const struct device *display = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); | ^~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:92:41: note: each undeclared identifier is reported only once for each function it appears in 92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT' 137 | #define _DO_CONCAT(x, y) x ## y | ^ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:92:33: note: in expansion of macro '_CONCAT' 92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:229:37: note: in expansion of macro 'DEVICE_NAME_GET' 229 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id)) | ^~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:246:34: note: in expansion of macro 'DEVICE_DT_NAME_GET' 246 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id)) | ^~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c:9:36: note: in expansion of macro 'DEVICE_DT_GET' 9 | const struct device *display = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); | ^~~~~~~~~~~~~ [17/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj ninja: build stopped: subcommand failed. FAILED: _sysbuild/sysbuild/images/st7789v_minimal_sample-prefix/src/st7789v_minimal_sample-stamp/st7789v_minimal_sample-build C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/_sysbuild/sysbuild/images/st7789v_minimal_sample-prefix/src/st7789v_minimal_sample-stamp/st7789v_minimal_sample-build cmd.exe /C "cd /D C:\ncs\v2.9.1\zephyr\samples\st7789v_minimal_sample\build\st7789v_minimal_sample && C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe --build ." ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' --build C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it. * Executing task: nRF Connect: Generate config nrf52840dk/nrf52840 for c:\ncs\v2.9.1\zephyr\samples\st7789v_minimal_sample Building st7789v_minimal_sample C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build c:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample --pristine --board nrf52840dk/nrf52840 -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample" -- west build: generating a build system Loading Zephyr module(s) (Zephyr base): sysbuild_default -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf52840dk, qualifiers: nrf52840 Parsing C:/ncs/v2.9.1/zephyr/share/sysbuild/Kconfig Loaded configuration 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/_sysbuild/empty.conf' Merged configuration 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/_sysbuild/empty.conf' Configuration saved to 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/_sysbuild/autoconf.h' -- ******************************************** * Running CMake for st7789v_minimal_sample * ******************************************** Loading Zephyr default modules (Zephyr base). -- Application: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf52840dk, qualifiers: nrf52840 -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v2.9.1/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840.dts -- Generated zephyr.dts: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/dts.cmake warning: ST7789V (defined at drivers/display/Kconfig.st7789v:6) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: DT_HAS_SITRONIX_ST7789V_ENABLED (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_ST7789V and/or look up ST7789V in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: The choice symbol ST7789V_RGB565 (defined at drivers/display/Kconfig.st7789v:24) was selected (set =y), but no symbol ended up as the choice selection. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_ST7789V_RGB565 and/or look up ST7789V_RGB565 in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: Experimental symbol MIPI_DBI is enabled. Parsing C:/ncs/v2.9.1/zephyr/Kconfig Loaded configuration 'C:/ncs/v2.9.1/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840_defconfig' Merged configuration 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/prj.conf' Merged configuration 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/.config.sysbuild' Configuration saved to 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/.config' Kconfig header saved to 'C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Setting build type to 'MinSizeRel' as none was specified. -- Using ccache: C:/Strawberry/c/bin/ccache.exe CMake Warning at C:/ncs/v2.9.1/zephyr/CMakeLists.txt:952 (message): No SOURCES given to Zephyr library: drivers__display Excluding target from build. -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample -- Configuring done -- Generating done -- Build files have been written to: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build -- west build: building application [4/158] Generating include/generated/zephyr/version.h -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr), build: v3.7.99-ncs2-1 [15/158] Building C object CMakeFiles/app.dir/src/main.c.obj FAILED: CMakeFiles/app.dir/src/main.c.obj ccache C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -DNRF52840_XXAA -DPICOLIBC_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated/zephyr -IC:/ncs/v2.9.1/zephyr/include -IC:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated -IC:/ncs/v2.9.1/zephyr/soc/nordic -IC:/ncs/v2.9.1/zephyr/soc/nordic/nrf52/. -IC:/ncs/v2.9.1/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.1/nrf/include -IC:/ncs/v2.9.1/nrf/tests/include -IC:/ncs/v2.9.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.1/zephyr/modules/cmsis/. -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.1/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.1/modules/debug/segger/SEGGER -IC:/ncs/v2.9.1/modules/debug/segger/Config -isystem C:/ncs/v2.9.1/zephyr/lib/libc/common/include -isystem C:/ncs/v2.9.1/nrfxlib/crypto/nrf_cc310_platform/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/st7789v_minimal_sample/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -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=C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.1=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles\app.dir\src\main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c:7:6: warning: return type of 'main' is not 'int' [-Wmain] 7 | void main(void) | ^~~~ In file included from C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/gcc.h:98, from C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain.h:50, from C:/ncs/v2.9.1/zephyr/include/zephyr/kernel_includes.h:23, from C:/ncs/v2.9.1/zephyr/include/zephyr/kernel.h:17, from C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c:2: C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c: In function 'main': C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:92:41: error: '__device_dts_ord_DT_CHOSEN_zephyr_display_ORD' undeclared (first use in this function) 92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT' 137 | #define _DO_CONCAT(x, y) x ## y | ^ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:92:33: note: in expansion of macro '_CONCAT' 92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:229:37: note: in expansion of macro 'DEVICE_NAME_GET' 229 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id)) | ^~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:246:34: note: in expansion of macro 'DEVICE_DT_NAME_GET' 246 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id)) | ^~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c:9:36: note: in expansion of macro 'DEVICE_DT_GET' 9 | const struct device *display = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); | ^~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:92:41: note: each undeclared identifier is reported only once for each function it appears in 92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT' 137 | #define _DO_CONCAT(x, y) x ## y | ^ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:92:33: note: in expansion of macro '_CONCAT' 92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:229:37: note: in expansion of macro 'DEVICE_NAME_GET' 229 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id)) | ^~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:246:34: note: in expansion of macro 'DEVICE_DT_NAME_GET' 246 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id)) | ^~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/src/main.c:9:36: note: in expansion of macro 'DEVICE_DT_GET' 9 | const struct device *display = DEVICE_DT_GET(DT_CHOSEN(zephyr_display)); | ^~~~~~~~~~~~~ [20/158] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj ninja: build stopped: subcommand failed. FAILED: _sysbuild/sysbuild/images/st7789v_minimal_sample-prefix/src/st7789v_minimal_sample-stamp/st7789v_minimal_sample-build C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build/_sysbuild/sysbuild/images/st7789v_minimal_sample-prefix/src/st7789v_minimal_sample-stamp/st7789v_minimal_sample-build cmd.exe /C "cd /D C:\ncs\v2.9.1\zephyr\samples\st7789v_minimal_sample\build\st7789v_minimal_sample && C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe --build ." ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' --build C:/ncs/v2.9.1/zephyr/samples/st7789v_minimal_sample/build * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it. ssss