Linker configuration – Freescale Semiconductor Microcontrollers User Manual

Page 228

Advertising
background image

Synchronized Debugging Through DA-C IDE

Configuring DA-C IDE for Freescale Tool Kit

228

Microcontrollers Debugger Manual

Click on OK to validate these settings. Select the Fibo.c file. Click on the Compiler
button (or from the main menu of DA-C select Start > Compile). This file is now
compiled and the corresponding object file (Fibo.o) is generated.

Linker Configuration

In the same way, you can now configure the linker as illustrated in

Figure 9.8

. In the

Menu "Start" Actions, click on new and fill in the created New Action box with
"&Link", then validate with ENTER. After setting the corresponding bitmap, copy the
following lines shown in

Listing 9.2

in the Action Script field and change the directory to

where the linker is located.

Listing 9.2 Script for Linker Action Association

+c:\Freescale\prog\linker.exe fibo.prm
.%if(%Exist(edout),,%Message(No Messages found!)%Cancel)
.%ErrClr()
.%ErrGet(edout)

Figure 9.8 DA-C Linker Settings

Advertising