mirror of
https://github.com/drasko/codezero.git
synced 2026-03-03 11:03:16 +01:00
Fixed a fault with posix tasks not getting their LMA correctly
This commit is contained in:
@@ -24,6 +24,7 @@ def generate_lma_lds(target, source, env):
|
||||
with open(source[0].path, 'r') as lds_in:
|
||||
with open(target[0].path, 'w+') as lds_out:
|
||||
linker_script = lds_in.read()
|
||||
assert container.pager_lma != 0
|
||||
lds_out.write(linker_script % conv_hex(container.pager_lma))
|
||||
|
||||
lma_lds = Command('include/linker.lds', 'include/linker.lds.in', generate_lma_lds)
|
||||
|
||||
Reference in New Issue
Block a user