diff options
author | root <root@lamia.panaceas.james.local> | 2015-07-16 08:35:16 +0100 |
---|---|---|
committer | root <root@lamia.panaceas.james.local> | 2015-07-16 08:35:16 +0100 |
commit | b3df20a08974584076e802d5f7061a8a8cb96930 (patch) | |
tree | b380025284e65f42b57134abe988a0a04db93ec8 /app/app.ld | |
download | stm32_ade-b3df20a08974584076e802d5f7061a8a8cb96930.tar.gz stm32_ade-b3df20a08974584076e802d5f7061a8a8cb96930.tar.bz2 stm32_ade-b3df20a08974584076e802d5f7061a8a8cb96930.zip |
initial commit
Diffstat (limited to 'app/app.ld')
-rw-r--r-- | app/app.ld | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app/app.ld b/app/app.ld new file mode 100644 index 0000000..0fb2378 --- /dev/null +++ b/app/app.ld @@ -0,0 +1,38 @@ +/* + * This file is part of the libopencm3 project. + * + * Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de> + * + * This library is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this library. If not, see <http://www.gnu.org/licenses/>. + */ + +/* Linker script for Olimex STM32-H103 (STM32F103RBT6, 128K flash, 20K RAM). */ + +/* Define memory regions. */ +MEMORY +{ + rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K + ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K +} + +/* Include the common ld script. */ +INCLUDE libopencm3_stm32f1.ld + + + + +/* PROVIDE(_stack = dfu_shared_location ); */ + + + |