@tjvantoll Your trouble shooting guidance is requested. I am trying to begin my Zephyr migration via your “Establishing a Robust MLOps Workflow for TinyML” Blog/GitHub example. I have the hardware setup, and tried to follow the “Zephyr SDK Getting Set Up Documentation”. After reopening in a Container, I am getting a build error using “Terminal>Run Task…Zephry: Build Application”? Your troubleshooting guidance is much appreciated.
BTW, I think my MacBook had Zephyr previously installed for work with Sparrow. The Docker approach may not have overwritten outdated settings?
Following is the terminal output:
- Executing task: west build --board swan_r5 --pristine=always /workspaces/mlops-zephyr
– west build: making build dir /workspaces/mlops-zephyr/build pristine
– west build: generating a build system
Loading Zephyr default modules (Zephyr base).
– Application: /workspaces/mlops-zephyr
– CMake version: 3.22.1
– Found Python3: /usr/bin/python3 (found suitable version “3.10.12”, minimum required is “3.8”) found components: Interpreter
– Cache files will be written to: /home/blues/.cache/zephyr
– Zephyr version: 3.5.99 (/home/blues/zephyrproject/zephyr)
– Found west (found suitable version “1.2.0”, minimum required is “0.14.0”)
– Board: swan_r5
– ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
CMake Error at /home/blues/zephyrproject/zephyr/cmake/modules/FindZephyr-sdk.cmake:109 (find_package):
Could not find a configuration file for package “Zephyr-sdk” that is
compatible with requested version “0.16”.
The following configuration files were considered but not accepted:
/usr/local/zephyr-sdk-0.15.2/cmake/Zephyr-sdkConfig.cmake, version: 0.15.2
Call Stack (most recent call first):
/home/blues/zephyrproject/zephyr/cmake/modules/FindHostTools.cmake:53 (find_package)
/home/blues/zephyrproject/zephyr/cmake/modules/dts.cmake:9 (find_package)
/home/blues/zephyrproject/zephyr/cmake/modules/zephyr_default.cmake:129 (include)
/home/blues/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/blues/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:11 (find_package)
– Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/workspaces/mlops-zephyr/build -GNinja -DBOARD=swan_r5 -S/workspaces/mlops-zephyr
- The terminal process “/bin/bash ‘-c’, ‘west build --board swan_r5 --pristine=always /workspaces/mlops-zephyr’” terminated with exit code: 1.
- Terminal will be reused by tasks, press any key to close it.