Renesas M3T-MR100 Network Card User Manual


 
- 224 -
7.4 Memory Allocation
This section describes how memory is allocated for the application program data.
Use the section file provided by MR100 to set memory allocation.
MR100 comes with the following two types of section files:
asm_sec.inc
This file is used when you developed your applications with the assembly language.
c_sec.inc
This file is used when you developed your applications with the C language.
c_sec.inc is derived from "asm_sec.inc" by adding sections generated by C compiler NC100.
Modify the section allocation and start address settings in this file to suit your system.
The following shows how to modify the section file.
e.g.
If you want to change the rom_FAR section start address from FFE00000H to FFF00000H
;-----------------------------------------------------------------------;
; FAR ROM SECTIONS ;
;-----------------------------------------------------------------------;
.section rom_FAR, romdata
.org 0FFE00000H
rom_FAR_top:
.section rom_FAR, romdata
.org 0FFF00000H
rom_FAR_top: