{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nrf-nix.url = "github:matthewcroughan/nRF-nix";
};
outputs = { self, nixpkgs, nrf-nix, ... }:
let
pkgs = import nixpkgs { system = "x86_64-linux"; overlays = [ nrf-nix.overlays.default ]; config = { allowUnfree = true; segger-jlink.acceptLicense = true; }; };
in
{
packages.x86_64-linux.default = pkgs.mkZephyrProject rec {
name = "example-application";
app = name;
board = "actinius_nf9160_ns";
westWorkspace = pkgs.fetchWestWorkspace {
url = "https://github.com/nrfconnect/sdk-nrf";
rev = "v2.1.0";
sha256 = "sha256-LoL0SzPiKfXxWnZdbx+3m0bzyPeHovWNlmkFQsmiR7g=";
};
src = self;
};
};
}
-
Notifications
You must be signed in to change notification settings - Fork 4
A Nix flake for developing and working with Nordic Semiconductor hardware
License
MatthewCroughan/nrf-nix
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A Nix flake for developing and working with Nordic Semiconductor hardware
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published