I've had to do this quite regularly. A makefile like the one you're asking
for could look like this:
CFLAGS=-O2 -DPRINTFUART_ENABLED
CC=msp430-gcc
all:
$(CC) $(CFLAGS) -0s -g -mmcu=msp430x2617 -o led.elf led.c
msp430-objcopy --output-target=ihex led.elf led.ihex
z1-bsl --z1 -c $(shell
You can find most everything anyone knows about mspgcc at:
mspgcc.sourceforge.net/
MS
Andres Vahter wrote:
> Hi,
>
> I have mspgcc toolcain installed and it is working well with telosb.
> How can I use it for building and uploading a simple example program
> from TI webpage: MSP430F22x2,
Hi,
I have mspgcc toolcain installed and it is working well with telosb.
How can I use it for building and uploading a simple example program from TI
webpage: MSP430F22x2, MSP430F22x4?
These example programs consist of only single .c file.
Could someone provide example how Makefile should look