I have to add MSCAN driver of TRKKEA128 to Code warrior IDE. This driver has 3 folders in it CAN_cfg, CAN_inc and CAN_src.
Earlier I used to copy and place the header files to Project_Headers and source files to Sources.
But I know there is a method in which we can include the folders to compile independently rather than moving it into Project_Headers and Sources.
Could you please tell me where should I include the paths.
Thanks
hello David.
please check settings as below:
can this help you?
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Jennie Zhang,
The above pictures are same even in my case. I created a new project.
And then added a new folder MSCAN_DRIVER and included that path in Settings->Directories->MSCAN_DRIVER.
This automatically added the paths in "Paths and Symbols->GNUC->".
But when I build the project, it shows msCANdrv.h file is not found. But it is found in "MSCAN_DRIVER/CAN_inc".
I have attached the screen shot here for reference..
Let me know if I am missing something.
Thanks in advance
Hi Jennie Zhang,
I added separate path for MSCAN_DRIVER/CAN_inc and MSCAN_DRIVER/CAN_cfg.
I got it working.
May I request you to help me through this thread https://community.freescale.com/message/596581?et=watches.email.thread#596581 .
The discussion was going on for a while with "Ma Hui". But unfortunately "Ma Hui" is out of office for this week as it was told that it will be redirected to another colleague. Could you please speed up the process. I have asked the question in detail in my last post of the same thread. The new colleague will have to read only my last post in that thread to understand the problem.
Thanks for your help.
no problem, I have asked my colleague Likan answered it. :-)
please check https://community.freescale.com/message/596581?et=watches.email.thread#596581
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks Jennie Zhang
you are welcome!
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------