summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Kummerlaender2021-10-10 21:48:10 +0200
committerAdrian Kummerlaender2021-10-10 21:48:10 +0200
commitbdd2cb7b9a1d9d1e34e1c838311a57a9ea552516 (patch)
treedd1bafa866328ad6853f955200d78f8a6080a54b /test
parent59918fa4f925c063c8beec7142f786eda5746cc4 (diff)
downloadteensy-env-bdd2cb7b9a1d9d1e34e1c838311a57a9ea552516.tar
teensy-env-bdd2cb7b9a1d9d1e34e1c838311a57a9ea552516.tar.gz
teensy-env-bdd2cb7b9a1d9d1e34e1c838311a57a9ea552516.tar.bz2
teensy-env-bdd2cb7b9a1d9d1e34e1c838311a57a9ea552516.tar.lz
teensy-env-bdd2cb7b9a1d9d1e34e1c838311a57a9ea552516.tar.xz
teensy-env-bdd2cb7b9a1d9d1e34e1c838311a57a9ea552516.tar.zst
teensy-env-bdd2cb7b9a1d9d1e34e1c838311a57a9ea552516.zip
Extract basic Teensy image builder
Diffstat (limited to 'test')
-rw-r--r--test/Makefile17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/Makefile b/test/Makefile
deleted file mode 100644
index 3bf5a70..0000000
--- a/test/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-include $(TEENSY_PATH)/include/flags.mk
-
-CXXFLAGS += -std=gnu++20
-
-LIBS = -lm -lstdc++ -lteensy-core
-
-CPP_FILES := $(wildcard *.cpp)
-TARGETS := $(CPP_FILES:.cpp=.hex)
-
-%.elf: %.o
- $(CC) $(LDFLAGS) -o $@ $< $(LIBS)
-
-%.hex: %.elf
- $(SIZE) $<
- $(OBJCOPY) -O ihex -R .eeprom $< $@
-
-all: $(TARGETS)