Skip to content

Instantly share code, notes, and snippets.

@artemist
Created October 15, 2021 01:17
Show Gist options
  • Save artemist/445b000689f463fa427d9710af4d7528 to your computer and use it in GitHub Desktop.
Save artemist/445b000689f463fa427d9710af4d7528 to your computer and use it in GitHub Desktop.
Shell to use the Zephyr SDK on NixOS
with import <nixpkgs> { };
mkShell rec {
packages = [
cmake
ninja
gnumake
dtc
python3
] ++ (with python3.pkgs; [
west
# requirements-base.txt
pyelftools
pykwalify
pyyaml
canopen
packaging
progress
psutil
pylink-square
anytree
intelhex
]);
ZEPHYR_TOOLCHAIN_VARIANT = "zephyr";
ZEPHYR_SDK_INSTALL_DIR = "${zephyr-sdk}";
}
@olafklingt
Copy link

ZEPHYR_SDK_INSTALL_DIR = "${zephyr-sdk}";

Do you have a zephyr-sdk package?

@nuxeh
Copy link

nuxeh commented Feb 26, 2023

Amazing, thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment