mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-06 15:15:15 +08:00
feat(esptool_py): Add option to use soft reset after finishing downloading
Closes https://github.com/espressif/ESP8266_RTOS_SDK/pull/221
This commit is contained in:
@ -170,23 +170,26 @@ config ESPTOOLPY_BEFORE
|
|||||||
|
|
||||||
choice ESPTOOLPY_AFTER
|
choice ESPTOOLPY_AFTER
|
||||||
prompt "After flashing"
|
prompt "After flashing"
|
||||||
default ESPTOOLPY_AFTER_RESET
|
default ESPTOOLPY_AFTER_HARD_RESET
|
||||||
help
|
help
|
||||||
Configure whether esptool.py should reset the ESP32 after flashing.
|
Configure whether esptool.py should reset the ESP8266 after flashing.
|
||||||
|
|
||||||
Automatic resetting depends on the RTS & DTR signals being
|
Automatic resetting depends on the RTS & DTR signals being
|
||||||
wired from the serial port to the ESP32. Most USB development
|
wired from the serial port to the ESP32. Most USB development
|
||||||
boards do this internally.
|
boards do this internally.
|
||||||
|
|
||||||
config ESPTOOLPY_AFTER_RESET
|
config ESPTOOLPY_AFTER_HARD_RESET
|
||||||
bool "Reset after flashing"
|
bool "Hard reset after flashing"
|
||||||
|
config ESPTOOLPY_AFTER_SOFT_RESET
|
||||||
|
bool "Soft reset after flashing"
|
||||||
config ESPTOOLPY_AFTER_NORESET
|
config ESPTOOLPY_AFTER_NORESET
|
||||||
bool "Stay in bootloader"
|
bool "Stay in bootloader"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config ESPTOOLPY_AFTER
|
config ESPTOOLPY_AFTER
|
||||||
string
|
string
|
||||||
default "hard_reset" if ESPTOOLPY_AFTER_RESET
|
default "hard_reset" if ESPTOOLPY_AFTER_HARD_RESET
|
||||||
|
default "soft_reset" if ESPTOOLPY_AFTER_SOFT_RESET
|
||||||
default "no_reset" if ESPTOOLPY_AFTER_NORESET
|
default "no_reset" if ESPTOOLPY_AFTER_NORESET
|
||||||
|
|
||||||
choice MONITOR_BAUD
|
choice MONITOR_BAUD
|
||||||
|
Reference in New Issue
Block a user