Hi folks, I’m trying to follow this tute:
https://docs.circuitdojo.com/nrf9160-feather/sdk-setup-windows.html
I get most of the way through using the nRF9160 feather board.
Zephyr Tools: Setup
Zephyr Tools: Init Repo – https://github.com/circuitdojo/nrf9160-feather-examples-and-drivers.git
Zephyr Tools: Build
– selected circuitdojo_feather_nrf9160
– selected blinky app
I get this error when compiling:
Executing task: west build -b thingy91_nrf9160 -d build\thingy91_nrf9160
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: D:/Desktop/CircuitDojo/nfed/samples/blinky
-- CMake version: 3.22.0
-- Cache files will be written to: D:/Desktop/CircuitDojo/zephyr/.cache
-- Zephyr version: 3.3.99 (D:/Desktop/CircuitDojo/zephyr)
-- Found west (found suitable version "1.3.0", minimum required is "0.7.1")
-- Board: thingy91_nrf9160
CMake Error at D:/Desktop/CircuitDojo/zephyr/cmake/modules/FindZephyr-sdk.cmake:56 (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):
D:/Desktop/CircuitDojo/zephyr/cmake/modules/FindHostTools.cmake:53 (find_package)
D:/Desktop/CircuitDojo/zephyr/cmake/modules/dts.cmake:9 (find_package)
D:/Desktop/CircuitDojo/zephyr/cmake/modules/zephyr_default.cmake:115 (include)
D:/Desktop/CircuitDojo/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
D:/Desktop/CircuitDojo/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
CMakeLists.txt:7 (find_package)
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\Users\hemon\.zephyrtools\cmake\cmake-3.22.0-windows-x86_64\bin\cmake.EXE' -DWEST_PYTHON=C:/Users/hemon/.zephyrtools/env/Scripts/python.exe '-BD:\Desktop\CircuitDojo\nfed\samples\blinky\build\thingy91_nrf9160' -GNinja '-SD:\Desktop\CircuitDojo\nfed\samples\blinky'
Can somebody please guide me and tell me what I’m doing wrong? Many thanks!
Regards,
Hemon