Skip to content

Commit f61b7ae

Browse files
committed
Remove hard coded port from programming batch file
1 parent 1129d8e commit f61b7ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Binaries/batch_program.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [%1]==[] goto usage
99
@echo -
1010
@echo Programming binary: %1 on %2
1111

12-
esptool.exe --chip esp32 --port COM26 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect ^
12+
esptool.exe --chip esp32 --port %2 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect ^
1313
0x1000 ./bin/RTK_Surveyor.ino.bootloader.bin ^
1414
0x8000 ./bin/RTK_Surveyor.ino.partitions.bin ^
1515
0xe000 ./bin/boot_app0.bin ^

0 commit comments

Comments
 (0)