X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fscripts%2Fcortex-m3_ram.ld;fp=bertos%2Fcpu%2Fcortex-m3%2Fscripts%2Fcortex-m3_ram.ld;h=f045c1ef6227323786d78856a970c90d27035415;hb=17f239924a2d52d099e60ba3a65662f4d2b1fb16;hp=df75798849a5d267b55a3305e57533b5cb837cec;hpb=5ce253a022f17c1088c52e15e6c050bb58ae3952;p=bertos.git diff --git a/bertos/cpu/cortex-m3/scripts/cortex-m3_ram.ld b/bertos/cpu/cortex-m3/scripts/cortex-m3_ram.ld index df757988..f045c1ef 100644 --- a/bertos/cpu/cortex-m3/scripts/cortex-m3_ram.ld +++ b/bertos/cpu/cortex-m3/scripts/cortex-m3_ram.ld @@ -39,10 +39,6 @@ OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm") OUTPUT_ARCH(arm) -/* - * Define stack size here - */ -STACK_SIZE = 0x1000; /* * Allocate section memory @@ -92,6 +88,7 @@ SECTIONS /* * Allocated stack at the end of bss section. * Data heap is allocate at end of stack. + * STACK_SIZE variable is defined in the CPU specific linker script file. */ PROVIDE (__msp_start = .); . = ALIGN(8);