Re: [Mspgcc-users] MSPDebug version 0.8

2010-05-24 Thread daniel
Tadashi G. Takaoka writes: Thank you for merging OSX patches into mainline! But there is one more tiny glitch. OSX's install command does not accept -D option. It would be happy if you will revise the Makefile. Hi Tadashi, No problem. Does OSX's mkdir support the -p option (create parents)?

[Mspgcc-users] Cannot access TI MSP Experimenters board

2010-05-24 Thread Andrew McLaren
I'm using the mspgcc toolchain with a TI USB FET. I've been struggling to get the toolchain to communicate with a TI MSP-EXP430FG4618 experimenters board (this is the board with both a 4608 and 2013 processors). The scenario I have is as follows; If I try and attach to either of the processors

[Mspgcc-users] Cannot compile TI's MSP430F21x2 examples with mspgcc

2010-05-24 Thread Andres Vahter
Hi, I cannot compile TI's MSP430F21x2 examples with mspgcc. It gives me following error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’ * Ubuntu 10.04 * I downloaded mspgcc4 binary from:

Re: [Mspgcc-users] Cannot compile TI's MSP430F21x2 examples with mspgcc

2010-05-24 Thread Peter Bigot
GCC does not use #pragma directives; they use function attributes instead. The syntax for marking an interrupt routine is: // Timer A0 interrupt service routine // #pragma vector=TIMER1_A0_VECTOR // __interrupt __attribute__((interrupt(TIMER1_A0_VECTOR))) void TIMER1_A0_ISR(void) { Beyond

Re: [Mspgcc-users] Cannot compile TI's MSP430F21x2 examples with mspgcc

2010-05-24 Thread Dan Bloomquist
Peter Bigot wrote: __attribute__((interrupt(TIMER1_A0_VECTOR))) void TIMER1_A0_ISR(void) {... Hi Peter, Have things changed with the new compiler? I'm using mspgcc-20080619 and the likes of: interrupt ( TIMERA1_VECTOR ) my_name( void ) {... is what I use. Best, Dan.

Re: [Mspgcc-users] Cannot compile TI's MSP430F21x2 examples with mspgcc

2010-05-24 Thread Peter Bigot
There's a header file signal.h that defines some macros like interrupt and eint as helpers instead of using the underlying attribute declarations and intrinsics. You can use either syntax. Peter On Mon, May 24, 2010 at 10:52 AM, Dan Bloomquist d...@lakeweb.net wrote: Peter Bigot wrote:

[Mspgcc-users] TI Chronos - adding day-of-the-week function

2010-05-24 Thread Paul F. Sehorne
I have never found myself looking to my watch for the year, but I do often refer to my watch for the day of the week. So I modified the TI function that displays the year to display the day of the week instead. The function to set the year still works. The day of the week is being displayed

Re: [Mspgcc-users] Porting TI Chronos Sport Watch firmware from IAR to MSPgcc - STEP 2

2010-05-24 Thread Paul F. Sehorne
Chris, Thanks for your suggestions. I will look into them. Paul On 5/21/2010 5:50 PM, Chris Liechti wrote: On 21.05.2010 22:53, Paul F. Sehorne wrote: I am more than willing to listen to suggestions for improvements or corrections. are the sources open? if there is no problem with

Re: [Mspgcc-users] MSPDebug version 0.7

2010-05-24 Thread John Porubek
On Fri, May 14, 2010 at 6:32 PM, dan...@tortek.co.nz wrote: John Porubek writes: I'm experiencing problems compiling version 0.7. This is the first new revision I've tried since version 0.4. When doing the make I get the error messages: cproc.c:27:31: error: readline/readline.h: No such