improve display of address and add link to function (#508)

* improve display of doxygen symbols file
This commit is contained in:
coco875 2023-12-25 00:08:26 +01:00 committed by GitHub
parent 670a930f31
commit f9bd2e8ae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21281 additions and 21293 deletions

View File

@ -20,11 +20,11 @@ def process_map_file(map_file_path):
# Ensure there are enough tokens to extract address and function name
if len(tokens) >= 2:
address = f"0x{tokens[0][2:].upper()}"
address = f"0x{int(tokens[0][2:].upper(), base=16):08X}"
function_name = tokens[-1]
# Format the information into the Doxygen style
result += f"{function_name} | {address}\n"
result += f"[{function_name}](@ref {function_name}) | {address}\n"
result += (
"\n"

File diff suppressed because it is too large Load Diff