Created
April 2, 2025 03:48
-
-
Save paigeadelethompson/19e8e6d6e1219fbb0582e8755745992a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(nrf) ➜ hci_usb rm -rf build | |
(nrf) ➜ hci_usb west build --board=nrf52840dk/nrf52840 --no-sysbuild | |
-- west build: generating a build system | |
Loading Zephyr default modules (Zephyr base). | |
-- Application: /home/netcraveos/hci_usb | |
-- CMake version: 3.31.6 | |
-- Found Python3: /usr/bin/python3 (found suitable version "3.13.2", minimum required is "3.10") found components: Interpreter | |
-- Cache files will be written to: /home/netcraveos/.cache/zephyr | |
-- Zephyr version: 4.0.99 (/home/netcraveos/.oh-my-sdk/dist/nrf/zephyr) | |
-- Found west (found suitable version "1.3.0", minimum required is "0.14.0") | |
-- Board: nrf52840dk, qualifiers: nrf52840 | |
CMake Error at /home/netcraveos/.oh-my-sdk/dist/nrf/zephyr/cmake/modules/FindZephyr-sdk.cmake:159 (find_package): | |
Could not find a package configuration file provided by "Zephyr-sdk" | |
(requested version 0.16) 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): | |
/home/netcraveos/.oh-my-sdk/dist/nrf/zephyr/cmake/modules/FindHostTools.cmake:53 (find_package) | |
/home/netcraveos/.oh-my-sdk/dist/nrf/zephyr/cmake/modules/dts.cmake:9 (find_package) | |
/home/netcraveos/.oh-my-sdk/dist/nrf/zephyr/cmake/modules/zephyr_default.cmake:133 (include) | |
/home/netcraveos/.oh-my-sdk/dist/nrf/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) | |
/home/netcraveos/.oh-my-sdk/dist/nrf/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) | |
CMakeLists.txt:4 (find_package) | |
-- Configuring incomplete, errors occurred! | |
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/home/netcraveos/hci_usb/build -GNinja -DBOARD=nrf52840dk/nrf52840 -S/home/netcraveos/hci_usb | |
(nrf) ➜ hci_usb echo $ZEPHYR_BASE | |
/home/netcraveos/.oh-my-sdk/dist/nrf/zephyr | |
(nrf) ➜ hci_usb | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh I was actually mistaken, I thought I had the zephyr-sdk but I guess that zephyr dir in nrf is something else (it just looks like the sdk) apparently I just needed to add a install zephyr sdk step to my oh-my-sdk bootstrap, which runs it's setup.sh with
-c
which installs the necesarry Zephyr-sdk cmake files in ~/.cmake (OK)this is definitely an improvement. I don't know if this is any help to the project but I made a whole zsh antigen plugin that installs / configures and manages shell environment to make this SDK work:
https://github.com/paigeadelethompson/oh-my-sdk
and its probably still not right but idk what other vendors use zephyr point them out to me and I'll add support for them ...