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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [fpga/] [xilinx_diligent_s3board/] [software/] [leds/] [makefile] - Diff between revs 106 and 143

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

Rev 106 Rev 143
Line 1... Line 1...
# makfile configuration
# makfile configuration
NAME            = leds
NAME            = leds
OBJECTS         = main.o 7seg.o
OBJECTS         = main.o 7seg.o
CPU             = msp430x1121
 
 
 
CFLAGS          = -mmcu=${CPU} -mforce-hwmul -O0 -Wall -g
CFLAGS          = -O2 -Wall -g -mcpu=430 -mivcnt=16 -mmpy=16     # Uniarch flags
 
 
#switch the compiler (for the internal make rules)
#switch the compiler (for the internal make rules)
CC              = msp430-gcc
CC              = msp430-gcc
 
 
 
 
Line 19... Line 18...
#download: download-jtag
#download: download-jtag
#download: download-bsl
#download: download-bsl
 
 
#additional rules for files
#additional rules for files
${NAME}.elf: ${OBJECTS}
${NAME}.elf: ${OBJECTS}
        ${CC} -mmcu=${CPU} -o $@ ${OBJECTS}
        ${CC} -Tlinker.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.