I downloaded & installed cdk4msp, with some patch to support 16x devices.
May be I've found a little problem in dac.h, because doesn't exist the 
definitions of DAC12_0DAT and DAC12_1DAT.
I patched a target.h file with following definitions:

#define DAC12_0DAT      *((uint16_t *)DAC12_0DAT_)
#define DAC12_1DAT      *((uint16_t *)DAC12_1DAT_)

I think that the right way to define them is:

sfrw(DAC12_0DAT,DAC12_0DAT_);
sfrw(DAC12_1DAT,DAC12_1DAT_);

Correct?

A particular thank to Steve Underwood for the writing of MSPGCC manual.

Regards.

-- 
Paolo Zebelloni
C-Labs S.r.l.
Via Livorno 60 - 10144 - Torino
c/o Environment Park - Edificio A1 Laboratori - Livello 2
Tel. +39.011.225.7761
FAX. +39.011.225.7769
WEB: http://www.c-labs.it


Reply via email to