mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-09 18:19:08 +00:00
shell.nix: add teensy loader
This commit is contained in:
parent
53ad7375c7
commit
833ec84921
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ pkgs ? import <nixpkgs> {}
|
{ pkgs ? import <nixpkgs> {}
|
||||||
, avr ? true, arm ? true }:
|
, avr ? true, arm ? true, teensy ? true }:
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
let
|
let
|
||||||
|
@ -19,7 +19,8 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
buildInputs = [ dfu-programmer dfu-util diffutils git ]
|
buildInputs = [ dfu-programmer dfu-util diffutils git ]
|
||||||
++ lib.optional avr [ avrbinutils avrgcc avrlibc ]
|
++ 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;
|
CFLAGS = lib.optional avr avr_incflags;
|
||||||
ASFLAGS = lib.optional avr avr_incflags;
|
ASFLAGS = lib.optional avr avr_incflags;
|
||||||
|
|
Loading…
Reference in a new issue