Skip to content

Commit f2df24f

Browse files
committed
Use "program_esp" command for new openOCD
1 parent d10bbbe commit f2df24f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,13 @@ def configure_debug_options(self, initial_debug_options, ide_data):
168168

169169
debug_options = copy.deepcopy(initial_debug_options)
170170
load_cmds = [
171-
'monitor program_esp32 "{{{path}}}" {offset} verify'.format(
171+
'monitor program_esp "{{{path}}}" {offset} verify'.format(
172172
path=fs.to_unix_path(item["path"]), offset=item["offset"]
173173
)
174174
for item in flash_images
175175
]
176176
load_cmds.append(
177-
'monitor program_esp32 "{%s.bin}" 0x10000 verify'
177+
'monitor program_esp "{%s.bin}" 0x10000 verify'
178178
% fs.to_unix_path(ide_data["prog_path"][:-4])
179179
)
180180
debug_options["load_cmds"] = load_cmds

0 commit comments

Comments
 (0)