From 9664deb3e817b616dd1e8f73a89c0703a0771464 Mon Sep 17 00:00:00 2001 From: Elwin Date: Sun, 23 Jun 2024 11:31:15 +0200 Subject: Neotrellis Freertos support --- puzzle/neo/makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 puzzle/neo/makefile (limited to 'puzzle/neo/makefile') diff --git a/puzzle/neo/makefile b/puzzle/neo/makefile new file mode 100644 index 0000000..509d8e3 --- /dev/null +++ b/puzzle/neo/makefile @@ -0,0 +1,20 @@ +TARGET = $(BUILD_DIR)/main.elf + +include ../../lazy.mk + +export SERIAL_PORT ?= /dev/ttyACM0 +flash: upload-main; +upload-main: $(TARGET) + +test: test_a test_b; + +test_a: + $(MAKE) -C . clean + $(MAKE) -E CMFLAGS+=-D\ CMAKE_CXX_FLAGS=-DTEST_A -C . + $(MAKE) -E SERIAL_PORT=/dev/ttyACM0 -C . flash + +test_b: + $(MAKE) -C . clean + $(MAKE) -E CMFLAGS+=-D\ CMAKE_CXX_FLAGS=-DTEST_B -C . + $(MAKE) -E SERIAL_PORT=/dev/ttyACM1 -C . flash + -- cgit v1.2.3