From 3c8ded4743c09a7b0c7737392d4e4c15e6959852 Mon Sep 17 00:00:00 2001 From: Gregwar Date: Wed, 23 Apr 2014 16:45:23 +0200 Subject: Adding BOOTLOADER option to support Robotis bootloader different ROM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Grégoire Passault --- support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-flash.inc | 5 +++++ support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-jtag.inc | 5 +++++ support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-ram.inc | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-flash.inc create mode 100644 support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-jtag.inc create mode 100644 support/ld/stm32/mem/sram_20k_flash_128k_robotis/mem-ram.inc (limited to 'support/ld') 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 +} -- cgit v1.2.3