User`s guide
Targ et Preferences
Purpose Configure model for Texas Instruments processor
Library Target Preferences in Em bedded IDE Link CC
Description Options on the block dialog box le t you s et features of code generation
for your custom C2xxx, F28xx, C5xxx, and C6xxx processor-based
board. Adding this block to your Simulink software model provides
access to the processor hardware settings you need to configure when
you g enerate a project from a Simulink softwa re model or you generate
code from Real-Time Workshop softw are to run on a processor or board.
Any model that you use to generate a project or that you develop for
custom hardware must include this block. Simulink or Real-Time
Workshop softw are returns an error message if a target preferences
block is n ot present in your m odel when you try to generate projects
or code.
Note This block m us t be in your m odel at the t op level and not in a
subsystem. It does not connect to any other blocks, but stands alone to
set the processor preferences for the model. Simulink software returns
an error when your model does not include a Target Preferences block
or has more than o ne.
The processor and processor options you specify on this block are:
• Processor and board information
• Memory mapping and layou t
• Allocation of the various code sections, such as compiler, DSP/BIOS,
and custom sections
• Operating parameters for peripherals on c280x and c281x processors
Setting the options included in this dialog box results in identifying
your processor to Real-Time Workshop software, Embedded IDE L ink
CC, and Simulink software. Setting the options also, configures the
9-45