diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-27 09:51:45 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-27 09:51:45 +0000 |
commit | 25c944f87f69c46efe23e998152c9c48365e51b0 (patch) | |
tree | 5ca6c4694122ba4996c812394cf45809b097ac12 /demos/various/NIL-ARMCM4-GENERIC/ch.ld | |
parent | 6cc7199329fa18b0f2a2110c686b71c2d5ea556e (diff) | |
download | ChibiOS-25c944f87f69c46efe23e998152c9c48365e51b0.tar.gz ChibiOS-25c944f87f69c46efe23e998152c9c48365e51b0.tar.bz2 ChibiOS-25c944f87f69c46efe23e998152c9c48365e51b0.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7816 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/various/NIL-ARMCM4-GENERIC/ch.ld')
-rw-r--r-- | demos/various/NIL-ARMCM4-GENERIC/ch.ld | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/demos/various/NIL-ARMCM4-GENERIC/ch.ld b/demos/various/NIL-ARMCM4-GENERIC/ch.ld index cb367b8ae..d04a6c4ed 100644 --- a/demos/various/NIL-ARMCM4-GENERIC/ch.ld +++ b/demos/various/NIL-ARMCM4-GENERIC/ch.ld @@ -19,8 +19,29 @@ */
MEMORY
{
- flash : org = 0x08000000, len = 128k
- ram : org = 0x20000000, len = 32k
+ flash : org = 0x08000000, len = 64k
+ ram0 : org = 0x20000000, len = 8k
+ ram1 : org = 0x00000000, len = 0
+ ram2 : org = 0x00000000, len = 0
+ ram3 : org = 0x00000000, len = 0
+ ram4 : org = 0x00000000, len = 0
+ ram5 : org = 0x00000000, len = 0
+ ram6 : org = 0x00000000, len = 0
+ ram7 : org = 0x00000000, len = 0
}
+/* RAM region to be used for Main stack. This stack accommodates the processing
+ of all exceptions and interrupts*/
+REGION_ALIAS("MAIN_STACK_RAM", ram0);
+
+/* RAM region to be used for the process stack. This is the stack used by
+ the main() function.*/
+REGION_ALIAS("PROCESS_STACK_RAM", ram0);
+
+/* RAM region to be used for data segment.*/
+REGION_ALIAS("DATA_RAM", ram0);
+
+/* RAM region to be used for BSS segment.*/
+REGION_ALIAS("BSS_RAM", ram0);
+
INCLUDE rules.ld
|