tools: replace _ with - in idf.py

Closes https://github.com/espressif/esp-idf/issues/5126
This commit is contained in:
Marek Fiala
2021-08-11 15:24:17 +02:00
committed by bot
parent 95d824fbb0
commit ff18a96f7d
35 changed files with 202 additions and 102 deletions

View File

@@ -399,40 +399,80 @@ def action_extensions(base_actions, project_path):
'order_dependencies': ['clean', 'fullclean', 'reconfigure'],
'options': global_options,
},
'efuse-common-table': {
'callback': build_target,
'help': 'Generate C-source for IDF\'s eFuse fields. Deprecated alias: "efuse_common_table".',
'order_dependencies': ['reconfigure'],
'options': global_options,
},
'efuse_common_table': {
'callback': build_target,
'hidden': True,
'help': "Generate C-source for IDF's eFuse fields.",
'order_dependencies': ['reconfigure'],
'options': global_options,
},
'efuse-custom-table': {
'callback': build_target,
'help': 'Generate C-source for user\'s eFuse fields. Deprecated alias: "efuse_custom_table".',
'order_dependencies': ['reconfigure'],
'options': global_options,
},
'efuse_custom_table': {
'callback': build_target,
'help': "Generate C-source for user's eFuse fields.",
'hidden': True,
'help': 'Generate C-source for user\'s eFuse fields.',
'order_dependencies': ['reconfigure'],
'options': global_options,
},
'show-efuse-table': {
'callback': build_target,
'help': 'Print eFuse table. Deprecated alias: "show_efuse_table".',
'order_dependencies': ['reconfigure'],
'options': global_options,
},
'show_efuse_table': {
'callback': build_target,
'hidden': True,
'help': 'Print eFuse table.',
'order_dependencies': ['reconfigure'],
'options': global_options,
},
'partition-table': {
'callback': build_target,
'help': 'Build only partition table. Deprecated alias: "parititon_table".',
'order_dependencies': ['reconfigure'],
'options': global_options,
},
'partition_table': {
'callback': build_target,
'hidden': True,
'help': 'Build only partition table.',
'order_dependencies': ['reconfigure'],
'options': global_options,
},
'erase_otadata': {
'callback': build_target,
'hidden': True,
'help': 'Erase otadata partition.',
'options': global_options,
},
'erase-otadata': {
'callback': build_target,
'help': 'Erase otadata partition. Deprecated alias: "erase_otadata".',
'options': global_options,
},
'read_otadata': {
'callback': build_target,
'hidden': True,
'help': 'Read otadata partition.',
'options': global_options,
},
'read-otadata': {
'callback': build_target,
'help': 'Read otadata partition. Deprecated alias: "read_otadata".',
'options': global_options,
},
'build-system-targets': {
'callback': list_build_system_targets,
'help': 'Print list of build system targets.',