Created
October 15, 2021 01:17
-
-
Save artemist/445b000689f463fa427d9710af4d7528 to your computer and use it in GitHub Desktop.
Shell to use the Zephyr SDK on NixOS
This file contains 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
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}"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you have a zephyr-sdk package?