Page 1 of 1
I2C issue with RC7 release
Posted: Tue Dec 01, 2009 11:01 am
by CelNB
I imported my design from NBEclipse IDE old version (I couldn't find the version number from the 'About...') to RC7a. While the project was compiled, error messages showed up. Error message is: undefined reference to `Multi_I2CInit'
The project could be complied on old NBEclipse IDE without any problems.
Hardware: MOD5213
Could anyone tell me how to solve this issue? Thanks.
Re: I2C issue with RC7 release
Posted: Tue Dec 01, 2009 11:48 am
by fanat9
Re: I2C issue with RC7 release
Posted: Tue Dec 01, 2009 2:08 pm
by CelNB
Thanks for the reply. I tried to create a new project and imported file systems (only *.h and *.cpp files are imported) from my old project. I also include the following code at the top of the source code:
#ifndef MCF5213
#define MCF5213
#endif
But the problem is still there.
I build a simple testing project, as attached.
Re: I2C issue with RC7 release
Posted: Tue Dec 01, 2009 3:02 pm
by lgitlitz
Hi,
Sorry about this, I thought this fix was already in 2.37a but I was wrong. There was a bug in this release that has been fixed. A new 2.4 release should be out any day now.
I2CMulti.cpp
Line 48:
#if ( defined MCF5270 || defined MCD5213 || defined MCF5208 )
Should be:
#if ( defined MCF5270 || defined MCF5213 || defined MCF5208 )
Recompile your system files after changing this and all should be OK.