Hi
I ve to use nrf pwm common mode feature, and there is sample code under project name common_mode_test, but i am unable to build it either with ncs version 2.9.1 or 3.0.1
here is the build output
Hi
I ve to use nrf pwm common mode feature, and there is sample code under project name common_mode_test, but i am unable to build it either with ncs version 2.9.1 or 3.0.1
here is the build output
Loading Zephyr default modules (Zephyr base).
-- Application: C:/Users/username/source/repos/proj1/common_mode_test
-- CMake version: 3.21.0
-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache
-- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf52833dk, qualifiers: nrf52833
-- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found BOARD.dts: C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52833dk/nrf52833dk_nrf52833.dts
-- Found devicetree overlay: C:/Users/username/source/repos/proj1/common_mode_test/boards/nrf52833dk_nrf52833.overlay
-- Generated zephyr.dts: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/zephyr.dts
-- Generated pickled edt: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/edt.pickle
-- Generated zephyr.dts: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/dts.cmake
Parsing C:/ncs/v3.0.1/zephyr/Kconfig
Loaded configuration 'C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52833dk/nrf52833dk_nrf52833_defconfig'
Merged configuration 'C:/Users/username/source/repos/proj1/common_mode_test/common/common.conf'
Merged configuration 'C:/Users/username/source/repos/proj1/common_mode_test/prj.conf'
Merged configuration 'C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/.config.sysbuild'
Configuration saved to 'C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/.config'
Kconfig header saved to 'C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
CMake Warning at C:/ncs/v3.0.1/zephyr/CMakeLists.txt:2180 (message):
__ASSERT() statements are globally ENABLED
-- Configuring incomplete, errors occurred!
See also "C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/CMakeFiles/CMakeOutput.log".
See also "C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/CMakeFiles/CMakeError.log".
CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
CMake configure failed for Zephyr project: common_mode_test
Location: C:/Users/username/source/repos/proj1/common_mode_test
Call Stack (most recent call first):
cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
cmake/modules/sysbuild_default.cmake:21 (include)
C:/ncs/v3.0.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
C:/ncs/v3.0.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
C:/ncs/v3.0.1/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
See also "C:/Users/username/source/repos/proj1/common_mode_test/build/CMakeFiles/CMakeOutput.log".
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/b620d30767/opt/bin/python.exe '-Bc:\Users\username\source\repos\proj1\common_mode_test\build' -GNinja -DBOARD=nrf52833dk/nrf52833 '-DBOARD_ROOT=c:/users/username/documents/project/proj1;c:/users/username/source/repos;c:/users/username/source/repos/proj1/common_mode_test' '-SC:\ncs\v3.0.1\zephyr\share\sysbuild' '-DAPP_DIR:PATH=c:\Users\username\source\repos\proj1\common_mode_test'
* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
Loading Zephyr default modules (Zephyr base).
-- Application: C:/Users/username/source/repos/proj1/common_mode_test
-- CMake version: 3.21.0
-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache
-- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf52833dk, qualifiers: nrf52833
-- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found BOARD.dts: C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52833dk/nrf52833dk_nrf52833.dts
-- Found devicetree overlay: C:/Users/username/source/repos/proj1/common_mode_test/boards/nrf52833dk_nrf52833.overlay
-- Generated zephyr.dts: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/zephyr.dts
-- Generated pickled edt: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/edt.pickle
-- Generated zephyr.dts: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/dts.cmake
Parsing C:/ncs/v3.0.1/zephyr/Kconfig
Loaded configuration 'C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52833dk/nrf52833dk_nrf52833_defconfig'
Merged configuration 'C:/Users/username/source/repos/proj1/common_mode_test/common/common.conf'
Merged configuration 'C:/Users/username/source/repos/proj1/common_mode_test/prj.conf'
Merged configuration 'C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/.config.sysbuild'
Configuration saved to 'C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/.config'
Kconfig header saved to 'C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
CMake Warning at C:/ncs/v3.0.1/zephyr/CMakeLists.txt:2180 (message):
__ASSERT() statements are globally ENABLED
-- Configuring incomplete, errors occurred!
See also "C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/CMakeFiles/CMakeOutput.log".
See also "C:/Users/username/source/repos/proj1/common_mode_test/build/common_mode_test/CMakeFiles/CMakeError.log".
CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
CMake configure failed for Zephyr project: common_mode_test
Location: C:/Users/username/source/repos/proj1/common_mode_test
Call Stack (most recent call first):
cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
cmake/modules/sysbuild_default.cmake:21 (include)
C:/ncs/v3.0.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
C:/ncs/v3.0.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
C:/ncs/v3.0.1/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
See also "C:/Users/username/source/repos/proj1/common_mode_test/build/CMakeFiles/CMakeOutput.log".
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/b620d30767/opt/bin/python.exe '-Bc:\Users\username\source\repos\proj1\common_mode_test\build' -GNinja -DBOARD=nrf52833dk/nrf52833 '-DBOARD_ROOT=c:/users/username/documents/project/proj1;c:/users/username/source/repos;c:/users/username/source/repos/proj1/common_mode_test' '-SC:\ncs\v3.0.1\zephyr\share\sysbuild' '-DAPP_DIR:PATH=c:\Users\username\source\repos\proj1\common_mode_test'
* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.