According to the bootloader routine published on the NXP offical website, I set main.c and bootloader_main.c migrates UDS related code to another APP program,but when compiling,
BSP in main()
{
CAN_InstallEventCallback(&can_pall_instance,&CAN_RXMsaghandle,NULL_ptr)
}
question(argument of type "void (*) (u32, can_event_t,u32,void*)" is incompatible with parameter of type "can_callback_t"")
I solved the incompatibility problem-uint32_t(old) and U32(new) are inconsistent,only u32 is defined.Although I transplanted the code in the past,I can't send and receive messages normally,I can't find the problem.
Hello, yanren,
For problem, I suggest you reference the example code from S32DS.
Best Regards!