simplifies linker scripts of riscv-vp

This commit is contained in:
2025-11-29 06:38:45 +01:00
parent d8728e319c
commit 5f220ff09b
2 changed files with 183 additions and 0 deletions

12
env/riscv_vp/ram.lds vendored Normal file
View File

@@ -0,0 +1,12 @@
OUTPUT_ARCH( "riscv" )
ENTRY( _start )
INCLUDE memory_map.ld
REGION_ALIAS("REGION_TEXT", ram);
REGION_ALIAS("REGION_RODATA", ram);
REGION_ALIAS("REGION_DATA", ram);
REGION_ALIAS("REGION_BSS", ram);
INCLUDE sections.ld