AnsweredAssumed Answered

MSCAN driver and PE code generation. compile error in msCANdrv.h:expected identifier before numeric constant

Question asked by Alan Tian on Jan 31, 2015

Hi, all,

 

I am trying to load the msCAN driver into my project these days. I enabled Processor Expert and generated code, but when I include the msCAN drivers, I encountered this error:

DescriptionResourcePathLocationType
expected identifier before numeric constantmsCANdrv.h/MSCAN_KEA128/MSCAN_DRIVER/CAN_incline 98C/C++ Problem

 

I have tested the msCAN example without PE code generation, it works without any error. Thus I am guess there are some redefine in the generated code that cause this error, but I can't find any.

I attached my project here, any enlightenment is appreciated!

 

Alan

Original Attachment has been moved to: MSCAN_KEA128.zip

Outcomes