esptool: Update esptool.py to integrate reset fix for older dev boards

Originally marked "Reset with ESP32R0 Windows workaround", but proven to be
necessary on some other platforms as well. This is now integrated into the
default esptool.py reset behaviour.

Closes #305 https://github.com/espressif/esp-idf/issues/305
This commit is contained in:
Angus Gratton 2017-03-03 11:22:25 +11:00
parent 5ea9097dbd
commit 527720fb5b
2 changed files with 1 additions and 9 deletions

View file

@ -140,24 +140,16 @@ choice ESPTOOLPY_BEFORE
wired from the serial port to the ESP32. Most USB development
boards do this internally.
The "Reset with ESP32R0 Windows workaround" option works
around an automatic reset bug in hardware, when using Windows
with some development boards. This fix only works if you're
using a silicon revision 0 ESP32.
config ESPTOOLPY_BEFORE_RESET
bool "Reset to bootloader"
config ESPTOOLPY_BEFORE_NORESET
bool "No reset"
config ESPTOOLPY_BEFORE_ESP32R0
bool "Reset with ESP32R0 Windows workaround"
endchoice
config ESPTOOLPY_BEFORE
string
default "default_reset" if ESPTOOLPY_BEFORE_RESET
default "no_reset" if ESPTOOLPY_BEFORE_NORESET
default "esp32r0" if ESPTOOLPY_BEFORE_ESP32R0
choice ESPTOOLPY_AFTER
prompt "After flashing"

@ -1 +1 @@
Subproject commit c1d00094d564451636b01308625119901e2257ac
Subproject commit 907273664ada32fc33f3fbfeba99550512c67e4d