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_ram.ld
diff --git
a/bertos/cpu/arm/scripts/at91sam7_256_ram.ld
b/bertos/cpu/arm/scripts/at91sam7_256_ram.ld
index 40c07c954121013ea6ad8e992cb03e2d609f5414..c570b9719c169c1bba43a20023a50e97cba6b4a9 100644
(file)
--- a/
bertos/cpu/arm/scripts/at91sam7_256_ram.ld
+++ b/
bertos/cpu/arm/scripts/at91sam7_256_ram.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 = .);