3 Copyright 2008 Fred Cooke
5 Code section to memory region mapping definition file for inclusion
6 into the linker script. This file provides rules which map pieces of
7 code and data from named sections into specific named memory regions.
8 See memory.x and hc9s12xdp512elfb.x for more information.
10 This file is part of the FreeEMS project.
12 FreeEMS software is free software: you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation, either version 3 of the License, or
15 (at your option) any later version.
17 FreeEMS software is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with any FreeEMS software. If not, see http://www.gnu.org/licenses/
25 We ask that if you make any changes to this file you send them upstream to us at admin@diyefi.org
27 Thank you for choosing FreeEMS to run your engine!
29 @cond regionsscript */
32 /* A description of what some of this means can be found at the following URL */
33 /* http://www.gnu.org/software/m68hc11/m68hc11_binutils.html */
34 /* http://m68hc11.serveftp.org/wiki/index.php/FAQ:Link */
40 /*&&&&&&&&&&&&&& RAM Regions &&&&&&&&&&&&&&*/
42 /* The main RAM region is called "data" and */
43 /* can be found in the main linker script */
45 /* The RAM page window through which all tunable config is reached. */
51 /* Comms transmission buffer */
57 /* Comms reception buffer */
64 /*&&&&&&&&&&&&&& Linear Flash Regions &&&&&&&&&&&&&&*/
66 /* Primary linear code and persistent data is called */
67 /* "text" and can be found in the main linker script */
69 /* Secondary linear code and persistent data */
75 /* This is the flash page window. */
76 /* We use this as paged blocks not directly so it's commented out. */
82 /* Non live tunable configuration items 1 */
88 /* Non live tunable configuration items 1 */
95 /*&&&&&&&&&&&&&& Paged Flash Regions &&&&&&&&&&&&&&*/
97 /* PPAGE FA is used for fuel tables and setup function */
108 /* PPAGE FB is used for smaller tunables and setup function */
114 /* Data split up into eight chunks to catch size mistakes better */
155 /* PPAGE FC is used for timing tables and setup function */
166 /* The rest from this 128k flash module for general code */
188 /* The following two blocks are included just for clarity */
189 /* and are the same as text1 and text when paged. */
190 /* .ppageFD : (text1 / 0x4000 - 0x7FFF)
195 .ppageFF : (text / 0xC000 - 0xFFFF)
201 /* The rest from the other 3 128k flash modules - can't use yet */