mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
fix(tools/coredump): ignore missing project description
This commit is contained in:
parent
d5a32fa5e8
commit
34a6d8ebe7
@ -99,6 +99,7 @@
|
||||
- "**/build*/bootloader/*.bin"
|
||||
- "**/build*/bootloader/*.elf"
|
||||
- "**/build*/partition_table/*.bin"
|
||||
- "**/build*/project_description.json"
|
||||
- list_job_*.json
|
||||
- size_info.txt
|
||||
when: always
|
||||
|
@ -71,8 +71,9 @@ def main(): # type: () -> None
|
||||
kwargs = {k: v for k, v in vars(args).items() if v is not None}
|
||||
project_desc = get_project_desc(kwargs['prog'])
|
||||
# pass the extra_gdbinit_file if the build is reproducible
|
||||
kwargs['extra_gdbinit_file'] = project_desc.get('debug_prefix_map_gdbinit')
|
||||
kwargs['parttable_off'] = get_sdkconfig_value(project_desc['config_file'], 'CONFIG_PARTITION_TABLE_OFFSET')
|
||||
if project_desc:
|
||||
kwargs['extra_gdbinit_file'] = project_desc.get('debug_prefix_map_gdbinit')
|
||||
kwargs['parttable_off'] = get_sdkconfig_value(project_desc['config_file'], 'CONFIG_PARTITION_TABLE_OFFSET')
|
||||
|
||||
del kwargs['debug']
|
||||
del kwargs['operation']
|
||||
|
Loading…
x
Reference in New Issue
Block a user