[smart] replace varea pgmgr and fixup of dfs mmap (#8184)

Signed-off-by: shell <smokewood@qq.com>
Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
Shell
2023-10-25 14:59:48 +08:00
committed by GitHub
parent adbb5fd94a
commit fb78a71020
30 changed files with 1468 additions and 321 deletions
+2 -1
View File
@@ -13,9 +13,10 @@ bsp_path = Dir('#').abspath
if not os.path.exists(bsp_path + "/link.lds"):
Env['LINKFLAGS'] = Env['LINKFLAGS'].replace('link.lds', cwd + "/link.lds")
# fix the linker with crtx.o
Env['LINKFLAGS'] += ' -nostartfiles'
Preprocessing("link.lds.S", ".lds", CPPPATH=[bsp_path])
Env['LINKFLAGS'] += ' -nostartfiles'
# add common code files
group = group + SConscript(os.path.join('common', 'SConscript'))