Skip to content
Snippets Groups Projects
Unverified Commit 45984e27 authored by Andrew Scheller's avatar Andrew Scheller Committed by GitHub
Browse files

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
parent b3bf690d
No related branches found
No related tags found
No related merge requests found
......@@ -219,4 +219,4 @@ with open(outfile, 'w', newline='') as csvfile:
writer.writeheader()
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']})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment