File: mem.ld

package info (click to toggle)
gcc-arm-none-eabi 11-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,324 kB
  • ctags: 135
  • sloc: asm: 446; ansic: 354; sh: 263; makefile: 197; cpp: 17
file content (12 lines) | stat: -rw-r--r-- 386 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
/* Linker script to configure memory regions. 
 * Need modifying for a specific board. 
 *   FLASH.ORIGIN: starting address of flash
 *   FLASH.LENGTH: length of flash
 *   RAM.ORIGIN: starting address of RAM bank 0
 *   RAM.LENGTH: length of RAM bank 0
 */
MEMORY
{
  FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x20000 /* 128K */
  RAM (rwx) : ORIGIN = 0x10000000, LENGTH = 0x2000 /* 8K */
}