Skip to content

Setup steps seem to be incomplete #9

@aeremin

Description

@aeremin

I am getting the following error while running west build:

-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
CMake Error at /usr/local/google/home/aeremin/zds2023/zephyr/cmake/modules/FindZephyr-sdk.cmake:108 (find_package):
  Could not find a package configuration file provided by "Zephyr-sdk"
  (requested version 0.15) with any of the following names:

    Zephyr-sdkConfig.cmake
    zephyr-sdk-config.cmake

  Add the installation prefix of "Zephyr-sdk" to CMAKE_PREFIX_PATH or set
  "Zephyr-sdk_DIR" to a directory containing one of the above files.  If
  "Zephyr-sdk" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  /usr/local/google/home/aeremin/zds2023/zephyr/cmake/modules/FindHostTools.cmake:53 (find_package)
  /usr/local/google/home/aeremin/zds2023/zephyr/cmake/modules/dts.cmake:8 (find_package)
  /usr/local/google/home/aeremin/zds2023/zephyr/cmake/modules/zephyr_default.cmake:114 (include)
  /usr/local/google/home/aeremin/zds2023/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /usr/local/google/home/aeremin/zds2023/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:6 (find_package)

Given that Zephyr SDK actually means "Zephyr-provided toolchain" (and we don't install it) - no surprise. Should we use Pigweed-provided toolchain? What values of ZEPHYR_TOOLCHAIN_VARIANT and GNUARMEMB_TOOLCHAIN_PATH you have? They are empty for me, setting them to gnuarmemb and /usr/local/google/home/aeremin/zds2023/pigweed/environment/cipd/packages/arm correspondingly results in successful build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions