]> git.gir.st - tmk_keyboard.git/blob - keyboard/teensy_lc_onekey/ld/MKL26Z64.ld
Merge commit '28203e909e83b1ac6becb45a3eadae23b190df32' into master-core-pull
[tmk_keyboard.git] / keyboard / teensy_lc_onekey / ld / MKL26Z64.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 * KL26Z64 memory setup.
22 */
23 MEMORY
24 {
25 flash0 : org = 0x00000000, len = 0xc0
26 flashcfg : org = 0x00000400, len = 0x10
27 flash : org = 0x00000410, len = 62k - 0x410
28 eeprom_emu : org = 0x0000F800, len = 2k
29 ram0 : org = 0x1FFFF800, len = 8k
30 ram1 : org = 0x00000000, len = 0
31 ram2 : org = 0x00000000, len = 0
32 ram3 : org = 0x00000000, len = 0
33 ram4 : org = 0x00000000, len = 0
34 ram5 : org = 0x00000000, len = 0
35 ram6 : org = 0x00000000, len = 0
36 ram7 : org = 0x00000000, len = 0
37 }
38
39 __eeprom_workarea_start__ = ORIGIN(eeprom_emu);
40 __eeprom_workarea_size__ = LENGTH(eeprom_emu);
41 __eeprom_workarea_end__ = __eeprom_workarea_start__ + __eeprom_workarea_size__;
42
43 /* RAM region to be used for Main stack. This stack accommodates the processing
44 of all exceptions and interrupts*/
45 REGION_ALIAS("MAIN_STACK_RAM", ram0);
46
47 /* RAM region to be used for the process stack. This is the stack used by
48 the main() function.*/
49 REGION_ALIAS("PROCESS_STACK_RAM", ram0);
50
51 /* RAM region to be used for data segment.*/
52 REGION_ALIAS("DATA_RAM", ram0);
53
54 /* RAM region to be used for BSS segment.*/
55 REGION_ALIAS("BSS_RAM", ram0);
56
57 /* RAM region to be used for the default heap.*/
58 REGION_ALIAS("HEAP_RAM", ram0);
59
60 INCLUDE ld/rules_kinetis.ld
Imprint / Impressum