Compiler configuration – Freescale Semiconductor Microcontrollers User Manual

Page 227

Advertising
background image

Synchronized Debugging Through DA-C IDE

Configuring DA-C IDE for Freescale Tool Kit

227

Microcontrollers Debugger Manual

Compiler Configuration

In Menu "Start" Actions, click on new and fill in the New Action box with "C&ompile",
then press ENTER (

Figure 9.7

). In the Toolbar field, you can associate a bitmap with

each tool, for example click on the Picture radio button and browse to the \Bitmap
directory of your current DA-C installation and choose Compiler.bmp. This is a default
bitmap delivered with the DA-C IDE. Here you are able to add your own bitmap.

Figure 9.7 DA-C Compiler Settings

Now fill in the Action Script field in order to associate related compiler actions. Copy the
following lines shown in

Listing 9.1

in the Action Script field and change the directory to

where the compiler is located.

Listing 9.1 Script for Compiler Action Association

.%If(%HasModuleExt(%CurrFile),,%Message(Not a module file!)%Cancel)
.%SaveAll
.c:\Freescale\prog\cm68k.exe %CurrFile
.%if(%Exist(edout),,%Message(No Messages found!)%Cancel)
.%ErrClr(Compiler)
.%ErrGet(edout,Compiler)
.%Reset(%CurrFile)

Advertising