projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change change macro to reduce stack space needed for each process.
[bertos.git]
/
bertos
/
cpu
/
arm
/
scripts
/
at91sam7_256_rom.ld
diff --git
a/bertos/cpu/arm/scripts/at91sam7_256_rom.ld
b/bertos/cpu/arm/scripts/at91sam7_256_rom.ld
index 815aa42307b05e0cc651bd4668150ae62765c7df..14a45435177ab6a8e28317ec7ef480a25dc3bb5c 100644
(file)
--- a/
bertos/cpu/arm/scripts/at91sam7_256_rom.ld
+++ b/
bertos/cpu/arm/scripts/at91sam7_256_rom.ld
@@
-58,10
+58,10
@@
MEMORY
* Define stack size here
*/
FIQ_STACK_SIZE = 0x0100;
* Define stack size here
*/
FIQ_STACK_SIZE = 0x0100;
-IRQ_STACK_SIZE = 0x0
1
00;
+IRQ_STACK_SIZE = 0x0
4
00;
ABT_STACK_SIZE = 0x0100;
UND_STACK_SIZE = 0x0100;
ABT_STACK_SIZE = 0x0100;
UND_STACK_SIZE = 0x0100;
-SVC_STACK_SIZE = 0x
04
00;
+SVC_STACK_SIZE = 0x
10
00;
/*
* Allocate section memory
/*
* Allocate section memory
@@
-87,7
+87,7
@@
SECTIONS
_etext = .;
PROVIDE (__etext = .);
_etext = .;
PROVIDE (__etext = .);
- .data : AT (_
_
etext)
+ .data : AT (_etext)
{
PROVIDE (__data_start = .);
*(.data .data.*)
{
PROVIDE (__data_start = .);
*(.data .data.*)
@@
-114,27
+114,27
@@
SECTIONS
PROVIDE (__stack_fiq_start = .);
. += FIQ_STACK_SIZE;
PROVIDE (__stack_fiq_start = .);
. += FIQ_STACK_SIZE;
- . = ALIGN(
4
);
+ . = ALIGN(
8
);
PROVIDE (__stack_fiq_end = .);
PROVIDE (__stack_irq_start = .);
. += IRQ_STACK_SIZE;
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;
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;
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;
PROVIDE (__stack_und_end = .);
PROVIDE (__stack_svc_start = .);
. += SVC_STACK_SIZE;
- . = ALIGN(
4
);
+ . = ALIGN(
8
);
PROVIDE (__stack_svc_end = .);
PROVIDE (__stack_end = .);
PROVIDE (__stack_svc_end = .);
PROVIDE (__stack_end = .);