Skip to content

Commit e5b8916

Browse files
committed
imports are automatic, comment refers to old version
1 parent fe72928 commit e5b8916

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tools/upload.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
#!/usr/bin/env python3
22

33
# Wrapper for Arduino core / others that can call esptool.py possibly multiple times
4-
# Adds pyserial to sys.path automatically based on the path of the current file
5-
6-
# First parameter is pyserial path, second is esptool path, then a series of command arguments
7-
# i.e. upload.py tools/pyserial tools/esptool write_flash file 0x0
4+
# Adds pyserial & esptool that are in the same directory as the script to sys.path
85

96
import os
107
import atexit

0 commit comments

Comments
 (0)