]> git.gir.st - tmk_keyboard.git/blob - keyboard/stm32_f103_onekey/ld/STM32F103x8.ld
5410537567bec3a8b6953eba1aaf0ff7eda5f2df
[tmk_keyboard.git] / keyboard / stm32_f103_onekey / ld / STM32F103x8.ld
1 /*
2 ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
3
4 This file is part of ChibiOS.
5
6 ChibiOS is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
10
11 ChibiOS is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 /*
21 * ST32F103xB memory setup.
22 */
23 MEMORY
24 {
25 flash : org = 0x08000000, len = 64k
26 ram0 : org = 0x20000000, len = 20k
27 ram1 : org = 0x00000000, len = 0
28 ram2 : org = 0x00000000, len = 0
29 ram3 : org = 0x00000000, len = 0
30 ram4 : org = 0x00000000, len = 0
31 ram5 : org = 0x00000000, len = 0
32 ram6 : org = 0x00000000, len = 0
33 ram7 : org = 0x00000000, len = 0
34 }
35
36 /* RAM region to be used for Main stack. This stack accommodates the processing
37 of all exceptions and interrupts*/
38 REGION_ALIAS("MAIN_STACK_RAM", ram0);
39
40 /* RAM region to be used for the process stack. This is the stack used by
41 the main() function.*/
42 REGION_ALIAS("PROCESS_STACK_RAM", ram0);
43
44 /* RAM region to be used for data segment.*/
45 REGION_ALIAS("DATA_RAM", ram0);
46
47 /* RAM region to be used for BSS segment.*/
48 REGION_ALIAS("BSS_RAM", ram0);
49
50 /* RAM region to be used for the default heap.*/
51 REGION_ALIAS("HEAP_RAM", ram0);
52
53 INCLUDE rules.ld
Imprint / Impressum