CMAKE fails error during compile of Servomotor demo [zephyr/samples/basic/servo_motor] On windows in visual studio code. So for other programs are fine including Ant + samples. I need a servo motor example that will work with this board to get me started.

* Executing task: nRF Connect: Build [pristine]: servo_motor6/build (active)

Building servo_motor6
C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:\Nordicapps\servo_motor6\build c:\Nordicapps\servo_motor6 --pristine --board nrf5340dk_nrf5340_cpuapp -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DBOARD_ROOT:STRING="c:/Nordicapps/Servo1;c:/Nordicapps/blinky_pwm;c:/Nordicapps/servo_motor6" -DCONF_FILE:STRING="c:/Nordicapps/servo_motor6/prj.conf""

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: C:/Nordicapps/servo_motor6
-- Found Python3: C:/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:/ncs/v2.3.0/zephyr/.cache
-- Zephyr version: 3.2.99 (C:/ncs/v2.3.0/zephyr)
-- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
-- Board: nrf5340dk_nrf5340_cpuapp
-- Found host-tools: zephyr 0.15.2 (C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.15.2 (C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/v2.3.0/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found BOARD.dts: C:/ncs/v2.3.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts
-- Generated zephyr.dts: C:/Nordicapps/servo_motor6/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/Nordicapps/servo_motor6/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/Nordicapps/servo_motor6/build/zephyr/dts.cmake
Parsing C:/ncs/v2.3.0/zephyr/Kconfig
Loaded configuration 'C:/ncs/v2.3.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig'
Merged configuration 'c:/Nordicapps/servo_motor6/prj.conf'
Configuration saved to 'C:/Nordicapps/servo_motor6/build/zephyr/.config'
Kconfig header saved to 'C:/Nordicapps/servo_motor6/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: C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Nordicapps/servo_motor6/build
-- west build: building application
[1/169] Generating include/generated/version.h
-- Zephyr version: 3.2.99 (C:/ncs/v2.3.0/zephyr), build: v3.2.99-ncs2
[2/169] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[3/169] Generating include/generated/driver-validation.h
[4/169] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
[5/169] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[6/169] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[7/169] Generating include/generated/offsets.h
[8/169] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[9/169] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[10/169] 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
[11/169] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
[12/169] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[13/169] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[14/169] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[15/169] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[16/169] Generating linker_zephyr_pre0.cmd
[17/169] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[18/169] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[19/169] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj
[20/169] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[21/169] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[22/169] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_mpu.c.obj
[23/169] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[24/169] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[25/169] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[26/169] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[27/169] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[28/169] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\cmse\libarch__arm__core__aarch32__cortex_m__cmse.a
[29/169] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[30/169] Linking C static library zephyr\arch\common\libisr_tables.a
[31/169] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[32/169] Generating ../../../include/generated/libc/minimal/strerror_table.h
[33/169] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[34/169] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[35/169] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[36/169] Linking C static library zephyr\arch\arch\arm\core\aarch32\mpu\libarch__arm__core__aarch32__mpu.a
[37/169] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[38/169] Building C object zephyr/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj
[39/169] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[40/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[41/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoull.c.obj
[42/169] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
[43/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[44/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[45/169] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[46/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoll.c.obj
[47/169] Linking C static library zephyr\arch\common\libarch__common.a
[48/169] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[49/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
[50/169] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[51/169] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
C:\ncs\toolchains\v2.3.0\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DNRF5340_XXAA_APPLICATION -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DUSE_PARTITION_MANAGER=0 -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.3.0/zephyr/include -Izephyr/include/generated -IC:/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/nrf53 -IC:/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/. -IC:/ncs/v2.3.0/nrf/include -IC:/ncs/v2.3.0/nrf/tests/include -IC:/ncs/v2.3.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.3.0/modules/hal/nordic/nrfx -IC:/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.3.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.3.0/zephyr/modules/hal_nordic/nrfx/. -isystem C:/ncs/v2.3.0/zephyr/lib/libc/minimal/include -isystem c:/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include -isystem c:/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include-fixed -isystem C:/ncs/v2.3.0/nrfxlib/crypto/nrf_cc312_platform/include -fno-strict-aliasing -Os -imacros C:/Nordicapps/servo_motor6/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=C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/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=C:/Nordicapps/servo_motor6=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.3.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.3.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -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 ../src/main.c
In file included from C:\ncs\v2.3.0\zephyr\include\zephyr\toolchain\gcc.h:89,
from C:\ncs\v2.3.0\zephyr\include\zephyr\toolchain.h:50,
from C:\ncs\v2.3.0\zephyr\include\zephyr\kernel_includes.h:19,
from C:\ncs\v2.3.0\zephyr\include\zephyr\kernel.h:17,
from c:\Nordicapps\servo_motor6\src\main.c:11:
C:\ncs\v2.3.0\zephyr\include\zephyr\device.h:83:42: error: '__device_dts_ord_DT_N_NODELABEL_servo_P_pwms_IDX_0_PH_ORD' undeclared here (not in a function)
83 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
| ^~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\toolchain\common.h:132:26: note: in definition of macro '_DO_CONCAT'
132 | #define _DO_CONCAT(x, y) x ## y
| ^
C:\ncs\v2.3.0\zephyr\include\zephyr\device.h:83:34: note: in expansion of macro '_CONCAT'
83 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
| ^~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\device.h:209:37: note: in expansion of macro 'DEVICE_NAME_GET'
209 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
| ^~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\device.h:226:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
226 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
| ^~~~~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\drivers\pwm.h:258:24: note: in expansion of macro 'DEVICE_DT_GET'
258 | .dev = DEVICE_DT_GET(DT_PWMS_CTLR_BY_IDX(node_id, idx)), \
| ^~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\drivers\pwm.h:326:34: note: in expansion of macro 'PWM_DT_SPEC_GET_BY_IDX'
326 | #define PWM_DT_SPEC_GET(node_id) PWM_DT_SPEC_GET_BY_IDX(node_id, 0)
| ^~~~~~~~~~~~~~~~~~~~~~
c:\Nordicapps\servo_motor6\src\main.c:16:41: note: in expansion of macro 'PWM_DT_SPEC_GET'
16 | static const struct pwm_dt_spec servo = PWM_DT_SPEC_GET(DT_NODELABEL(servo));
| ^~~~~~~~~~~~~~~
In file included from C:\ncs\v2.3.0\zephyr\include\zephyr\arch\arm\aarch32\arch.h:20,
from C:\ncs\v2.3.0\zephyr\include\zephyr\arch\cpu.h:19,
from C:\ncs\v2.3.0\zephyr\include\zephyr\kernel_includes.h:33:
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:190:36: error: 'DT_N_NODELABEL_servo_P_pwms_IDX_0_VAL_channel' undeclared here (not in a function)
190 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
| ^~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3912:9: note: in definition of macro 'DT_CAT7'
3912 | a1 ## a2 ## a3 ## a4 ## a5 ## a6 ## a7
| ^~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree\pwms.h:136:9: note: in expansion of macro 'DT_PHA_BY_IDX'
136 | DT_PHA_BY_IDX(node_id, pwms, idx, cell)
| ^~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree\pwms.h:208:9: note: in expansion of macro 'DT_PWMS_CELL_BY_IDX'
208 | DT_PWMS_CELL_BY_IDX(node_id, idx, channel)
| ^~~~~~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\drivers\pwm.h:259:28: note: in expansion of macro 'DT_PWMS_CHANNEL_BY_IDX'
259 | .channel = DT_PWMS_CHANNEL_BY_IDX(node_id, idx), \
| ^~~~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\drivers\pwm.h:326:34: note: in expansion of macro 'PWM_DT_SPEC_GET_BY_IDX'
326 | #define PWM_DT_SPEC_GET(node_id) PWM_DT_SPEC_GET_BY_IDX(node_id, 0)
| ^~~~~~~~~~~~~~~~~~~~~~
c:\Nordicapps\servo_motor6\src\main.c:16:41: note: in expansion of macro 'PWM_DT_SPEC_GET'
16 | static const struct pwm_dt_spec servo = PWM_DT_SPEC_GET(DT_NODELABEL(servo));
| ^~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:190:29: note: in expansion of macro 'DT_CAT'
190 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
| ^~~~~~
c:\Nordicapps\servo_motor6\src\main.c:16:57: note: in expansion of macro 'DT_NODELABEL'
16 | static const struct pwm_dt_spec servo = PWM_DT_SPEC_GET(DT_NODELABEL(servo));
| ^~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:190:36: error: 'DT_N_NODELABEL_servo_P_pwms_IDX_0_VAL_period' undeclared here (not in a function)
190 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
| ^~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3912:9: note: in definition of macro 'DT_CAT7'
3912 | a1 ## a2 ## a3 ## a4 ## a5 ## a6 ## a7
| ^~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree\pwms.h:136:9: note: in expansion of macro 'DT_PHA_BY_IDX'
136 | DT_PHA_BY_IDX(node_id, pwms, idx, cell)
| ^~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree\pwms.h:249:9: note: in expansion of macro 'DT_PWMS_CELL_BY_IDX'
249 | DT_PWMS_CELL_BY_IDX(node_id, idx, period)
| ^~~~~~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\drivers\pwm.h:260:27: note: in expansion of macro 'DT_PWMS_PERIOD_BY_IDX'
260 | .period = DT_PWMS_PERIOD_BY_IDX(node_id, idx), \
| ^~~~~~~~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\drivers\pwm.h:326:34: note: in expansion of macro 'PWM_DT_SPEC_GET_BY_IDX'
326 | #define PWM_DT_SPEC_GET(node_id) PWM_DT_SPEC_GET_BY_IDX(node_id, 0)
| ^~~~~~~~~~~~~~~~~~~~~~
c:\Nordicapps\servo_motor6\src\main.c:16:41: note: in expansion of macro 'PWM_DT_SPEC_GET'
16 | static const struct pwm_dt_spec servo = PWM_DT_SPEC_GET(DT_NODELABEL(servo));
| ^~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:190:29: note: in expansion of macro 'DT_CAT'
190 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
| ^~~~~~
c:\Nordicapps\servo_motor6\src\main.c:16:57: note: in expansion of macro 'DT_NODELABEL'
16 | static const struct pwm_dt_spec servo = PWM_DT_SPEC_GET(DT_NODELABEL(servo));
| ^~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:190:36: error: 'DT_N_NODELABEL_servo_P_min_pulse' undeclared here (not in a function)
190 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
| ^~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3903:29: note: in definition of macro 'DT_CAT3'
3903 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
| ^~
c:\Nordicapps\servo_motor6\src\main.c:17:35: note: in expansion of macro 'DT_PROP'
17 | static const uint32_t min_pulse = DT_PROP(DT_NODELABEL(servo), min_pulse);
| ^~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:190:29: note: in expansion of macro 'DT_CAT'
190 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
| ^~~~~~
c:\Nordicapps\servo_motor6\src\main.c:17:43: note: in expansion of macro 'DT_NODELABEL'
17 | static const uint32_t min_pulse = DT_PROP(DT_NODELABEL(servo), min_pulse);
| ^~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:190:36: error: 'DT_N_NODELABEL_servo_P_max_pulse' undeclared here (not in a function)
190 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
| ^~~~~~~~~~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:3903:29: note: in definition of macro 'DT_CAT3'
3903 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
| ^~
c:\Nordicapps\servo_motor6\src\main.c:18:35: note: in expansion of macro 'DT_PROP'
18 | static const uint32_t max_pulse = DT_PROP(DT_NODELABEL(servo), max_pulse);
| ^~~~~~~
C:\ncs\v2.3.0\zephyr\include\zephyr\devicetree.h:190:29: note: in expansion of macro 'DT_CAT'
190 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
| ^~~~~~
c:\Nordicapps\servo_motor6\src\main.c:18:43: note: in expansion of macro 'DT_NODELABEL'
18 | static const uint32_t max_pulse = DT_PROP(DT_NODELABEL(servo), max_pulse);
| ^~~~~~~~~~~~
[52/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/qsort.c.obj
[53/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strerror.c.obj
[54/169] Linking C static library zephyr\arch\arch\arm\core\aarch32\libarch__arm__core__aarch32.a
[55/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[56/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[57/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[58/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[59/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/math/sqrtf.c.obj
[60/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[61/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[62/169] Linking C static library zephyr\arch\arch\arm\core\aarch32\cortex_m\libarch__arm__core__aarch32__cortex_m.a
[63/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[64/169] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'c:\ncs\toolchains\v2.3.0\opt\bin\cmake.EXE' --build 'c:\Nordicapps\servo_motor6\build'

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

Related