X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fscripts%2Flm3s1968_rom.ld;h=e0294b465f6c24de439abb8eb4597296cc6a7a4f;hb=ab03b5b37726fb8b39a6f6c915f8668bddd779ee;hp=b93a49f104ea25d38cdbc33935e83a0fc0acb9f2;hpb=1d995105c10d2e603bc5cdc88ae41e1a928c356d;p=bertos.git diff --git a/bertos/cpu/cortex-m3/scripts/lm3s1968_rom.ld b/bertos/cpu/cortex-m3/scripts/lm3s1968_rom.ld index b93a49f1..e0294b46 100644 --- a/bertos/cpu/cortex-m3/scripts/lm3s1968_rom.ld +++ b/bertos/cpu/cortex-m3/scripts/lm3s1968_rom.ld @@ -52,7 +52,7 @@ MEMORY /* * Define stack size here */ -MAIN_STACK_SIZE = 0x0400; +STACK_SIZE = 0x1000; /* * Allocate section memory @@ -103,11 +103,16 @@ SECTIONS * Allocated stack at the end of bss section. * Data heap is allocate at end of stack. */ - PROVIDE (__stack_start = .); - . = ALIGN(4); - . += MAIN_STACK_SIZE; - PROVIDE (__stack_end = .); + PROVIDE (__msp_start = .); + . = ALIGN(8); + . += STACK_SIZE; + PROVIDE (__msp_end = .); + + PROVIDE (__psp_start = .); + . = ALIGN(8); + . += STACK_SIZE; + PROVIDE (__psp_end = .); PROVIDE (__heap_start = .); - . = ALIGN(4); + . = ALIGN(8); }