aboutsummaryrefslogtreecommitdiffstats
path: root/demos/various/RT-ARMCM0-GENERIC/ch.ld
diff options
context:
space:
mode:
Diffstat (limited to 'demos/various/RT-ARMCM0-GENERIC/ch.ld')
-rw-r--r--demos/various/RT-ARMCM0-GENERIC/ch.ld26
1 files changed, 26 insertions, 0 deletions
diff --git a/demos/various/RT-ARMCM0-GENERIC/ch.ld b/demos/various/RT-ARMCM0-GENERIC/ch.ld
new file mode 100644
index 000000000..2acdc3297
--- /dev/null
+++ b/demos/various/RT-ARMCM0-GENERIC/ch.ld
@@ -0,0 +1,26 @@
+/*
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/*
+ * Generic device memory setup, customize it for your device.
+ */
+MEMORY
+{
+ flash : org = 0x08000000, len = 64k
+ ram : org = 0x20000000, len = 8k
+}
+
+INCLUDE rules.ld