An error was reported when compiling the project using vs code.

I am planning to upgrade a client's project from v1.9.0 to v2.3.0. As we know, the v2.3.0 version of the SDK can only be compiled using the vs code tool. However, when compiling my project, it reported this error. Why is this? The following is all the compiled information:

* Executing task: nRF Connect: Build [pristine]: E2_V3_NCS2.3.0_TEST/build (active)

Building E2_V3_NCS2.3.0_TEST
C:\Windows\system32\cmd.exe /d /s /c "west build --build-dir d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\build d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST --pristine --board nrf9160dk_nrf9160_ns -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DDTC_OVERLAY_FILE:STRING="d:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/nrf9160dk_nrf9160_ns.overlay" -DCONF_FILE:STRING="d:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/prj.conf""

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST
-- Found Python3: D:/software/ncs/toolchains/v2.3.0/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
-- Cache files will be written to: C:\Users\Administrator\AppData\Local/.cache/zephyr
-- Zephyr version: 3.2.99 (D:/software/ncs/v2.3.0/zephyr)
-- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
-- Board: nrf9160dk_nrf9160_ns, Revision: 0.7.0
-- Found host-tools: zephyr 0.15.2 (D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.15.2 (D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk)
-- Found Dtc: D:/software/ncs/toolchains/v2.3.0/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found BOARD.dts: D:/software/ncs/v2.3.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts
-- Found devicetree overlay: d:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/nrf9160dk_nrf9160_ns.overlay
-- Generated zephyr.dts: D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/dts.cmake

warning: LOG_MODE_OVERFLOW (defined at subsys/logging\Kconfig.processing:16) was assigned the value
'y' but got the value 'n'. Check these unsatisfied dependencies: LOG_MODE_DEFERRED (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up
LOG_MODE_OVERFLOW 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.

Parsing D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/Kconfig
Loaded configuration 'D:/software/ncs/v2.3.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_defconfig'
Merged configuration 'd:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/prj.conf'
Configuration saved to 'D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/.config'
Kconfig header saved to 'D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0
-- The ASM compiler identification is GNU
-- Found assembler: D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
-- Found Python3: D:/software/ncs/toolchains/v2.3.0/opt/bin/python.exe (found version "3.8.2") found components: Interpreter
Changed board to secure nrf9160dk_nrf9160 (NOT NS)

=== child image mcuboot - begin ===
loading initial cache file D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/mcuboot/child_image_preload.cmake
Loading Zephyr default modules (Zephyr base).
-- Application: D:/software/ncs/v2.3.0/bootloader/mcuboot/boot/zephyr
-- Found Python3: D:/software/ncs/toolchains/v2.3.0/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
-- Cache files will be written to: C:\Users\Administrator\AppData\Local/.cache/zephyr
-- Zephyr version: 3.2.99 (D:/software/ncs/v2.3.0/zephyr)
-- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
-- Board: nrf9160dk_nrf9160, Revision: 0.7.0
-- Found host-tools: zephyr 0.15.2 (D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.15.2 (D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk)
-- Found Dtc: D:/software/ncs/toolchains/v2.3.0/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found BOARD.dts: D:/software/ncs/v2.3.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.dts
-- Found devicetree overlay: D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/child_image/mcuboot.overlay
-- Found devicetree overlay: D:/software/ncs/v2.3.0/bootloader/mcuboot/boot/zephyr/dts.overlay
-- Generated zephyr.dts: D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/mcuboot/zephyr/zephyr.dts
-- Generated devicetree_generated.h: D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/mcuboot/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/mcuboot/zephyr/dts.cmake

warning: RTT_CONSOLE (defined at drivers/console/Kconfig:115) was assigned the value 'y' but got the
value 'n'. Check these unsatisfied dependencies: USE_SEGGER_RTT (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up RTT_CONSOLE 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.

Parsing D:/software/ncs/v2.3.0/bootloader/mcuboot/boot/zephyr/Kconfig
Loaded configuration 'D:/software/ncs/v2.3.0/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_defconfig'
Merged configuration 'D:/software/ncs/v2.3.0/bootloader/mcuboot/boot/zephyr/prj.conf'
Merged configuration 'D:/software/ncs/v2.3.0/nrf/subsys/partition_manager/partition_manager_enabled.conf'
Merged configuration 'D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/child_image/mcuboot.conf'
Merged configuration 'D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to 'D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/mcuboot/zephyr/.config'
Kconfig header saved to 'D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/mcuboot/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0
-- The ASM compiler identification is GNU
-- Found assembler: D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
CMake Warning at D:/software/ncs/v2.3.0/zephyr/CMakeLists.txt:824 (message):
No SOURCES given to Zephyr library: drivers__console

Excluding target from build.


MCUBoot bootloader key file: D:/software/ncs/v2.3.0/bootloader/mcuboot/root-ec-p256.pem
-- Configuring done
-- Generating done
-- Build files have been written to: D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/mcuboot
=== child image mcuboot - end ===

CMake Warning at D:/software/ncs/v2.3.0/nrf/modules/mcuboot/CMakeLists.txt:286 (message):

---------------------------------------------------------
--- WARNING: Using default MCUBoot key, it should not ---
--- be used for production. ---
---------------------------------------------------------

CMake Warning at D:/software/ncs/v2.3.0/zephyr/CMakeLists.txt:1838 (message):
__ASSERT() statements are globally ENABLED


Dropping partition 'nrf_modem_lib_trace' since its size is 0.
Dropping partition 'sram_secure' since it is empty.
Dropping partition 'mcuboot_sram' since it is empty.
-- Configuring done
-- Generating done
-- Build files have been written to: D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build
-- west build: building application
[1/304] Generating include/generated/version.h
-- Zephyr version: 3.2.99 (D:/software/ncs/v2.3.0/zephyr), build: v3.2.99-ncs2
[2/304] Creating directories for 'mcuboot_subimage'
[3/304] No download step for 'mcuboot_subimage'
[4/304] No update step for 'mcuboot_subimage'
[5/304] No patch step for 'mcuboot_subimage'
[6/304] No configure step for 'mcuboot_subimage'
[6/304] Performing build step for 'mcuboot_subimage'
[1/187] Generating include/generated/version.h
-- Zephyr version: 3.2.99 (D:/software/ncs/v2.3.0/zephyr), build: v3.2.99-ncs2
[2/187] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[3/187] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[4/187] Generating include/generated/driver-validation.h
[5/187] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[6/187] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[7/187] Generating include/generated/offsets.h
[8/187] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj
[9/187] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[10/187] Building C object zephyr/CMakeFiles/zephyr.dir/D_/software/ncs/v2.3.0/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
[11/187] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
[12/187] Generating linker_zephyr_pre1.cmd
[13/187] Building C object zephyr/CMakeFiles/zephyr.dir/D_/software/ncs/v2.3.0/nrfxlib/crypto/nrf_cc310_platform/src/nrf_cc3xx_platform_abort_zephyr.c.obj
[14/187] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
[15/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[16/187] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf91/soc.c.obj
[17/187] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
[18/187] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map.c.obj
[19/187] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map_layout.c.obj
[20/187] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[21/187] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
[22/187] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[23/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[24/187] Building C object zephyr/CMakeFiles/zephyr.dir/D_/software/ncs/v2.3.0/nrfxlib/crypto/nrf_cc310_platform/src/nrf_cc3xx_platform_no_mutex_zephyr.c.obj
[25/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[26/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[27/187] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[28/187] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[29/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[30/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[31/187] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[32/187] Generating linker_zephyr_pre0.cmd
[33/187] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[34/187] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[35/187] Linking C static library zephyr\arch\common\libisr_tables.a
[36/187] Generating zephyr/autogen-pubkey.c
[37/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[38/187] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[39/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[40/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[41/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[42/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[43/187] Linking C static library zephyr\arch\common\libarch__common.a
[44/187] Linking C static library zephyr\arch\arch\arm\core\aarch32\libarch__arm__core__aarch32.a
[45/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[46/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[47/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[48/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[49/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
[50/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[51/187] Building C object CMakeFiles/app.dir/keys.c.obj
[52/187] Building C object CMakeFiles/app.dir/os.c.obj
[53/187] Building C object CMakeFiles/app.dir/flash_map_extended.c.obj
[54/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/boot/bootutil/src/image_rsa.c.obj
[55/187] Building C object CMakeFiles/app.dir/main.c.obj
[56/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/boot/bootutil/src/image_ed25519.c.obj
[57/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj
[58/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/boot/bootutil/src/encrypted.c.obj
[59/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/boot/bootutil/src/fault_injection_hardening.c.obj
[60/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj
[61/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/boot/bootutil/src/swap_misc.c.obj
[62/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/boot/bootutil/src/image_ec256.c.obj
[63/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj
[64/187] Building C object CMakeFiles/app.dir/zephyr/autogen-pubkey.c.obj
[65/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[66/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/ext/mbedtls-asn1/src/platform_util.c.obj
[67/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32c_sw.c.obj
[68/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/boot/bootutil/src/caps.c.obj
[69/187] Building C object CMakeFiles/app.dir/arm_cleanup.c.obj
[70/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/ext/nrf/cc310_glue.c.obj
[71/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
[72/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/boot/bootutil/src/swap_scratch.c.obj
[73/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[74/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[75/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/ext/mbedtls-asn1/src/asn1parse.c.obj
[76/187] Building C object CMakeFiles/app.dir/nrf_cleanup.c.obj
[77/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[78/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[79/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[80/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[81/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
[82/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
[83/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
[84/187] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[85/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[86/187] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
[87/187] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[88/187] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_nano.c.obj
[89/187] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[90/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/boot/bootutil/src/loader.c.obj
[91/187] Building C object CMakeFiles/app.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/boot/bootutil/src/swap_move.c.obj
[92/187] Generating ../../../include/generated/libc/minimal/strerror_table.h
[93/187] Building C object zephyr/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj
[94/187] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj
[95/187] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[96/187] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/CMakeFiles/arch__arm__core__aarch32__cortex_m__cmse.dir/arm_core_cmse.c.obj
[97/187] Building C object zephyr/boards/boards/arm/nrf9160dk_nrf9160/CMakeFiles/boards__arm__nrf9160dk_nrf9160.dir/nrf52840_reset.c.obj
[98/187] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
[99/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/math/sqrtf.c.obj
[100/187] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_page_layout.c.obj
[101/187] Linking C static library app\libapp.a
[102/187] Linking C static library zephyr\libzephyr.a
[103/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[104/187] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj
[105/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[106/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[107/187] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_nrf.c.obj
[108/187] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\cmse\libarch__arm__core__aarch32__cortex_m__cmse.a
[109/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[110/187] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_mpu.c.obj
[111/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
[112/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[113/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[114/187] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
[115/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoll.c.obj
[116/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoull.c.obj
[117/187] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[118/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[119/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[120/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[121/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/math/sqrt.c.obj
[122/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/qsort.c.obj
[123/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strerror.c.obj
[124/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[125/187] Linking C static library zephyr\soc\arm\common\cortex_m\libsoc__arm__common__cortex_m.a
[126/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[127/187] Linking C static library zephyr\arch\arch\arm\core\aarch32\mpu\libarch__arm__core__aarch32__mpu.a
[128/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[129/187] Linking C static library zephyr\boards\boards\arm\nrf9160dk_nrf9160\libboards__arm__nrf9160dk_nrf9160.a
[130/187] Linking C static library zephyr\drivers\serial\libdrivers__serial.a
[131/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[132/187] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
[133/187] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\libarch__arm__core__aarch32__cortex_m.a
[134/187] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[135/187] Linking C static library zephyr\drivers\gpio\libdrivers__gpio.a
[136/187] Linking C static library zephyr\drivers\clock_control\libdrivers__clock_control.a
[137/187] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
[138/187] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_nrf.c.obj
[139/187] Building C object modules/nrf/drivers/hw_cc310/CMakeFiles/..__nrf__drivers__hw_cc310.dir/hw_cc310.c.obj
[140/187] Building C object modules/nrf/lib/fprotect/CMakeFiles/..__nrf__lib__fprotect.dir/fprotect_spu.c.obj
[141/187] Building C object modules/nrf/lib/fatal_error/CMakeFiles/..__nrf__lib__fatal_error.dir/fatal_error.c.obj
[142/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/D_/software/ncs/v2.3.0/modules/hal/nordic/nrfx/mdk/system_nrf9160.c.obj
[143/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/D_/software/ncs/v2.3.0/modules/hal/nordic/nrfx/helpers/nrfx_flag32_allocator.c.obj
[144/187] Building C object modules/mcuboot/boot/bootutil/zephyr/CMakeFiles/mcuboot_util.dir/D_/software/ncs/v2.3.0/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c.obj
[145/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
[146/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/D_/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj
[147/187] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/soc_flash_nrf.c.obj
[148/187] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/nrf_rtc_timer.c.obj
[149/187] Linking C static library zephyr\lib\libc\minimal\liblib__libc__minimal.a
[150/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/D_/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/src/nrfx_dppi.c.obj
[151/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/D_/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/src/nrfx_gpiote.c.obj
[152/187] Linking C static library zephyr\drivers\pinctrl\libdrivers__pinctrl.a
[153/187] Linking C static library modules\nrf\drivers\hw_cc310\lib..__nrf__drivers__hw_cc310.a
[154/187] Linking C static library modules\nrf\lib\fprotect\lib..__nrf__lib__fprotect.a
[155/187] Linking C static library modules\nrf\lib\fatal_error\lib..__nrf__lib__fatal_error.a
[156/187] Linking C static library modules\mcuboot\boot\bootutil\zephyr\libmcuboot_util.a
[157/187] Linking C static library zephyr\drivers\timer\libdrivers__timer.a
[158/187] Linking C static library zephyr\drivers\flash\libdrivers__flash.a
[159/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
[160/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
[161/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
[162/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
[163/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
[164/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/D_/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/src/nrfx_wdt.c.obj
[165/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
[166/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
[167/187] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/D_/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
[168/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
[169/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
[170/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
[171/187] Linking C static library modules\hal_nordic\nrfx\libmodules__hal_nordic__nrfx.a
[172/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
[173/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
[174/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
[175/187] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
[176/187] Linking C static library zephyr\kernel\libkernel.a
[177/187] Linking C executable zephyr\zephyr_pre0.elf

[178/187] Generating dev_handles.c
[179/187] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/misc/empty_file.c.obj
[180/187] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/dev_handles.c.obj
[181/187] Linking C executable zephyr\zephyr_pre1.elf

[182/187] Generating linker.cmd
[183/187] Generating isr_tables.c, isrList.bin
[184/187] Building C object zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj
[185/187] Building C object zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj
[186/187] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj
[187/187] Linking C executable zephyr\zephyr.elf
FAILED: zephyr/zephyr.elf zephyr/zephyr.map zephyr/zephyr.hex zephyr/zephyr.bin zephyr/zephyr.meta zephyr/zephyr.lst zephyr/zephyr.stat
cmd.exe /C "cd . && D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -gdwarf-4 zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj -o zephyr\zephyr.elf -Wl,-T zephyr/linker.cmd -Wl,-Map=D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/mcuboot/zephyr/zephyr_final.map -Wl,--whole-archive app/libapp.a zephyr/libzephyr.a zephyr/arch/common/libarch__common.a zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a zephyr/arch/arch/arm/core/aarch32/cortex_m/cmse/libarch__arm__core__aarch32__cortex_m__cmse.a zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a zephyr/lib/libc/minimal/liblib__libc__minimal.a zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a zephyr/boards/boards/arm/nrf9160dk_nrf9160/libboards__arm__nrf9160dk_nrf9160.a zephyr/drivers/clock_control/libdrivers__clock_control.a zephyr/drivers/gpio/libdrivers__gpio.a zephyr/drivers/flash/libdrivers__flash.a zephyr/drivers/serial/libdrivers__serial.a zephyr/drivers/timer/libdrivers__timer.a zephyr/drivers/pinctrl/libdrivers__pinctrl.a modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a modules/nrf/drivers/hw_cc310/lib..__nrf__drivers__hw_cc310.a modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj -L"d:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/thumb/v8-m.main+fp/hard" -LD:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/mcuboot/zephyr -lgcc -Wl,--print-memory-usage zephyr/arch/common/libisr_tables.a -no-pie -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mfp16-format=ieee -Wl,--gc-sections -Wl,--build-id=none -Wl,--sort-common=descending -Wl,--sort-section=alignment -Wl,-u,_OffsetAbsSyms -Wl,-u,_ConfigAbsSyms -nostdlib -static -Wl,-X -Wl,-N -Wl,--orphan-handling=warn D:/software/ncs/v2.3.0/nrfxlib/crypto/nrf_cc310_platform/lib/cortex-m33/hard-float/no-interrupts/libnrf_cc310_platform_0.9.16.a D:/software/ncs/v2.3.0/nrfxlib/crypto/nrf_cc310_bl/lib/cortex-m33/hard-float/no-interrupts/libnrf_cc310_bl_0.9.12.a && cmd.exe /C "cd /D D:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\build\mcuboot\zephyr && D:\software\ncs\toolchains\v2.3.0\opt\bin\cmake.exe -E copy zephyr_final.map zephyr.map && D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-objcopy.exe --gap-fill 0xff --output-target=ihex --remove-section=.comment --remove-section=COMMON --remove-section=.eh_frame zephyr.elf zephyr.hex && D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-objcopy.exe --gap-fill 0xff --output-target=binary --remove-section=.comment --remove-section=COMMON --remove-section=.eh_frame zephyr.elf zephyr.bin && D:\software\ncs\toolchains\v2.3.0\opt\bin\python.exe D:/software/ncs/v2.3.0/zephyr/scripts/zephyr_module.py --zephyr-base D:/software/ncs/v2.3.0/zephyr --meta-out zephyr.meta && D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-objdump.exe -d -S zephyr.elf > zephyr.lst && D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-readelf.exe -e zephyr.elf > zephyr.stat""
Memory region Used Size Region Size %age Used
FLASH: 33164 B 48 KB 67.47%
RAM: 16416 B 244376 B 6.72%
IDT_LIST: 0 GB 2 KB 0.00%
Traceback (most recent call last):
File "D:/software/ncs/v2.3.0/zephyr/scripts/zephyr_module.py", line 624, in <module>
main()
File "D:/software/ncs/v2.3.0/zephyr/scripts/zephyr_module.py", line 616, in main
meta = process_meta(args.zephyr_base, west_projs, modules,
File "D:/software/ncs/v2.3.0/zephyr/scripts/zephyr_module.py", line 392, in process_meta
if project.sha(MANIFEST_REV_BRANCH) != revision:
File "d:\software\ncs\toolchains\v2.3.0\opt\bin\Lib\site-packages\west\manifest.py", line 861, in sha
cp = self.git(f'rev-parse {rev}^{{commit}}', capture_stdout=True,
File "d:\software\ncs\toolchains\v2.3.0\opt\bin\Lib\site-packages\west\manifest.py", line 845, in git
raise subprocess.CalledProcessError(popen.returncode, cmd_list,
subprocess.CalledProcessError: Command '['rev-parse', 'manifest-rev^{commit}']' returned non-zero exit status 128.
ninja: build stopped: subcommand failed.
[13/304] Building C object CMakeFiles/app.dir/src/crc_check/crc_check.c.obj
FAILED: CMakeFiles/app.dir/src/crc_check/crc_check.c.obj
D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DAPP_VERSION=v2.3.0 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,23298 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,23298 -DKERNEL -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -Id:/software/ncs/v2.3.0/zephyr/subsys/fs/nvs -ID:/software/ncs/v2.3.0/zephyr/include -Izephyr/include/generated -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/nrf91 -ID:/software/ncs/v2.3.0/zephyr/lib/libc/newlib/include -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/. -ID:/software/ncs/v2.3.0/zephyr/subsys/net/lib/sockets/. -ID:/software/ncs/v2.3.0/nrf/include -ID:/software/ncs/v2.3.0/nrf/lib/at_cmd_parser/include -ID:/software/ncs/v2.3.0/nrf/subsys/net/lib/fota_download/./include -ID:/software/ncs/v2.3.0/nrf/tests/include -ID:/software/ncs/v2.3.0/modules/hal/cmsis/CMSIS/Core/Include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/mdk -ID:/software/ncs/v2.3.0/zephyr/modules/hal_nordic/nrfx/. -ID:/software/ncs/v2.3.0/modules/debug/segger/SEGGER -ID:/software/ncs/v2.3.0/modules/debug/segger/Config -ID:/software/ncs/v2.3.0/zephyr/modules/segger/. -ID:/software/ncs/v2.3.0/nrfxlib/nrf_modem/include -I../src/datetime/. -I../src/font/. -I../src/image/. -I../src/lcd/. -I../src/key/. -I../src/settings/. -I../src/inner_flash/. -I../src/external_flash/. -I../src/uart_ble/. -I../src/gps/. -I../src/nb/. -I../src/screen/. -I../src/pmu/. -I../src/sos/. -I../src/codetrans/. -I../src/ucs2/. -I../src/communicate/. -I../src/logger/. -I../src/animation/. -I../src/tp/. -I../src/imu/. -I../src/ppg/. -I../src/temperature/. -I../src/crc_check/. -I../src/sync/. -I../src/wifi/. -I../src/watchdog/. -I../src/fota/. -I../src/data_download/. -fno-strict-aliasing -Os -imacros D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros D:/software/ncs/v2.3.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST=CMAKE_SOURCE_DIR -fmacro-prefix-map=D:/software/ncs/v2.3.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=D:/software/ncs/v2.3.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/crc_check/crc_check.c.obj -MF CMakeFiles\app.dir\src\crc_check\crc_check.c.obj.d -o CMakeFiles/app.dir/src/crc_check/crc_check.c.obj -c ../src/crc_check/crc_check.c
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\crc_check\crc_check.c:10:10: fatal error: device.h: No such file or directory
10 | #include <device.h>
| ^~~~~~~~~~
compilation terminated.
[14/304] Building C object CMakeFiles/app.dir/src/ppg/max_sh_interface.c.obj
FAILED: CMakeFiles/app.dir/src/ppg/max_sh_interface.c.obj
D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DAPP_VERSION=v2.3.0 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,23298 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,23298 -DKERNEL -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -Id:/software/ncs/v2.3.0/zephyr/subsys/fs/nvs -ID:/software/ncs/v2.3.0/zephyr/include -Izephyr/include/generated -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/nrf91 -ID:/software/ncs/v2.3.0/zephyr/lib/libc/newlib/include -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/. -ID:/software/ncs/v2.3.0/zephyr/subsys/net/lib/sockets/. -ID:/software/ncs/v2.3.0/nrf/include -ID:/software/ncs/v2.3.0/nrf/lib/at_cmd_parser/include -ID:/software/ncs/v2.3.0/nrf/subsys/net/lib/fota_download/./include -ID:/software/ncs/v2.3.0/nrf/tests/include -ID:/software/ncs/v2.3.0/modules/hal/cmsis/CMSIS/Core/Include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/mdk -ID:/software/ncs/v2.3.0/zephyr/modules/hal_nordic/nrfx/. -ID:/software/ncs/v2.3.0/modules/debug/segger/SEGGER -ID:/software/ncs/v2.3.0/modules/debug/segger/Config -ID:/software/ncs/v2.3.0/zephyr/modules/segger/. -ID:/software/ncs/v2.3.0/nrfxlib/nrf_modem/include -I../src/datetime/. -I../src/font/. -I../src/image/. -I../src/lcd/. -I../src/key/. -I../src/settings/. -I../src/inner_flash/. -I../src/external_flash/. -I../src/uart_ble/. -I../src/gps/. -I../src/nb/. -I../src/screen/. -I../src/pmu/. -I../src/sos/. -I../src/codetrans/. -I../src/ucs2/. -I../src/communicate/. -I../src/logger/. -I../src/animation/. -I../src/tp/. -I../src/imu/. -I../src/ppg/. -I../src/temperature/. -I../src/crc_check/. -I../src/sync/. -I../src/wifi/. -I../src/watchdog/. -I../src/fota/. -I../src/data_download/. -fno-strict-aliasing -Os -imacros D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros D:/software/ncs/v2.3.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST=CMAKE_SOURCE_DIR -fmacro-prefix-map=D:/software/ncs/v2.3.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=D:/software/ncs/v2.3.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/ppg/max_sh_interface.c.obj -MF CMakeFiles\app.dir\src\ppg\max_sh_interface.c.obj.d -o CMakeFiles/app.dir/src/ppg/max_sh_interface.c.obj -c ../src/ppg/max_sh_interface.c
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\ppg\max_sh_interface.c:10:10: fatal error: device.h: No such file or directory
10 | #include <device.h>
| ^~~~~~~~~~
compilation terminated.
[15/304] Building C object CMakeFiles/app.dir/src/imu/lsm6dso.c.obj
FAILED: CMakeFiles/app.dir/src/imu/lsm6dso.c.obj
D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DAPP_VERSION=v2.3.0 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,23298 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,23298 -DKERNEL -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -Id:/software/ncs/v2.3.0/zephyr/subsys/fs/nvs -ID:/software/ncs/v2.3.0/zephyr/include -Izephyr/include/generated -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/nrf91 -ID:/software/ncs/v2.3.0/zephyr/lib/libc/newlib/include -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/. -ID:/software/ncs/v2.3.0/zephyr/subsys/net/lib/sockets/. -ID:/software/ncs/v2.3.0/nrf/include -ID:/software/ncs/v2.3.0/nrf/lib/at_cmd_parser/include -ID:/software/ncs/v2.3.0/nrf/subsys/net/lib/fota_download/./include -ID:/software/ncs/v2.3.0/nrf/tests/include -ID:/software/ncs/v2.3.0/modules/hal/cmsis/CMSIS/Core/Include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/mdk -ID:/software/ncs/v2.3.0/zephyr/modules/hal_nordic/nrfx/. -ID:/software/ncs/v2.3.0/modules/debug/segger/SEGGER -ID:/software/ncs/v2.3.0/modules/debug/segger/Config -ID:/software/ncs/v2.3.0/zephyr/modules/segger/. -ID:/software/ncs/v2.3.0/nrfxlib/nrf_modem/include -I../src/datetime/. -I../src/font/. -I../src/image/. -I../src/lcd/. -I../src/key/. -I../src/settings/. -I../src/inner_flash/. -I../src/external_flash/. -I../src/uart_ble/. -I../src/gps/. -I../src/nb/. -I../src/screen/. -I../src/pmu/. -I../src/sos/. -I../src/codetrans/. -I../src/ucs2/. -I../src/communicate/. -I../src/logger/. -I../src/animation/. -I../src/tp/. -I../src/imu/. -I../src/ppg/. -I../src/temperature/. -I../src/crc_check/. -I../src/sync/. -I../src/wifi/. -I../src/watchdog/. -I../src/fota/. -I../src/data_download/. -fno-strict-aliasing -Os -imacros D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros D:/software/ncs/v2.3.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST=CMAKE_SOURCE_DIR -fmacro-prefix-map=D:/software/ncs/v2.3.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=D:/software/ncs/v2.3.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/imu/lsm6dso.c.obj -MF CMakeFiles\app.dir\src\imu\lsm6dso.c.obj.d -o CMakeFiles/app.dir/src/imu/lsm6dso.c.obj -c ../src/imu/lsm6dso.c
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\imu\lsm6dso.c:12:10: fatal error: device.h: No such file or directory
12 | #include <device.h>
| ^~~~~~~~~~
compilation terminated.
[16/304] Building C object CMakeFiles/app.dir/src/animation/animation.c.obj
FAILED: CMakeFiles/app.dir/src/animation/animation.c.obj
D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DAPP_VERSION=v2.3.0 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,23298 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,23298 -DKERNEL -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -Id:/software/ncs/v2.3.0/zephyr/subsys/fs/nvs -ID:/software/ncs/v2.3.0/zephyr/include -Izephyr/include/generated -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/nrf91 -ID:/software/ncs/v2.3.0/zephyr/lib/libc/newlib/include -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/. -ID:/software/ncs/v2.3.0/zephyr/subsys/net/lib/sockets/. -ID:/software/ncs/v2.3.0/nrf/include -ID:/software/ncs/v2.3.0/nrf/lib/at_cmd_parser/include -ID:/software/ncs/v2.3.0/nrf/subsys/net/lib/fota_download/./include -ID:/software/ncs/v2.3.0/nrf/tests/include -ID:/software/ncs/v2.3.0/modules/hal/cmsis/CMSIS/Core/Include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/mdk -ID:/software/ncs/v2.3.0/zephyr/modules/hal_nordic/nrfx/. -ID:/software/ncs/v2.3.0/modules/debug/segger/SEGGER -ID:/software/ncs/v2.3.0/modules/debug/segger/Config -ID:/software/ncs/v2.3.0/zephyr/modules/segger/. -ID:/software/ncs/v2.3.0/nrfxlib/nrf_modem/include -I../src/datetime/. -I../src/font/. -I../src/image/. -I../src/lcd/. -I../src/key/. -I../src/settings/. -I../src/inner_flash/. -I../src/external_flash/. -I../src/uart_ble/. -I../src/gps/. -I../src/nb/. -I../src/screen/. -I../src/pmu/. -I../src/sos/. -I../src/codetrans/. -I../src/ucs2/. -I../src/communicate/. -I../src/logger/. -I../src/animation/. -I../src/tp/. -I../src/imu/. -I../src/ppg/. -I../src/temperature/. -I../src/crc_check/. -I../src/sync/. -I../src/wifi/. -I../src/watchdog/. -I../src/fota/. -I../src/data_download/. -fno-strict-aliasing -Os -imacros D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros D:/software/ncs/v2.3.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST=CMAKE_SOURCE_DIR -fmacro-prefix-map=D:/software/ncs/v2.3.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=D:/software/ncs/v2.3.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/animation/animation.c.obj -MF CMakeFiles\app.dir\src\animation\animation.c.obj.d -o CMakeFiles/app.dir/src/animation/animation.c.obj -c ../src/animation/animation.c
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\animation\animation.c:11:10: fatal error: drivers/uart.h: No such file or directory
11 | #include <drivers/uart.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
[17/304] Building C object CMakeFiles/app.dir/src/tp/CST816.c.obj
FAILED: CMakeFiles/app.dir/src/tp/CST816.c.obj
D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DAPP_VERSION=v2.3.0 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,23298 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,23298 -DKERNEL -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -Id:/software/ncs/v2.3.0/zephyr/subsys/fs/nvs -ID:/software/ncs/v2.3.0/zephyr/include -Izephyr/include/generated -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/nrf91 -ID:/software/ncs/v2.3.0/zephyr/lib/libc/newlib/include -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/. -ID:/software/ncs/v2.3.0/zephyr/subsys/net/lib/sockets/. -ID:/software/ncs/v2.3.0/nrf/include -ID:/software/ncs/v2.3.0/nrf/lib/at_cmd_parser/include -ID:/software/ncs/v2.3.0/nrf/subsys/net/lib/fota_download/./include -ID:/software/ncs/v2.3.0/nrf/tests/include -ID:/software/ncs/v2.3.0/modules/hal/cmsis/CMSIS/Core/Include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/mdk -ID:/software/ncs/v2.3.0/zephyr/modules/hal_nordic/nrfx/. -ID:/software/ncs/v2.3.0/modules/debug/segger/SEGGER -ID:/software/ncs/v2.3.0/modules/debug/segger/Config -ID:/software/ncs/v2.3.0/zephyr/modules/segger/. -ID:/software/ncs/v2.3.0/nrfxlib/nrf_modem/include -I../src/datetime/. -I../src/font/. -I../src/image/. -I../src/lcd/. -I../src/key/. -I../src/settings/. -I../src/inner_flash/. -I../src/external_flash/. -I../src/uart_ble/. -I../src/gps/. -I../src/nb/. -I../src/screen/. -I../src/pmu/. -I../src/sos/. -I../src/codetrans/. -I../src/ucs2/. -I../src/communicate/. -I../src/logger/. -I../src/animation/. -I../src/tp/. -I../src/imu/. -I../src/ppg/. -I../src/temperature/. -I../src/crc_check/. -I../src/sync/. -I../src/wifi/. -I../src/watchdog/. -I../src/fota/. -I../src/data_download/. -fno-strict-aliasing -Os -imacros D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros D:/software/ncs/v2.3.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST=CMAKE_SOURCE_DIR -fmacro-prefix-map=D:/software/ncs/v2.3.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=D:/software/ncs/v2.3.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/tp/CST816.c.obj -MF CMakeFiles\app.dir\src\tp\CST816.c.obj.d -o CMakeFiles/app.dir/src/tp/CST816.c.obj -c ../src/tp/CST816.c
In file included from d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\tp\CST816.c:18:
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\tp\CST816.h:14:10: fatal error: device.h: No such file or directory
14 | #include <device.h>
| ^~~~~~~~~~
compilation terminated.
[18/304] Building C object CMakeFiles/app.dir/src/logger/logger.c.obj
FAILED: CMakeFiles/app.dir/src/logger/logger.c.obj
D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DAPP_VERSION=v2.3.0 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,23298 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,23298 -DKERNEL -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -Id:/software/ncs/v2.3.0/zephyr/subsys/fs/nvs -ID:/software/ncs/v2.3.0/zephyr/include -Izephyr/include/generated -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/nrf91 -ID:/software/ncs/v2.3.0/zephyr/lib/libc/newlib/include -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/. -ID:/software/ncs/v2.3.0/zephyr/subsys/net/lib/sockets/. -ID:/software/ncs/v2.3.0/nrf/include -ID:/software/ncs/v2.3.0/nrf/lib/at_cmd_parser/include -ID:/software/ncs/v2.3.0/nrf/subsys/net/lib/fota_download/./include -ID:/software/ncs/v2.3.0/nrf/tests/include -ID:/software/ncs/v2.3.0/modules/hal/cmsis/CMSIS/Core/Include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/mdk -ID:/software/ncs/v2.3.0/zephyr/modules/hal_nordic/nrfx/. -ID:/software/ncs/v2.3.0/modules/debug/segger/SEGGER -ID:/software/ncs/v2.3.0/modules/debug/segger/Config -ID:/software/ncs/v2.3.0/zephyr/modules/segger/. -ID:/software/ncs/v2.3.0/nrfxlib/nrf_modem/include -I../src/datetime/. -I../src/font/. -I../src/image/. -I../src/lcd/. -I../src/key/. -I../src/settings/. -I../src/inner_flash/. -I../src/external_flash/. -I../src/uart_ble/. -I../src/gps/. -I../src/nb/. -I../src/screen/. -I../src/pmu/. -I../src/sos/. -I../src/codetrans/. -I../src/ucs2/. -I../src/communicate/. -I../src/logger/. -I../src/animation/. -I../src/tp/. -I../src/imu/. -I../src/ppg/. -I../src/temperature/. -I../src/crc_check/. -I../src/sync/. -I../src/wifi/. -I../src/watchdog/. -I../src/fota/. -I../src/data_download/. -fno-strict-aliasing -Os -imacros D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros D:/software/ncs/v2.3.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST=CMAKE_SOURCE_DIR -fmacro-prefix-map=D:/software/ncs/v2.3.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=D:/software/ncs/v2.3.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/logger/logger.c.obj -MF CMakeFiles\app.dir\src\logger\logger.c.obj.d -o CMakeFiles/app.dir/src/logger/logger.c.obj -c ../src/logger/logger.c
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\logger\logger.c:16:10: fatal error: logging/log_ctrl.h: No such file or directory
16 | #include <logging/log_ctrl.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
[19/304] Building C object CMakeFiles/app.dir/src/communicate/communicate.c.obj
FAILED: CMakeFiles/app.dir/src/communicate/communicate.c.obj
D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DAPP_VERSION=v2.3.0 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,23298 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,23298 -DKERNEL -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -Id:/software/ncs/v2.3.0/zephyr/subsys/fs/nvs -ID:/software/ncs/v2.3.0/zephyr/include -Izephyr/include/generated -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/nrf91 -ID:/software/ncs/v2.3.0/zephyr/lib/libc/newlib/include -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/. -ID:/software/ncs/v2.3.0/zephyr/subsys/net/lib/sockets/. -ID:/software/ncs/v2.3.0/nrf/include -ID:/software/ncs/v2.3.0/nrf/lib/at_cmd_parser/include -ID:/software/ncs/v2.3.0/nrf/subsys/net/lib/fota_download/./include -ID:/software/ncs/v2.3.0/nrf/tests/include -ID:/software/ncs/v2.3.0/modules/hal/cmsis/CMSIS/Core/Include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/mdk -ID:/software/ncs/v2.3.0/zephyr/modules/hal_nordic/nrfx/. -ID:/software/ncs/v2.3.0/modules/debug/segger/SEGGER -ID:/software/ncs/v2.3.0/modules/debug/segger/Config -ID:/software/ncs/v2.3.0/zephyr/modules/segger/. -ID:/software/ncs/v2.3.0/nrfxlib/nrf_modem/include -I../src/datetime/. -I../src/font/. -I../src/image/. -I../src/lcd/. -I../src/key/. -I../src/settings/. -I../src/inner_flash/. -I../src/external_flash/. -I../src/uart_ble/. -I../src/gps/. -I../src/nb/. -I../src/screen/. -I../src/pmu/. -I../src/sos/. -I../src/codetrans/. -I../src/ucs2/. -I../src/communicate/. -I../src/logger/. -I../src/animation/. -I../src/tp/. -I../src/imu/. -I../src/ppg/. -I../src/temperature/. -I../src/crc_check/. -I../src/sync/. -I../src/wifi/. -I../src/watchdog/. -I../src/fota/. -I../src/data_download/. -fno-strict-aliasing -Os -imacros D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros D:/software/ncs/v2.3.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST=CMAKE_SOURCE_DIR -fmacro-prefix-map=D:/software/ncs/v2.3.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=D:/software/ncs/v2.3.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/communicate/communicate.c.obj -MF CMakeFiles\app.dir\src\communicate\communicate.c.obj.d -o CMakeFiles/app.dir/src/communicate/communicate.c.obj -c ../src/communicate/communicate.c
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\communicate\communicate.c:11:10: fatal error: device.h: No such file or directory
11 | #include <device.h>
| ^~~~~~~~~~
compilation terminated.
[20/304] Building C object CMakeFiles/app.dir/src/ucs2/ucs2.c.obj
FAILED: CMakeFiles/app.dir/src/ucs2/ucs2.c.obj
D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DAPP_VERSION=v2.3.0 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,23298 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,23298 -DKERNEL -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -Id:/software/ncs/v2.3.0/zephyr/subsys/fs/nvs -ID:/software/ncs/v2.3.0/zephyr/include -Izephyr/include/generated -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/nrf91 -ID:/software/ncs/v2.3.0/zephyr/lib/libc/newlib/include -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/. -ID:/software/ncs/v2.3.0/zephyr/subsys/net/lib/sockets/. -ID:/software/ncs/v2.3.0/nrf/include -ID:/software/ncs/v2.3.0/nrf/lib/at_cmd_parser/include -ID:/software/ncs/v2.3.0/nrf/subsys/net/lib/fota_download/./include -ID:/software/ncs/v2.3.0/nrf/tests/include -ID:/software/ncs/v2.3.0/modules/hal/cmsis/CMSIS/Core/Include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/mdk -ID:/software/ncs/v2.3.0/zephyr/modules/hal_nordic/nrfx/. -ID:/software/ncs/v2.3.0/modules/debug/segger/SEGGER -ID:/software/ncs/v2.3.0/modules/debug/segger/Config -ID:/software/ncs/v2.3.0/zephyr/modules/segger/. -ID:/software/ncs/v2.3.0/nrfxlib/nrf_modem/include -I../src/datetime/. -I../src/font/. -I../src/image/. -I../src/lcd/. -I../src/key/. -I../src/settings/. -I../src/inner_flash/. -I../src/external_flash/. -I../src/uart_ble/. -I../src/gps/. -I../src/nb/. -I../src/screen/. -I../src/pmu/. -I../src/sos/. -I../src/codetrans/. -I../src/ucs2/. -I../src/communicate/. -I../src/logger/. -I../src/animation/. -I../src/tp/. -I../src/imu/. -I../src/ppg/. -I../src/temperature/. -I../src/crc_check/. -I../src/sync/. -I../src/wifi/. -I../src/watchdog/. -I../src/fota/. -I../src/data_download/. -fno-strict-aliasing -Os -imacros D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros D:/software/ncs/v2.3.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST=CMAKE_SOURCE_DIR -fmacro-prefix-map=D:/software/ncs/v2.3.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=D:/software/ncs/v2.3.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/ucs2/ucs2.c.obj -MF CMakeFiles\app.dir\src\ucs2\ucs2.c.obj.d -o CMakeFiles/app.dir/src/ucs2/ucs2.c.obj -c ../src/ucs2/ucs2.c
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\ucs2\ucs2.c:13:10: fatal error: logging/log.h: No such file or directory
13 | #include <logging/log.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
[22/304] Building C object CMakeFiles/app.dir/src/ppg/max32674.c.obj
FAILED: CMakeFiles/app.dir/src/ppg/max32674.c.obj
D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DAPP_VERSION=v2.3.0 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,23298 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,23298 -DKERNEL -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -Id:/software/ncs/v2.3.0/zephyr/subsys/fs/nvs -ID:/software/ncs/v2.3.0/zephyr/include -Izephyr/include/generated -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/nrf91 -ID:/software/ncs/v2.3.0/zephyr/lib/libc/newlib/include -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/. -ID:/software/ncs/v2.3.0/zephyr/subsys/net/lib/sockets/. -ID:/software/ncs/v2.3.0/nrf/include -ID:/software/ncs/v2.3.0/nrf/lib/at_cmd_parser/include -ID:/software/ncs/v2.3.0/nrf/subsys/net/lib/fota_download/./include -ID:/software/ncs/v2.3.0/nrf/tests/include -ID:/software/ncs/v2.3.0/modules/hal/cmsis/CMSIS/Core/Include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/mdk -ID:/software/ncs/v2.3.0/zephyr/modules/hal_nordic/nrfx/. -ID:/software/ncs/v2.3.0/modules/debug/segger/SEGGER -ID:/software/ncs/v2.3.0/modules/debug/segger/Config -ID:/software/ncs/v2.3.0/zephyr/modules/segger/. -ID:/software/ncs/v2.3.0/nrfxlib/nrf_modem/include -I../src/datetime/. -I../src/font/. -I../src/image/. -I../src/lcd/. -I../src/key/. -I../src/settings/. -I../src/inner_flash/. -I../src/external_flash/. -I../src/uart_ble/. -I../src/gps/. -I../src/nb/. -I../src/screen/. -I../src/pmu/. -I../src/sos/. -I../src/codetrans/. -I../src/ucs2/. -I../src/communicate/. -I../src/logger/. -I../src/animation/. -I../src/tp/. -I../src/imu/. -I../src/ppg/. -I../src/temperature/. -I../src/crc_check/. -I../src/sync/. -I../src/wifi/. -I../src/watchdog/. -I../src/fota/. -I../src/data_download/. -fno-strict-aliasing -Os -imacros D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros D:/software/ncs/v2.3.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST=CMAKE_SOURCE_DIR -fmacro-prefix-map=D:/software/ncs/v2.3.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=D:/software/ncs/v2.3.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/ppg/max32674.c.obj -MF CMakeFiles\app.dir\src\ppg\max32674.c.obj.d -o CMakeFiles/app.dir/src/ppg/max32674.c.obj -c ../src/ppg/max32674.c
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\ppg\max32674.c:14:10: fatal error: device.h: No such file or directory
14 | #include <device.h>
| ^~~~~~~~~~
compilation terminated.
[23/304] Building C object CMakeFiles/app.dir/src/ppg/max_sh_fw_upgrade.c.obj
FAILED: CMakeFiles/app.dir/src/ppg/max_sh_fw_upgrade.c.obj
D:\software\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DAPP_VERSION=v2.3.0 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,23298 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,23298 -DKERNEL -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -Id:/software/ncs/v2.3.0/zephyr/subsys/fs/nvs -ID:/software/ncs/v2.3.0/zephyr/include -Izephyr/include/generated -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/nrf91 -ID:/software/ncs/v2.3.0/zephyr/lib/libc/newlib/include -ID:/software/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/. -ID:/software/ncs/v2.3.0/zephyr/subsys/net/lib/sockets/. -ID:/software/ncs/v2.3.0/nrf/include -ID:/software/ncs/v2.3.0/nrf/lib/at_cmd_parser/include -ID:/software/ncs/v2.3.0/nrf/subsys/net/lib/fota_download/./include -ID:/software/ncs/v2.3.0/nrf/tests/include -ID:/software/ncs/v2.3.0/modules/hal/cmsis/CMSIS/Core/Include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/include -ID:/software/ncs/v2.3.0/modules/hal/nordic/nrfx/mdk -ID:/software/ncs/v2.3.0/zephyr/modules/hal_nordic/nrfx/. -ID:/software/ncs/v2.3.0/modules/debug/segger/SEGGER -ID:/software/ncs/v2.3.0/modules/debug/segger/Config -ID:/software/ncs/v2.3.0/zephyr/modules/segger/. -ID:/software/ncs/v2.3.0/nrfxlib/nrf_modem/include -I../src/datetime/. -I../src/font/. -I../src/image/. -I../src/lcd/. -I../src/key/. -I../src/settings/. -I../src/inner_flash/. -I../src/external_flash/. -I../src/uart_ble/. -I../src/gps/. -I../src/nb/. -I../src/screen/. -I../src/pmu/. -I../src/sos/. -I../src/codetrans/. -I../src/ucs2/. -I../src/communicate/. -I../src/logger/. -I../src/animation/. -I../src/tp/. -I../src/imu/. -I../src/ppg/. -I../src/temperature/. -I../src/crc_check/. -I../src/sync/. -I../src/wifi/. -I../src/watchdog/. -I../src/fota/. -I../src/data_download/. -fno-strict-aliasing -Os -imacros D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=D:/software/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros D:/software/ncs/v2.3.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=D:/software/nrf9160/my_projects/my_test/E2_V3_NCS2.3.0_TEST=CMAKE_SOURCE_DIR -fmacro-prefix-map=D:/software/ncs/v2.3.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=D:/software/ncs/v2.3.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/ppg/max_sh_fw_upgrade.c.obj -MF CMakeFiles\app.dir\src\ppg\max_sh_fw_upgrade.c.obj.d -o CMakeFiles/app.dir/src/ppg/max_sh_fw_upgrade.c.obj -c ../src/ppg/max_sh_fw_upgrade.c
In file included from d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\ppg\max_sh_fw_upgrade.c:36:
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\ppg\max_sh_interface.h:77: warning: "SH_NUM_CURRENT_ALGOS" redefined
77 | #define SH_NUM_CURRENT_ALGOS 8
|
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\ppg\max_sh_interface.h:55: note: this is the location of the previous definition
55 | #define SH_NUM_CURRENT_ALGOS 6
|
In file included from d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\ppg\max_sh_fw_upgrade.c:37:
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\ppg\max_sh_fw_upgrade.h:39:10: fatal error: device.h: No such file or directory
39 | #include <device.h>
| ^~~~~~~~~~
compilation terminated.
[24/304] Building C object CMakeFiles/app.dir/src/ppg/max_sh_api.c.obj
In file included from d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\ppg\max_sh_api.c:37:
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\ppg\max_sh_interface.h:77: warning: "SH_NUM_CURRENT_ALGOS" redefined
77 | #define SH_NUM_CURRENT_ALGOS 8
|
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\ppg\max_sh_interface.h:55: note: this is the location of the previous definition
55 | #define SH_NUM_CURRENT_ALGOS 6
|
../src/ppg/max_sh_api.c: In function 'bpt_algo_data_rx':
d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\ppg\max_sh_api.c:373:17: warning: unused variable 'est_error' [-Wunused-variable]
373 | uint8_t est_error = bpt_flags & 0b0000000000100000;
| ^~~~~~~~~
[25/304] Building C object CMakeFiles/app.dir/src/imu/lsm6dso_reg.c.obj
FAILED: modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build mcuboot/zephyr/zephyr.hex mcuboot/zephyr/zephyr.elf
cmd.exe /C "cd /D D:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\build\mcuboot && D:\software\ncs\toolchains\v2.3.0\opt\bin\cmake.exe --build . --"
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'd:\software\ncs\toolchains\v2.3.0\opt\bin\cmake.EXE' --build 'd:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\build'

* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.

Parents
  • Thank you for your reply. I have resolved some issues by searching for the prompt 'error', but it still reports an error in the definition of I2C. Can you tell me what caused this? This is my pro. conf file and overlay file:

    d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\imu\lsm6dso.c:215:20: warning: Macro is deprecated
    215 | i2c_imu = device_get_binding(IMU_DEV);
    | ^~~~~~~~~~~~~~~~~~~~~
    In file included from D:\software\ncs\v2.3.0\zephyr\include\zephyr\arch\arm\aarch32\arch.h:20,
    from D:\software\ncs\v2.3.0\zephyr\include\zephyr\arch\cpu.h:19,
    from D:\software\ncs\v2.3.0\zephyr\include\zephyr\kernel_includes.h:33,
    from D:\software\ncs\v2.3.0\zephyr\include\zephyr\kernel.h:17,
    from d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\imu\lsm6dso.c:11:
    d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\build\zephyr\include\generated\devicetree_generated.h:7692:37: error: 'DT_N_S_soc_S_peripheral_40000000_S_i2c_9000_P_label' undeclared (first use in this function); did you mean 'DT_N_S_soc_S_peripheral_40000000_S_i2c_9000_P_reg'?
    7692 | #define DT_N_NODELABEL_i2c1 DT_N_S_soc_S_peripheral_40000000_S_i2c_9000
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    3716.prj.conf 3730.nrf9160dk_nrf9160_ns.overlay

Reply
  • Thank you for your reply. I have resolved some issues by searching for the prompt 'error', but it still reports an error in the definition of I2C. Can you tell me what caused this? This is my pro. conf file and overlay file:

    d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\imu\lsm6dso.c:215:20: warning: Macro is deprecated
    215 | i2c_imu = device_get_binding(IMU_DEV);
    | ^~~~~~~~~~~~~~~~~~~~~
    In file included from D:\software\ncs\v2.3.0\zephyr\include\zephyr\arch\arm\aarch32\arch.h:20,
    from D:\software\ncs\v2.3.0\zephyr\include\zephyr\arch\cpu.h:19,
    from D:\software\ncs\v2.3.0\zephyr\include\zephyr\kernel_includes.h:33,
    from D:\software\ncs\v2.3.0\zephyr\include\zephyr\kernel.h:17,
    from d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\src\imu\lsm6dso.c:11:
    d:\software\nrf9160\my_projects\my_test\E2_V3_NCS2.3.0_TEST\build\zephyr\include\generated\devicetree_generated.h:7692:37: error: 'DT_N_S_soc_S_peripheral_40000000_S_i2c_9000_P_label' undeclared (first use in this function); did you mean 'DT_N_S_soc_S_peripheral_40000000_S_i2c_9000_P_reg'?
    7692 | #define DT_N_NODELABEL_i2c1 DT_N_S_soc_S_peripheral_40000000_S_i2c_9000
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    3716.prj.conf 3730.nrf9160dk_nrf9160_ns.overlay

Children
  • Hi,

    From the error:

    duxinglang said:
    Macro is deprecated
    215 | i2c_imu = device_get_binding(IMU_DEV);

    The device_get_binding() has been deprecated since v1.9.0.

    Try to use DEVICE_DT_GET() instead.

    Regards,
    Sigurd Hellesvik

  • Hi,thanks for you help!

    I have modified the definition and acquisition method in this way. Is this correct?

    #if DT_NODE_HAS_STATUS(DT_NODELABEL(i2c1), okay)
    #define IMU_DEV DT_NODELABEL(i2c1)
    #else
    #error "i2c1 devicetree node is disabled"
    #define IMU_DEV	""
    #endif
    
    #if DT_NODE_HAS_STATUS(DT_NODELABEL(gpio0), okay)
    #define IMU_PORT DT_NODELABEL(gpio0)
    #else
    #error "gpio0 devicetree node is disabled"
    #define IMU_PORT	""
    #endif
    
    static uint8_t init_i2c(void)
    {
    	i2c_imu = DEVICE_DT_GET(IMU_DEV);
    	if(!i2c_imu)
    	{
    	#ifdef IMU_DEBUG
    		LOGD("ERROR SETTING UP I2C");
    	#endif
    		return -1;
    	}
    	else
    	{
    		i2c_configure(i2c_imu, I2C_SPEED_SET(I2C_SPEED_FAST));
    		return 0;
    	}
    }
    
    uint8_t init_gpio(void)
    {
    	gpio_flags_t flag = GPIO_INPUT|GPIO_PULL_DOWN;
    
    	if(gpio_imu == NULL)
    		gpio_imu = DEVICE_DT_GET(IMU_PORT);
    	
    	//steps&tilt interrupt
    	gpio_pin_configure(gpio_imu, LSM6DSO_INT1_PIN, flag);
        gpio_pin_interrupt_configure(gpio_imu, LSM6DSO_INT1_PIN, GPIO_INT_DISABLE);
    	gpio_init_callback(&gpio_cb1, step_event, BIT(LSM6DSO_INT1_PIN));
    	gpio_add_callback(gpio_imu, &gpio_cb1);
        gpio_pin_interrupt_configure(gpio_imu, LSM6DSO_INT1_PIN, GPIO_INT_ENABLE|GPIO_INT_EDGE_RISING);
    
    #ifdef CONFIG_FALL_DETECT_SUPPORT
    	//fall interrupt
    	gpio_pin_configure(gpio_imu, LSM6DSO_INT2_PIN, flag);
        gpio_pin_interrupt_configure(gpio_imu, LSM6DSO_INT2_PIN, GPIO_INT_DISABLE);
    	gpio_init_callback(&gpio_cb2, interrupt_event, BIT(LSM6DSO_INT2_PIN));
    	gpio_add_callback(gpio_imu, &gpio_cb2);
        gpio_pin_interrupt_configure(gpio_imu, LSM6DSO_INT2_PIN, GPIO_INT_ENABLE|GPIO_INT_EDGE_RISING);
    #endif
    
    	return 0;
    }

  • To verify if your code is correct or not, I suggest you compare it to these:

    1. Our I2C tutorial at DevAcademy.
    2. The Zephyr I2C API test
    3. This unofficial I2C sample from my colleague

    Regards,
    Sigurd Hellesvik

  • It seems that this method is correct, but this error was still reported during compilation. Can you see what caused this?

  • I can not read the full log from the image.

    Please copy the test and paste it in an "Insert->Code" box here.

    To cop the full log:

    1. Right click terminal
    2. Select "clear"
    3. Build again
    4. Right click terminal
    5. Select "Select all"
    6. To copy: Ctrl+Insert
    7. To paste: Shift+Insert

    Regards,
    Sigurd Hellesvik

Related