Skip to content

Commit e986102

Browse files
shenkimithro
authored andcommitted
lm32: include generated memory regions linker script
We were hardcoding the memory regions in the micropython linker script (lm32.ld). This way we pull in the correct definitions whenever we update the generated files. Signed-off-by: Joel Stanley <[email protected]>
1 parent 89863dc commit e986102

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lm32/lm32.ld

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@ ENTRY(_start)
22

33
__DYNAMIC = 0;
44

5-
MEMORY {
6-
rom : ORIGIN = 0x00000000, LENGTH = 0x00080000
7-
sram : ORIGIN = 0x10000000, LENGTH = 0x00008000
8-
spiflash : ORIGIN = 0x20000000, LENGTH = 0x00180000
9-
main_ram : ORIGIN = 0x40000000, LENGTH = 0x02000000
10-
}
5+
INCLUDE generated/regions.ld
116

127
SECTIONS
138
{

0 commit comments

Comments
 (0)