tools: set baudrate and port with otatool.

Bugfix: Allow setting options port -p and baudrate -b, with idf.py otatool commands.

Closes https://github.com/espressif/esp-idf/issues/8317
This commit is contained in:
Marek Fiala
2022-03-07 14:46:13 +01:00
parent 0997c6df99
commit 330db29120
2 changed files with 27 additions and 15 deletions

View File

@@ -380,16 +380,6 @@ def action_extensions(base_actions, project_path):
'order_dependencies': ['reconfigure'],
'options': global_options,
},
'erase_otadata': {
'callback': build_target,
'help': 'Erase otadata partition.',
'options': global_options,
},
'read_otadata': {
'callback': build_target,
'help': 'Read otadata partition.',
'options': global_options,
},
'build-system-targets': {
'callback': list_build_system_targets,
'help': 'Print list of build system targets.',