2 ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
\r
4 This file is part of ChibiOS.
\r
6 ChibiOS is free software; you can redistribute it and/or modify
\r
7 it under the terms of the GNU General Public License as published by
\r
8 the Free Software Foundation; either version 3 of the License, or
\r
9 (at your option) any later version.
\r
11 ChibiOS is distributed in the hope that it will be useful,
\r
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
14 GNU General Public License for more details.
\r
16 You should have received a copy of the GNU General Public License
\r
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
\r
21 * ST32F103xB memory setup.
\r
25 flash : org = 0x08002000, len = 64k - 0x2000
\r
26 ram0 : org = 0x20000C00, len = 20k - 0xC00
\r
27 ram1 : org = 0x00000000, len = 0
\r
28 ram2 : org = 0x00000000, len = 0
\r
29 ram3 : org = 0x00000000, len = 0
\r
30 ram4 : org = 0x00000000, len = 0
\r
31 ram5 : org = 0x00000000, len = 0
\r
32 ram6 : org = 0x00000000, len = 0
\r
33 ram7 : org = 0x00000000, len = 0
\r
36 /* RAM region to be used for Main stack. This stack accommodates the processing
\r
37 of all exceptions and interrupts*/
\r
38 REGION_ALIAS("MAIN_STACK_RAM", ram0);
\r
40 /* RAM region to be used for the process stack. This is the stack used by
\r
41 the main() function.*/
\r
42 REGION_ALIAS("PROCESS_STACK_RAM", ram0);
\r
44 /* RAM region to be used for data segment.*/
\r
45 REGION_ALIAS("DATA_RAM", ram0);
\r
47 /* RAM region to be used for BSS segment.*/
\r
48 REGION_ALIAS("BSS_RAM", ram0);
\r
50 /* RAM region to be used for the default heap.*/
\r
51 REGION_ALIAS("HEAP_RAM", ram0);
\r