EmbeddedRelated.com
Forums

How to convert projects from TI in IAR format to work with them in CrossStudio

Started by lvagasi March 10, 2009
> I forgot to add that the compiler writers can do anything they want to
> create C source commands (called pragmas) that are passed to the linker.
> This is where the innovation ( or lack of) takes place.

??? >:-(

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors

Beginning Microcontrollers with the MSP430

People do have to be careful when using ti supplied asm modules.. for example the ti fix for the RTC in the 5xx does not work without altering the asm code to cope with the difference in the way crosworks passes parameters to asm modules..

--- On Thu, 3/12/09, Paul Curtis wrote:

From: Paul Curtis
Subject: RE: [msp430] Re: How to convert projects from TI in IAR format to work with them in CrossStudio
To: m...
Date: Thursday, March 12, 2009, 5:45 AM

Mike,

> Although I'm certainly NOT qualified to do so, it seems if I
> were making and selling a compiler for TI chips, I would furnish a
document
> that shows how to adapt TI code to work on my compiler. Have you asked
> Rowley?

We've done what TI have done--effectively match a selected set of pragmas so
that TI can maintain a single source code base. It means all those small TI
examples that demonstrate the MSP430 now compile without any change.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley. co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors