Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup steps seem to be incomplete #9

Open
aeremin opened this issue Mar 29, 2023 · 0 comments
Open

Setup steps seem to be incomplete #9

aeremin opened this issue Mar 29, 2023 · 0 comments

Comments

@aeremin
Copy link

aeremin commented Mar 29, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant