summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test.nix28
1 files changed, 0 insertions, 28 deletions
diff --git a/test.nix b/test.nix
deleted file mode 100644
index 1e26a70..0000000
--- a/test.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{ pkgs, teensy-core, ... }:
-
-pkgs.stdenv.mkDerivation rec {
- name = "teensy-test";
-
- src = ./test;
-
- buildInputs = with pkgs; [
- gcc-arm-embedded
- teensy-core
- ];
-
- buildPhase = ''
- export CC=arm-none-eabi-gcc
- export CXX=arm-none-eabi-g++
- export OBJCOPY=arm-none-eabi-objcopy
- export SIZE=arm-none-eabi-size
-
- cp ${teensy-core}/include/Makefile.default Makefile
- export TEENSY_PATH=${teensy-core}
- make
- '';
-
- installPhase = ''
- mkdir $out
- cp *.hex $out/
- '';
-}