summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2022-07-30 17:06:19 -0700
committerH. Peter Anvin <hpa@zytor.com>2022-07-30 17:06:19 -0700
commit88d9ec85ff1a42047acdd56f3e3015691135e6bb (patch)
treee526bee0882562a40b05f040346c5e19ec5312d4
parent99fc9c46ecf270a236f424e3288a527f54747580 (diff)
downloadblinktest-88d9ec85ff1a42047acdd56f3e3015691135e6bb.tar.gz
blinktest-88d9ec85ff1a42047acdd56f3e3015691135e6bb.tar.xz
blinktest-88d9ec85ff1a42047acdd56f3e3015691135e6bb.zip
Makefile: fix upload syntax for serial port
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 57916db..d8ab9ba 100644
--- a/Makefile
+++ b/Makefile
@@ -79,5 +79,5 @@ upload-%:
if [ -z '$(PORT)' ]; then \
$(CURL) -v --data-binary @fpga/output/$*.fw http://$(ip)/sys/fwupdate ; \
else \
- $(PERL) ./esp32/flashesp.pl --port $(PORT) fpga/output/$*.fw ; \
+ $(PERL) ./esp32/flashesp.pl fpga/output/$*.fw '$(PORT)' $(FLASHOPT); \
fi