soc/integration/export: fix incorrect element in get_linker_regions

This commit is contained in:
Richard Tucker 2024-02-16 15:16:32 +11:00
parent cfbe3b028a
commit d4c1c97cf9
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ def get_linker_output_format(cpu):
def get_linker_regions(regions): def get_linker_regions(regions):
r = "MEMORY {\n" r = "MEMORY {\n"
for name, region in regions.items(): for name, region in regions.items():
r += f"\t{name} : ORIGIN = 0x{region.origin:08x}, LENGTH = 0x{region.length:08x}\n" r += f"\t{name} : ORIGIN = 0x{region.origin:08x}, LENGTH = 0x{region.size:08x}\n"
r += "}\n" r += "}\n"
return r return r