aboutsummaryrefslogtreecommitdiffstats
path: root/support/ld
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2014-04-29 19:56:39 -0700
committerMarti Bolivar <mbolivar@leaflabs.com>2014-04-29 19:56:39 -0700
commit746d6fecf86572c9fe95dbbffdf541a8d3875dd0 (patch)
tree8dc7170e295756116dcdc9e973dee028b9cb2454 /support/ld
parent139e4b1a1ae547540d32aa66d47c4e69b1b57bbf (diff)
parent731e2ab24755b3706daf7d64eaa53f2ec0512277 (diff)
downloadlibrambutan-746d6fecf86572c9fe95dbbffdf541a8d3875dd0.tar.gz
librambutan-746d6fecf86572c9fe95dbbffdf541a8d3875dd0.zip
Merge pull request #89 from Gregwar/bootloader-option
Adding BOOTLOADER option to support Robotis bootloader different ROM
Diffstat (limited to 'support/ld')
-rw-r--r--support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-flash.inc5
-rw-r--r--support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-jtag.inc5
-rw-r--r--support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-ram.inc5
3 files changed, 15 insertions, 0 deletions
diff --git a/support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-flash.inc b/support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-flash.inc
new file mode 100644
index 0000000..2c03ea9
--- /dev/null
+++ b/support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-flash.inc
@@ -0,0 +1,5 @@
+MEMORY
+{
+ ram (rwx) : ORIGIN = 0x20000C00, LENGTH = 17K
+ rom (rx) : ORIGIN = 0x08003000, LENGTH = 108K
+}
diff --git a/support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-jtag.inc b/support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-jtag.inc
new file mode 100644
index 0000000..20fbec0
--- /dev/null
+++ b/support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-jtag.inc
@@ -0,0 +1,5 @@
+MEMORY
+{
+ ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
+ rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K
+}
diff --git a/support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-ram.inc b/support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-ram.inc
new file mode 100644
index 0000000..f02453b
--- /dev/null
+++ b/support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-ram.inc
@@ -0,0 +1,5 @@
+MEMORY
+{
+ ram (rwx) : ORIGIN = 0x20000C00, LENGTH = 17K
+ rom (rx) : ORIGIN = 0x08005000, LENGTH = 0K
+}