AN2109 Freescale Semiconductor / Motorola, AN2109 Datasheet - Page 26

no-image

AN2109

Manufacturer Part Number
AN2109
Description
MPC555 Interrupts
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
7.2.1 Example: makefile
# Sample makefile for MPC555 code
# Used with DiabData compiler version 4.3g
OBJS
CC
AS
LD
DUMP
COPTS
AOPTS
LOPTS
EXECUTABLE = PIT
.SUFFIXES: .c .s
default: $(EXECUTABLE).elf $(EXECUTABLE).s19
.c.o :
.s.o :
$(EXECUTABLE).elf: makefile $(OBJS)
# Generate s record file for flashing
$(EXECUTABLE).s19: $(EXECUTABLE).elf
= dcc
= das
= dcc
= -tPPC555EH:cross -@E+err.log -g -c -O -Id:\mydoc555\m555r224
= -tPPC555EH:cross -@E+err.log -g
= -tPPC555EH:cross -@E+err.log -Ws -m2 -lm -l:crt0.o
$(CC) $(COPTS) -o $*.o $<
= main.o exceptions.o
= ddump
$(AS) $(AOPTS) $<
$(LD) $(LOPTS) $(OBJS) -o $(EXECUTABLE).elf -Wm etas_evb.lin > $(EXECUTABLE).map
$(DUMP) -tv $(EXECUTABLE).elf >>$(EXECUTABLE).map
$(DUMP) -Rv -o $(EXECUTABLE).s19 $(EXECUTABLE).elf
Freescale Semiconductor, Inc.
For More Information On This Product,
Rev. 0, 26 July 2001
MPC555 Interrupts
Go to: www.freescale.com
MOTOROLA
26

Related parts for AN2109