From 0a03b84e1756b36d014a83f685da1950a8e8361e Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 26 Nov 2020 18:03:41 +0100 Subject: Add cobs decoder --- prototype/fw/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'prototype/fw/Makefile') diff --git a/prototype/fw/Makefile b/prototype/fw/Makefile index 18e9447..33288b8 100644 --- a/prototype/fw/Makefile +++ b/prototype/fw/Makefile @@ -205,8 +205,11 @@ $(BUILDDIR)/microcobs_test_sg: src/microcobs.c test/microcobs_test_sg.c $(BUILDDIR)/microcobs_test: src/microcobs.c test/microcobs_test.c $(HOSTCC) $(HOST_CFLAGS) -o $@ -Isrc $^ +$(BUILDDIR)/microcobs_decode_test: src/microcobs.c test/microcobs_decode_test.c + $(HOSTCC) $(HOST_CFLAGS) -o $@ -Isrc $^ + .PHONY: run_tests -run_tests: $(BUILDDIR)/crc32_test $(BUILDDIR)/microcobs_test_sg $(BUILDDIR)/microcobs_test +run_tests: $(BUILDDIR)/crc32_test $(BUILDDIR)/microcobs_test_sg $(BUILDDIR)/microcobs_test $(BUILDDIR)/microcobs_decode_test $(PYTHON3) -m unittest test.crc32_ref $(PYTHON3) -m unittest test.microcobs @@ -224,6 +227,7 @@ clean: rm -f $(BUILDDIR)/crc32_test rm -f $(BUILDDIR)/microcobs_test_sg rm -f $(BUILDDIR)/microcobs_test + rm -f $(BUILDDIR)/microcobs_decode_test mrproper: clean rm -rf build -- cgit