Hello,
I ported over an application from CCS 3.3 to CCS 5.1, which made liberal use of CSL macros, which are now getting flagged. At the end of this post is a partial example of how they are used in one case, to initialize a McBSP configuration structure. In CCS 5.1, every single entry line is underscored in the text editor, and has a question mark next to it. When I mouse over the question mark, it says:
Multiple markers at this line
- Invalid use of macro pasting in macro: _PER_FMKS
- Invalid use of macro pasting in macro: MCBSP_FMKS
The configuration of the McBSP, using this approach, doesn't appear to be working as expected in CCS 5.1, possibly related to these errors.
Please advise,
Robert
static MCBSP_Config mcbsp_cfg_1 =
{
MCBSP_FMKS( SPCR, FREE, NO ) |
MCBSP_FMKS( SPCR, SOFT, NO ) |
MCBSP_FMKS( SPCR, FRST, YES ) |
MCBSP_FMKS( SPCR, GRST, YES) |
MCBSP_FMKS( SPCR, XINTM, XRDY ) |
MCBSP_FMKS( SPCR, XSYNCERR, NO ) |
MCBSP_FMKS( SPCR, XRST, YES ) |
MCBSP_FMKS( SPCR, DLB, OFF ) |
MCBSP_FMKS( SPCR, RJUST, RZF ) |
MCBSP_FMKS( SPCR, CLKSTP, DISABLE ) |
MCBSP_FMKS( SPCR, DXENA, OFF ) |
MCBSP_FMKS( SPCR, RINTM, RRDY ) |
MCBSP_FMKS( SPCR, RSYNCERR, NO ) |
MCBSP_FMKS( SPCR, RRST, YES ),
.
.
.