I am using keil uvision 5 as programing environment for TRK-KEA128 board ,my task is to read data from and to write data into eeprom using I2C protocol .
For this I get Two files ready made that is i2c.h and i2c.c , I have included this files into my project , here in my project without any modification I get a error that
i2c.c(675): error: #167: argument of type "I2C_MemMapPtr *" is incompatible with parameter of type "I2C_MemMapPtr"
if anyone knows how to solve this please let me know !!!!
PFA
of my project !!!!!
thank you !!!!
Original Attachment has been moved to: eeprom-interfacing.zip
Hello Sandip,
The type between argument and parameter not the same:
so the error is incompatible.
I send you a driver for KEA128, please see the attachment.
Hope it helps
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I have tried same project into S32 Design Studio and it works fine !!!!
Hi ,
Is header file for SKEZ128 the same ?
Is the same for the define of "I2C_Type" ?
BR
Alice