Yes this might ork if you had the ShieldBuddy CAN driver MultiCAN.cpp and MultiCAN.h (attached). Copy the .c file to C:\Program Files (x86)\Arduino\hardware\aurduino\aurix\system\libaurix\source and the .h file to C:\Program Files (x86)\Arduino\hardware\aurduino\aurix\system\libaurix\include
I add added a error to the .c "Serial.prinln("someting");" without "t" to confirm if the compiler is running with the correct .c file, but any error came out, i suspect that the compiler is not identifying the file. Maybe i need to edith another .h to redirect to that .c?
C:\Users\medina07\AppData\Local\Temp\arduino_build_305646\sketch\Terrain_CANTC275.ino.cpp.o:C:\Program Files (x86)\Arduino\hardware\aurduino_Dx/aurix/system/libaurix/include/Multican.h:77: first defined here
C:\Users\medina07\AppData\Local\Temp\arduino_build_305646\core\cint_tc2x.c.o: In function `CAN0_Init':
It seems that the functions are already compiled on the files of the hightec tricore. Can please help me to solve this?
We tried adding the Multican.cpp and .h files as instructed and it compiled OK. You are using the Dx version of the ShieldBuddy so please copy the .c file to C:\Program Files (x86)\Arduino\hardware\aurduino_Dx\aurix\system\libaurix\source and the .h file to C:\Program Files (x86)\Arduino\hardware\aurduino_Dx\aurix\system\libaurix\include