1 /* FreeEMS - the open source engine management system
3 Copyright 2008-2009 Fred Cooke
5 This file is part of the FreeEMS project.
7 FreeEMS software is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 FreeEMS software is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with any FreeEMS software. If not, see http://www.gnu.org/licenses/
20 We ask that if you make any changes to this file you email them upstream to
21 us at admin(at)diyefi(dot)org or, even better, fork the code on github.com!
23 Thank you for choosing FreeEMS to run your engine! */
28 * @brief Region mapping linker script
30 * Code section to memory region mapping definition file for inclusion
31 * into the linker script. This file provides rules which map pieces of
32 * code and data from named sections into specific named memory regions.
33 * See memory.x and hc9s12xdp512elfb.x for more information.
35 * A description of what some of this means can be found at the following URLs:
36 * - http://www.gnu.org/software/m68hc11/m68hc11_binutils.html
37 * - http://m68hc11.serveftp.org/wiki/index.php/FAQ:Link
46 /*&&&&&&&&&&&&&& RAM Regions &&&&&&&&&&&&&&*/
48 /* The main RAM region is called "data" and */
49 /* can be found in the main linker script */
51 /* The RAM page window through which all tunable config is reached. */
57 /* Comms transmission buffer */
63 /* Comms reception buffer */
70 /*&&&&&&&&&&&&&& Linear Flash Regions &&&&&&&&&&&&&&*/
72 /* Primary linear code and persistent data is called */
73 /* "text" and can be found in the main linker script */
75 /* Secondary linear code and persistent data */
81 /* This is the flash page window. */
82 /* We use this as paged blocks not directly so it's commented out. */
88 /* Non live tunable configuration items 1 */
94 /* Non live tunable configuration items 1 */
101 /*&&&&&&&&&&&&&& Paged Flash Regions &&&&&&&&&&&&&&*/
103 /* PPAGE FA is used for fuel tables and setup function */
114 /* PPAGE FB is used for smaller tunables and setup function */
120 /* Data split up into eight chunks to catch size mistakes better */
161 /* PPAGE FC is used for timing tables and setup function */
172 /* The rest from this 128k flash module for general code */
194 /* The following two blocks are included just for clarity */
195 /* and are the same as text1 and text when paged. */
196 /* .ppageFD : (text1 / 0x4000 - 0x7FFF)
201 .ppageFF : (text / 0xC000 - 0xFFFF)