Linker scripts provide stack pointer at the top of RAM.

Thanks to Tomaz Solc.
This commit is contained in:
Gareth McMullin 2012-01-07 17:03:02 +13:00 committed by Piotr Esden-Tempski
parent e11185d47d
commit 03e44e91e3
5 changed files with 5 additions and 5 deletions

View File

@ -65,5 +65,5 @@ SECTIONS
end = .;
}
PROVIDE(_stack = 0x20000800);
PROVIDE(_stack = ORIGIN(ram) + LENGTH(ram));

View File

@ -65,5 +65,5 @@ SECTIONS
end = .;
}
PROVIDE(_stack = 0x10000800);
PROVIDE(_stack = ORIGIN(ram) + LENGTH(ram));

View File

@ -73,5 +73,5 @@ SECTIONS
end = .;
}
PROVIDE(_stack = 0x20000800);
PROVIDE(_stack = ORIGIN(ram) + LENGTH(ram));

View File

@ -73,5 +73,5 @@ SECTIONS
end = .;
}
PROVIDE(_stack = 0x20000800);
PROVIDE(_stack = ORIGIN(ram) + LENGTH(ram));

View File

@ -73,5 +73,5 @@ SECTIONS
end = .;
}
PROVIDE(_stack = 0x20000800);
PROVIDE(_stack = ORIGIN(ram) + LENGTH(ram));