I have TrxEB and CC1120 dev kit. I have created a new project in CCS and copied in the source code from the TI site ( http://www.ti.com/lit/zip/swrc219 )
After jamming all the potential "include" paths into the IDE, I was able to build, sort of. I got numerous warnings and errors. I've solved most of them (which I can list, but won't ATM)
The current problem getting a successful build is solving the construct of many of the functions and MACROs where there are similar (but different) names. Errors like the following come up:
#20 identifier "CC11xL_STATE_IDLE" is undefined
#20 identifier "CC11xL_MCSM2" is undefined
There are dozens of these. Note the 'x' in the MACRO - there exists, in the cc11xL_spi.h file, definitions for CC110L_STATE_IDLE, CC113L_STATE_IDLE, and CC110L_MCSM2, etc.
How should I - or how does the IAR environment - reconcile these discrepancies?
-Mike