Reply by Stephen Bashford June 6, 20032003-06-06
> After downloading the latest H, XCL and DDF files from IAR
>
>
>
http://www.iar.com/FilesPublic/SUPPORT/001246/SupportFiles%20EW430%20version%202.zip
>
> I get lots of errors when compiling the projects.
>
> Anyone dealt with this before?
>
>
I too downloaded that file and am using the files.

However, I'm using the io430f14x.h file with the bit field definitions.

I assume you're trying to use the header files with the v2.xx compiler?
I'm
not sure they will work with v1.26b.

I'm using v2.10a at the moment although v2.20a is supposed to be released
today!

Since moving to v2.10a we had several problems with missing definitions in
header files, incorrect bit fields. The zip file you downloaded was supposed
to fix these problems but is still missing some enumerations. v2.20a should
fix these.

Cheers,

    Stephen

--
Tel: +44 1225 868228  ||  Stephen Bashford (sbashford@sbas...)
Fax: +44 1225 868191  ||  Software Engineer
Mob: +44 7768 440692  ||  MPC Data Limited (http://www.mpc-data.co.uk)


Beginning Microcontrollers with the MSP430

Reply by Alexander Moskalyuk June 5, 20032003-06-05
After downloading the latest H, XCL and DDF files from IAR


http://www.iar.com/FilesPublic/SUPPORT/001246/SupportFiles%20EW430%20version%202.zip

I get lots of errors when compiling the projects.

All the errors seem to be pointing to the same lines in msp340x14x.h,
which of course is included in every single file of the project. The
lines are as follows:

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

The errors are happening when DEFC and DEFW are used, and generate
these messages

c:\program files\iar systems\ew23\430\inc\msp430x14x.h (119) :
Warning[14]: Type specifier missing; assumed "int"
c:\program files\iar systems\ew23\430\inc\msp430x14x.h (119) :
Error[44]: ';' expected
c:\program files\iar systems\ew23\430\inc\msp430x14x.h (119) :
Error[8]: Invalid character encountered: '@'; ignored
c:\program files\iar systems\ew23\430\inc\msp430x14x.h (119) :
Error[29]: Type specifier expected
c:\program files\iar systems\ew23\430\inc\msp430x14x.h (119) :
Error[0]: Invalid syntax

Anyone dealt with this before?