nrfx timer example not building in nrf SDK connect

Hi,

I am trying to build the nrfx timer example (not modified in any way) in nrf SDK v2.9.0 with toolchain of the same version for the nrf52dk_52832 and I am getting the following error message:

-- Configuring incomplete, errors occurred!
See also "/opt/nordic/ncs/v2.9.0/modules/hal/nordic/nrfx/samples/src/nrfx_timer/timer/build/timer/CMakeFiles/CMakeOutput.log".
See also "/opt/nordic/ncs/v2.9.0/modules/hal/nordic/nrfx/samples/src/nrfx_timer/timer/build/timer/CMakeFiles/CMakeError.log".
CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
CMake configure failed for Zephyr project: timer

Location:
/opt/nordic/ncs/v2.9.0/modules/hal/nordic/nrfx/samples/src/nrfx_timer/timer
Call Stack (most recent call first):
cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)
cmake/modules/sysbuild_default.cmake:20 (include)
/opt/nordic/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
/opt/nordic/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
/opt/nordic/ncs/v2.9.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also "/opt/nordic/ncs/v2.9.0/modules/hal/nordic/nrfx/samples/src/nrfx_timer/timer/build/CMakeFiles/CMakeOutput.log".
FATAL ERROR: command exited with status 1: /opt/nordic/ncs/toolchains/b8efef2ad5/bin/cmake -DWEST_PYTHON=/opt/nordic/ncs/toolchains/b8efef2ad5/opt/[email protected]/bin/python3.12 -B/opt/nordic/ncs/v2.9.0/modules/hal/nordic/nrfx/samples/src/nrfx_timer/timer/build -GNinja -DBOARD=nrf52dk/nrf52832 -DNCS_TOOLCHAIN_VERSION=NONE -S/opt/nordic/ncs/v2.9.0/zephyr/share/sysbuild -DAPP_DIR:PATH=/opt/nordic/ncs/v2.9.0/modules/hal/nordic/nrfx/samples/src/nrfx_timer/timer

Thanks in advance!

Parents
  • Hello,

    It doesn't say in the part of the build log that you included, but a little further up:

    CMake Error at CMakeLists.txt:11 (GET_DEVICE_CONFIG_FILES):
      GET_DEVICE_CONFIG_FILES Macro invoked with incorrect arguments for macro
      named: GET_DEVICE_CONFIG_FILES

    Remove that line, or use the extra argument "--no-sysbuild" (or tick off the child_image build when generating your build configuration if you are using VS Code). Thank you for reporting this. I will report it internally.

    Best regards,

    Edvin

Reply
  • Hello,

    It doesn't say in the part of the build log that you included, but a little further up:

    CMake Error at CMakeLists.txt:11 (GET_DEVICE_CONFIG_FILES):
      GET_DEVICE_CONFIG_FILES Macro invoked with incorrect arguments for macro
      named: GET_DEVICE_CONFIG_FILES

    Remove that line, or use the extra argument "--no-sysbuild" (or tick off the child_image build when generating your build configuration if you are using VS Code). Thank you for reporting this. I will report it internally.

    Best regards,

    Edvin

Children
No Data
Related