X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fscripts%2Fat91sam7_512_ram.ld;h=4c6d2cfd85f2b319490e32e7632473c29375fc6f;hb=ef59482dd1c7167b3cb5718572c42019cf16594b;hp=66c4f1679e398617974613b3e1651b2aeeb2ceff;hpb=32eebaf8bf80d1ffd417bfe6d2c34e6cd3684f87;p=bertos.git diff --git a/bertos/cpu/arm/scripts/at91sam7_512_ram.ld b/bertos/cpu/arm/scripts/at91sam7_512_ram.ld index 66c4f167..4c6d2cfd 100644 --- a/bertos/cpu/arm/scripts/at91sam7_512_ram.ld +++ b/bertos/cpu/arm/scripts/at91sam7_512_ram.ld @@ -58,10 +58,10 @@ MEMORY * Define stack size here */ FIQ_STACK_SIZE = 0x0100; -IRQ_STACK_SIZE = 0x0100; +IRQ_STACK_SIZE = 0x0400; ABT_STACK_SIZE = 0x0100; UND_STACK_SIZE = 0x0100; -SVC_STACK_SIZE = 0x0400; +SVC_STACK_SIZE = 0x1000; /* * Allocate section memory @@ -114,27 +114,27 @@ 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 = .); . += SVC_STACK_SIZE; - . = ALIGN(4); + . = ALIGN(8); PROVIDE (__stack_svc_end = .); PROVIDE (__stack_end = .);