This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP430F149: IAR Workbench to CCS Migration of C Codes - Compilation Errors

Part Number: MSP430F149

Tool/software: Code Composer Studio

I am trying to compile the  code written for MSP430  using IAR Workbench  to CCS recently. The following section after dotted lines on msp430x14x.h seems troubling the compilation and throwing error 

#35 #error directive: MSP430X44X.H file for use with ICC430/A430 only 

===============================================

#if (((__TID__ >> 8) & 0x7F) != 0x2b) /* 0x2b = 43 dec */

#error MSP430X44X.H file for use with ICC430/A430 only
#endif

#ifdef __IAR_SYSTEMS_ICC__
#include <in430.h>
#pragma language=extended

#define DEFC(name, address) __no_init volatile unsigned char name @ address;
#define DEFW(name, address) __no_init volatile unsigned short name @ address;

#endif /* __IAR_SYSTEMS_ICC__ */


#ifdef __IAR_SYSTEMS_ASM__
#define DEFC(name, address) sfrb name = address;
#define DEFW(name, address) sfrw name = address;

#endif /* __IAR_SYSTEMS_ASM__*/

#ifdef __cplusplus
#define READ_ONLY
#else
#define READ_ONLY const
#endif

Would you please help me.

Rgds,

Arvind

**Attention** This is a public forum