Re: [Tinyos-help] Using TinyOS mspgcc toolchain for building MSP430 MCU-s

2010-05-19 Thread Jordi Soucheiron
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

Re: [Tinyos-help] Using TinyOS mspgcc toolchain for building MSP430 MCU-s

2010-05-18 Thread Michael Schippling
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,

[Tinyos-help] Using TinyOS mspgcc toolchain for building MSP430 MCU-s

2010-05-18 Thread Andres Vahter
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