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.
I am getting the following error while running
west build: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_VARIANTandGNUARMEMB_TOOLCHAIN_PATHyou have? They are empty for me, setting them tognuarmemband/usr/local/google/home/aeremin/zds2023/pigweed/environment/cipd/packages/armcorrespondingly results in successful build.