Stack size problem solved for cortex-m3 CPU family. (STACK_SIZE variable in cortex...
[bertos.git] / bertos / cpu / cortex-m3 / scripts / cortex-m3_ram.ld
index df75798849a5d267b55a3305e57533b5cb837cec..f045c1ef6227323786d78856a970c90d27035415 100644 (file)
 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);