Skip to content

Commit d5d1126

Browse files
authored
add flag to esptool to hard reset after flashing (#5433)
1 parent ee3b374 commit d5d1126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ tools.esptool.network_cmd.windows=python.exe
134134
tools.esptool.upload.protocol=esp
135135
tools.esptool.upload.params.verbose=-vv
136136
tools.esptool.upload.params.quiet=
137-
tools.esptool.upload.pattern="{path}/{cmd}" {upload.verbose} -cd {upload.resetmethod} -cb {upload.speed} -cp "{serial.port}" {upload.erase_cmd} -ca 0x00000 -cf "{build.path}/{build.project_name}.bin"
137+
tools.esptool.upload.pattern="{path}/{cmd}" {upload.verbose} -cd {upload.resetmethod} -cb {upload.speed} -cp "{serial.port}" {upload.erase_cmd} -ca 0x00000 -cf "{build.path}/{build.project_name}.bin" -cr
138138
tools.esptool.upload.network_pattern="{network_cmd}" "{runtime.platform.path}/tools/espota.py" -i "{serial.port}" -p "{network.port}" "--auth={network.password}" -f "{build.path}/{build.project_name}.bin"
139139

140140
tools.mkspiffs.cmd=mkspiffs

0 commit comments

Comments
 (0)