X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fscripts%2Fat91sam7_128_rom.ld;h=65ee524a6e08df637cd47223d121e3fb96bdcdb7;hb=2d0d0a3260be3a5dda727a7b52d38d8bb8637ced;hp=3ea847e58c42846116957ae9279b0c4b1e53cd56;hpb=3ba54264477b4e77fb99ca765adc95b0d64b799c;p=bertos.git diff --git a/bertos/cpu/arm/scripts/at91sam7_128_rom.ld b/bertos/cpu/arm/scripts/at91sam7_128_rom.ld index 3ea847e5..65ee524a 100644 --- a/bertos/cpu/arm/scripts/at91sam7_128_rom.ld +++ b/bertos/cpu/arm/scripts/at91sam7_128_rom.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 @@ -87,7 +87,7 @@ SECTIONS _etext = .; PROVIDE (__etext = .); - .data : AT (__etext) + .data : AT (_etext) { PROVIDE (__data_start = .); *(.data .data.*) @@ -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 = .);