mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-15 08:32:42 +08:00
Merge branch 'feature/esptool_add_soft_reset' into 'master'
Add option to use soft reset after finishing downloading See merge request sdk/ESP8266_RTOS_SDK!813
This commit is contained in:
@ -170,23 +170,26 @@ config ESPTOOLPY_BEFORE
|
||||
|
||||
choice ESPTOOLPY_AFTER
|
||||
prompt "After flashing"
|
||||
default ESPTOOLPY_AFTER_RESET
|
||||
default ESPTOOLPY_AFTER_HARD_RESET
|
||||
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
|
||||
wired from the serial port to the ESP32. Most USB development
|
||||
boards do this internally.
|
||||
|
||||
config ESPTOOLPY_AFTER_RESET
|
||||
bool "Reset after flashing"
|
||||
config ESPTOOLPY_AFTER_HARD_RESET
|
||||
bool "Hard reset after flashing"
|
||||
config ESPTOOLPY_AFTER_SOFT_RESET
|
||||
bool "Soft reset after flashing"
|
||||
config ESPTOOLPY_AFTER_NORESET
|
||||
bool "Stay in bootloader"
|
||||
endchoice
|
||||
|
||||
config ESPTOOLPY_AFTER
|
||||
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
|
||||
|
||||
choice MONITOR_BAUD
|
||||
|
Reference in New Issue
Block a user