Skip to content

Commit

Permalink
shell.nix: add teensy loader
Browse files Browse the repository at this point in the history
  • Loading branch information
rvolosatovs authored and jackhumbert committed Nov 26, 2017
1 parent 53ad737 commit 833ec84
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ pkgs ? import <nixpkgs> {}
, avr ? true, arm ? true }:
, avr ? true, arm ? true, teensy ? true }:

with pkgs;
let
Expand All @@ -19,7 +19,8 @@ stdenv.mkDerivation {

buildInputs = [ dfu-programmer dfu-util diffutils git ]
++ lib.optional avr [ avrbinutils avrgcc avrlibc ]
++ lib.optional arm [ gcc-arm-embedded ];
++ lib.optional arm [ gcc-arm-embedded ]
++ lib.optional teensy [ teensy-loader-cli ];

CFLAGS = lib.optional avr avr_incflags;
ASFLAGS = lib.optional avr avr_incflags;
Expand Down

0 comments on commit 833ec84

Please sign in to comment.