Sfoglia il codice sorgente

Makefile: fix upload syntax for serial port

H. Peter Anvin 2 anni fa
parent
commit
88d9ec85ff
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Makefile

+ 1 - 1
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