OpenCores
URL https://opencores.org/ocsvn/openmsp430/openmsp430/trunk

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [fpga/] [actel_m1a3pl_dev_kit/] [software/] [spacewar/] [makefile] - Diff between revs 82 and 143

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 82 Rev 143
Line 1... Line 1...
# makfile configuration
# makfile configuration
NAME            = spacewar
NAME            = spacewar
OBJECTS         = bzsin.o  cline.o  compar.o  explode.o  hardware.o  main.o  point.o  reset.o  rocket1.o  rocket2.o  score.o  update.o
OBJECTS         = bzsin.o  cline.o  compar.o  explode.o  hardware.o  main.o  point.o  reset.o  rocket1.o  rocket2.o  score.o  update.o
CPU             = msp430x2122
 
 
 
CFLAGS          = -mmcu=${CPU} -O2 -Wall -g
CFLAGS          = -O2 -Wall -g -mcpu=430 -mivcnt=16 -mmpy=none     # Uniarch flags
#CFLAGS          = -mmcu=${CPU} -mforce-hwmul -O2 -Wall -g
 
 
 
#switch the compiler (for the internal make rules)
#switch the compiler (for the internal make rules)
CC              = msp430-gcc
CC              = msp430-gcc
 
 
 
 
Line 18... Line 16...
#serial download
#serial download
download: download-uart
download: download-uart
 
 
#additional rules for files
#additional rules for files
${NAME}.elf: ${OBJECTS}
${NAME}.elf: ${OBJECTS}
        ${CC} -mmcu=${CPU} -o $@ ${OBJECTS}
        ${CC} -T linker.x -o $@ ${OBJECTS}
 
 
${NAME}.a43: ${NAME}.elf
${NAME}.a43: ${NAME}.elf
        msp430-objcopy -O ihex $^ $@
        msp430-objcopy -O ihex $^ $@
 
 
${NAME}.lst: ${NAME}.elf
${NAME}.lst: ${NAME}.elf

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.