aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYurii Soldak <[email protected]>2022-09-02 23:52:05 +0200
committerRon Evans <[email protected]>2022-09-03 08:31:27 +0200
commitd7814ff50be89d12f4840371bed718987be0504e (patch)
tree276ef3a1df786ebf11a820c5ac708c7294ec8051
parent02160aa8d82effc31eaa62a816ee15b64d40b5d8 (diff)
downloadtinygo-d7814ff50be89d12f4840371bed718987be0504e.tar.gz
tinygo-d7814ff50be89d12f4840371bed718987be0504e.zip
targets: fix build tag duplicates
and add missing targets to smoke test
-rw-r--r--Makefile6
-rw-r--r--targets/esp32c3-12f.json2
-rw-r--r--targets/matrixportal-m4.json2
3 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c418b310f..a6203cee3 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 25bb4a793..371cacc7b 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 e9125f0e4..d6e793a47 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",