Increase main and irq stack size.
[bertos.git] / bertos / cpu / arm / scripts / at91sam7_64_rom.ld
index 93469d4e0a4c8163ae79390aa22ddd18e515d237..f618d1bd5bbc639c7c2e44821dbde9d13f1dcc21 100644 (file)
@@ -57,11 +57,11 @@ MEMORY
 /*
  * Define stack size here
  */
-FIQ_STACK_SIZE = 0x0100;
-IRQ_STACK_SIZE = 0x0100;
-ABT_STACK_SIZE = 0x0100;
-UND_STACK_SIZE = 0x0100;
-SVC_STACK_SIZE = 0x0400;
+FIQ_STACK_SIZE = 0x0400;
+IRQ_STACK_SIZE = 0x0400;
+ABT_STACK_SIZE = 0x0400;
+UND_STACK_SIZE = 0x0400;
+SVC_STACK_SIZE = 0x1000;
 
 /*
  * Allocate section memory
@@ -114,22 +114,22 @@ SECTIONS
 
        PROVIDE (__stack_fiq_start = .);
        . += FIQ_STACK_SIZE;
-       . = ALIGN(4);
+       . = ALIGN(8);
        PROVIDE (__stack_fiq_end = .);
 
        PROVIDE (__stack_irq_start = .);
        . += IRQ_STACK_SIZE;
-       . = ALIGN(4);
+       . = ALIGN(8);
        PROVIDE (__stack_irq_end = .);
 
        PROVIDE (__stack_abt_start = .);
        . += ABT_STACK_SIZE;
-       . = ALIGN(4);
+       . = ALIGN(8);
        PROVIDE (__stack_abt_end = .);
 
        PROVIDE (__stack_und_start = .);
        . += UND_STACK_SIZE;
-       . = ALIGN(4);
+       . = ALIGN(8);
        PROVIDE (__stack_und_end = .);
 
        PROVIDE (__stack_svc_start = .);