aboutsummaryrefslogtreecommitdiffstats
path: root/stm32conf/lanchon-stm32-user.ld
blob: 32866a21ab0c93a2c33749b2c24e7fcb40a46694 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Linker script for STM32 (by Lanchon),
 * ROM and RAM relocated to their positions 
 * as placed by Maple bootloader
 *
 * Configure target memory and included script
 * according to your application requirements. */

/* Define memory spaces. */
MEMORY
{
  ram (rwx) : ORIGIN = 0x20000C00, LENGTH = 17K
  rom (rx) : ORIGIN = 0x08005000, LENGTH = 108K
}

/* Include the appropriate script.
 * Options:
 *   lanchon-stm32-rom.ld
 *   lanchon-stm32-rom-hosted.ld
 *   lanchon-stm32-ram.ld
 *   lanchon-stm32-ram-hosted.ld
 */
INCLUDE "lanchon-stm32-ram.ld"