Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 28th, 2013  |  syntax: None  |  size: 1.13 KB  |  views: 55  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /*
  2.  * This file is part of the libopencm3 project.
  3.  *
  4.  * Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
  5.  * Copyright (C) 2011 Stephen Caudle <scaudle@doceme.com>
  6.  *
  7.  * This library is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU Lesser General Public License as published by
  9.  * the Free Software Foundation, either version 3 of the License, or
  10.  * (at your option) any later version.
  11.  *
  12.  * This library is distributed in the hope that it will be useful,
  13.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.  * GNU Lesser General Public License for more details.
  16.  *
  17.  * You should have received a copy of the GNU Lesser General Public License
  18.  * along with this library.  If not, see <http://www.gnu.org/licenses/>.
  19.  */
  20.  
  21. /* Linker script for ST STM32F4DISCOVERY (STM32F407VG, 1024K flash, 128K RAM). */
  22.  
  23. /* Define memory regions. */
  24. MEMORY
  25. {
  26.   rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K
  27.   ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
  28. }
  29.  
  30. /* Include the common ld script. */
  31. INCLUDE libopencm3_stm32f4.ld