undefined reference to lpi2c1_MasterCallback0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

undefined reference to lpi2c1_MasterCallback0

1,157 Views
gordy
Contributor II

Hello,

   Some problems exist when i use S32K144 lPI2C .As below,is there any problem with my project,how can i solve this,thanks.

pastedImage_1.png

0 Kudos
1 Reply

987 Views
AlinaB
NXP Employee
NXP Employee

Hello,

You have to define the lpi2c1_MasterCallback0 function. It should be something like this:

void lpi2c1_MasterCallback0(uint32_t instance, lpi2c_master_event_t masterEvent, void *userData)
{

       /* Add your code... */
}

Regards, 

Alina