add apoge linker script

This commit is contained in:
Gautier Hattenberger
2013-03-14 15:01:15 +01:00
parent 90a034841f
commit 10c500c32d
+34
View File
@@ -0,0 +1,34 @@
/*
* Copyright (C) 2013 Gautier Hattenberger
*
* This file is part of Paparazzi.
*
* Paparazzi is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* Paparazzi is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Paparazzi; see the file COPYING. If not, write to
* the Free Software Foundation, 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
/* Linker script for Apogee */
/* Define memory regions. */
MEMORY
{
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
/* Leaving 2k of space at the end of rom for stored settings */
rom (rx) : ORIGIN = 0x08000000, LENGTH = 1022K
}
/* Include the common ld script. */
INCLUDE libopencm3_stm32f4.ld