mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
cmake idf.py: Print flasher file arguments in order of file offset
Previously, order was random
This commit is contained in:
parent
c921f14128
commit
a6282e3e5e
@ -338,7 +338,8 @@ def print_closing_message(args):
|
||||
cmd += flasher_path(flasher_args[key]["file"])
|
||||
else: # flashing the whole project
|
||||
cmd = " ".join(flasher_args["write_flash_args"]) + " "
|
||||
flash_items = sorted((o,f) for (o,f) in flasher_args["flash_files"].items() if len(o) > 0)
|
||||
flash_items = sorted(((o,f) for (o,f) in flasher_args["flash_files"].items() if len(o) > 0),
|
||||
key = lambda (o,_): int(o, 0))
|
||||
for o,f in flash_items:
|
||||
cmd += o + " " + flasher_path(f) + " "
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user