mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-02-05 18:40:21 +00:00
Small tweak to extract_configs.py (#1776)
Always write the path as "abosolute" (relative to the root of pico-sdk) as that makes searching for it (when building the RP2040 datasheet) much faster. This matches the behaviour of extract_build_defines.py and extract_cmake_configs.py
This commit is contained in:
parent
b3bf690d0a
commit
45984e276f
@ -219,4 +219,4 @@ with open(outfile, 'w', newline='') as csvfile:
|
|||||||
|
|
||||||
writer.writeheader()
|
writer.writeheader()
|
||||||
for config_name, config_obj in sorted(all_configs.items()):
|
for config_name, config_obj in sorted(all_configs.items()):
|
||||||
writer.writerow({'name': config_name, 'location': '{}:{}'.format(config_obj['filename'], config_obj['line_number']), 'description': config_obj['description'], **config_obj['attrs']})
|
writer.writerow({'name': config_name, 'location': '/{}:{}'.format(config_obj['filename'], config_obj['line_number']), 'description': config_obj['description'], **config_obj['attrs']})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user