Build configuration incomplete

No board named 'nrf54h20dk_nrf54h20_cpuapp' found. vs code version

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: F:/3_version/nfr/workspace/peripheral_uart_20240828
-- CMake version: 3.21.0
-- Found Python3: F:/3_version/nfr/toolchains/ce3b5ff664/opt/bin/python.exe (found suitable version "3.9.13", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: F:/3_version/nfr/workspace/zephyr/.cache
-- Zephyr version: 3.6.99 (F:/3_version/nfr/workspace/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
No board named 'nrf54h20dk_nrf54h20_cpuapp' found.

Please choose one of the following boards:

-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'F:\3_version\nfr\toolchains\ce3b5ff664\opt\bin\cmake.EXE' -DWEST_PYTHON=F:/3_version/nfr/toolchains/ce3b5ff664/opt/bin/python.exe '-Bf:\3_version\nfr\workspace\peripheral_uart_20240828\build_1' -GNinja -DBOARD=nrf54h20dk_nrf54h20_cpuapp -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=f:/3_version/nfr/workspace/peripheral_uart_20240828 '-Sf:\3_version\nfr\workspace\peripheral_uart_20240828'

Parents
  • Hello,

    Please select the pre-release version of the VS code extension here: 

    This is required when using SDK v2.7 and later due to the introduction of the new HW model and Sysbuild as mentioned in the release notes at https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/releases/release-notes-2.7.0.html#ide_and_tool_support 

    Best regards,

    Vidar

  • CMake Error at F:/3_version/nfr/workspace/zephyr/modules/hal_nordic/CMakeLists.txt:18 (find_package):
    Could not find a configuration file for package "nrf-regtool" that exactly
    matches requested version "5.5.1".

    The following configuration files were considered but not accepted:

    F:/3_version/nfr/workspace/zephyr/modules/hal_nordic/nrf-regtool/nrf-regtoolConfig.cmake, version: 5.3.2

    -- Configuring incomplete, errors occurred!
    See also "F:/3_version/nfr/workspace/peripheral_uart_20240828/build_3/CMakeFiles/CMakeOutput.log".
    See also "F:/3_version/nfr/workspace/peripheral_uart_20240828/build_3/CMakeFiles/CMakeError.log".
    FATAL ERROR: command exited with status 1: 'F:\3_version\nfr\toolchains\ce3b5ff664\opt\bin\cmake.EXE' -DWEST_PYTHON=F:/3_version/nfr/toolchains/ce3b5ff664/opt/bin/python.exe '-Bf:\3_version\nfr\workspace\peripheral_uart_20240828\build_3' -GNinja -DBOARD=nrf54h20dk/nrf54h20/cpuapp -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=f:/3_version/nfr/workspace/peripheral_uart_20240828 '-Sf:\3_version\nfr\workspace\peripheral_uart_20240828'

    * The terminal process terminated with exit code: 1.

  • From the screenshots, I see you on v2.7.99. Please try to use the release tag instead (v2.7.0). In general, you should avoid using the main branch for development as it may be unstable. The error indicates that the main branch requires a newer version of the regtool executable than the one included in the toolchain.

Reply Children
Related