mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-29 05:21:37 +03:00
Use Pythonic way of calling esptool, avoid fork(#5797)
Simply import the pyserial and esptool modules directly into upload.py instead of trying to fake things with os.fork()s. Reduces code and is more Pythonic.
This commit is contained in:
committed by
GitHub
parent
f08346a73e
commit
472faf73a2
@ -137,17 +137,17 @@
|
||||
"systems": [
|
||||
{
|
||||
"host": "x86_64-mingw32",
|
||||
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/2.5.0-3/python-3.7.2.post1-embed-win32.zip",
|
||||
"archiveFileName": "python-3.7.2.post1-embed-win32.zip",
|
||||
"checksum": "SHA-256:8136937ac00c28549893d1241011054a0e90517e0a193c2986323fa9f6501ed9",
|
||||
"size": "6612720"
|
||||
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/2.5.0-3/python-3.7.2.post1-embed-win32v2.zip",
|
||||
"archiveFileName": "python-3.7.2.post1-embed-win32v2.zip",
|
||||
"checksum": "SHA-256:26665d2925ee75118bb7d8620e9ee988adc2ca3e660a9f4c06a09a06c94c0c29",
|
||||
"size": "6431781"
|
||||
},
|
||||
{
|
||||
"host": "i686-mingw32",
|
||||
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/2.5.0-3/python-3.7.2.post1-embed-win32.zip",
|
||||
"archiveFileName": "python-3.7.2.post1-embed-win32.zip",
|
||||
"checksum": "SHA-256:8136937ac00c28549893d1241011054a0e90517e0a193c2986323fa9f6501ed9",
|
||||
"size": "6612720"
|
||||
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/2.5.0-3/python-3.7.2.post1-embed-win32v2.zip",
|
||||
"archiveFileName": "python-3.7.2.post1-embed-win32v2.zip",
|
||||
"checksum": "SHA-256:26665d2925ee75118bb7d8620e9ee988adc2ca3e660a9f4c06a09a06c94c0c29",
|
||||
"size": "6431781"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
Reference in New Issue
Block a user