Targets Of The Mc56F8037Evm Project - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

Core System Infrastructure
Data
Target Name
Model
SDM_pFlash
Small
SDM_Simulator
Small
There is a different linker command file (LCF) for each target, which defines the destination
memory ranges used by the linker. Although the syntax of the LCF and C header files are
completely different. The LCF for each target is also used as prefix
configuration. The macros defined in the LCF identify the target for further conditional
compilation of the project source files.
The trick which enables using a file with the LCF syntax as a header file is shown on Code
Example 2-36. It successfully exploits the fact that the '#' sign is treated as a start of comment
line in LCF syntax, so the C-like #define statements do not cause the LCF syntax errors. On the
other side, the #if 0 ... #endif block excludes the LCF part of the file from C compilation.
1. Prefix file is unconditionaly included at the begining of every compiled C file.
2-38
Table 2-28. Targets of the MC56F8037EVM project.
Memory Used
Code
Boot
Data
Location
pFlash
0x0000
Int xRAM
(0x0000)
(0x0000)
0x0000
n/a
0x0000
(sim)
(sim)
Targeting 56F8xxx Platform
EVM
Board
Initial
Constant
Jumpers
Data
Data
pFlash
Int xRAM
n/a
(before
data)
n/a
before
n/a
data
1
FREESCALE SEMICONDUCTOR
Target Description
Stand Alone application
Software simulator of the
processor core
header file in its target

Advertisement

Table of Contents
loading

Table of Contents