summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2021-10-10 22:28:17 +0200
committerAdrian Kummerlaender2021-10-10 22:28:17 +0200
commitac4eb7d7347d41481f08e4ba78339d41f1ebd3d4 (patch)
treedd689e705199b05b5734a91504256c9459fd262f
parentb03d90c453c5c187aeb6a0c0f473ce370d840bda (diff)
downloadteensy-env-ac4eb7d7347d41481f08e4ba78339d41f1ebd3d4.tar
teensy-env-ac4eb7d7347d41481f08e4ba78339d41f1ebd3d4.tar.gz
teensy-env-ac4eb7d7347d41481f08e4ba78339d41f1ebd3d4.tar.bz2
teensy-env-ac4eb7d7347d41481f08e4ba78339d41f1ebd3d4.tar.lz
teensy-env-ac4eb7d7347d41481f08e4ba78339d41f1ebd3d4.tar.xz
teensy-env-ac4eb7d7347d41481f08e4ba78339d41f1ebd3d4.tar.zst
teensy-env-ac4eb7d7347d41481f08e4ba78339d41f1ebd3d4.zip
Remove deprecated file
Replaced by generic `build.nix`
-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/
- '';
-}