From d7814ff50be89d12f4840371bed718987be0504e Mon Sep 17 00:00:00 2001 From: Yurii Soldak Date: Fri, 2 Sep 2022 23:52:05 +0200 Subject: [PATCH] targets: fix build tag duplicates and add missing targets to smoke test --- Makefile | 6 +++++- targets/esp32c3-12f.json | 2 +- targets/matrixportal-m4.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c418b310..a6203cee 100644 --- a/Makefile +++ b/Makefile @@ -528,6 +528,8 @@ endif @$(MD5SUM) test.hex $(TINYGO) build -size short -o test.hex -target=feather-m4 examples/blinky1 @$(MD5SUM) test.hex + $(TINYGO) build -size short -o test.hex -target=matrixportal-m4 examples/blinky1 + @$(MD5SUM) test.hex $(TINYGO) build -size short -o test.hex -target=pybadge examples/blinky1 @$(MD5SUM) test.hex $(TINYGO) build -size short -o test.hex -target=metro-m4-airlift examples/blinky1 @@ -690,7 +692,9 @@ ifneq ($(XTENSA), 0) $(TINYGO) build -size short -o test.bin -target mch2022 examples/serial @$(MD5SUM) test.bin endif - $(TINYGO) build -size short -o test.bin -target=esp32c3 examples/serial + $(TINYGO) build -size short -o test.bin -target=esp32c3 examples/serial + @$(MD5SUM) test.bin + $(TINYGO) build -size short -o test.bin -target=esp32c3-12f examples/serial @$(MD5SUM) test.bin $(TINYGO) build -size short -o test.bin -target=m5stamp-c3 examples/serial @$(MD5SUM) test.bin diff --git a/targets/esp32c3-12f.json b/targets/esp32c3-12f.json index 25bb4a79..371cacc7 100644 --- a/targets/esp32c3-12f.json +++ b/targets/esp32c3-12f.json @@ -1,5 +1,5 @@ { "inherits": ["esp32c3"], - "build-tags": ["esp32c312f", "esp32c3", "esp"] + "build-tags": ["esp32c312f"] } diff --git a/targets/matrixportal-m4.json b/targets/matrixportal-m4.json index e9125f0e..d6e793a4 100644 --- a/targets/matrixportal-m4.json +++ b/targets/matrixportal-m4.json @@ -1,6 +1,6 @@ { "inherits": ["atsamd51j19a"], - "build-tags": ["atsamd51j19a", "matrixportal_m4"], + "build-tags": ["matrixportal_m4"], "serial": "usb", "serial-port": ["acm:239a:80c9", "acm:239a:00c9", "acm:239a:80ca"], "flash-1200-bps-reset": "true",