Hi
I tried to implement the CAN workaround for F2812 (sprc180.zip).
My application is written in C++ and the compiler option 'Parser' -> 'Treat C files as C++ files (-fg)' is set.
When i set this option, the linker is not able to find the Symbols in the assembly file.
Linker error message:
_CanDoubleWritePort(volatile unsigned long *, unsigned long)
D:\Projekte\Steuerungen\AUI\Software\0C79\Debug\can_ecan.obj
_CanDoubleResetBit(volatile unsigned long *, unsigned long)
D:\Projekte\Steuerungen\AUI\Software\0C79\Debug\can_ecan.obj
_CanDoubleTestBit(volatile unsigned long *, unsigned long)
D:\Projekte\Steuerungen\AUI\Software\0C79\Debug\can_ecan.obj
_CanDoubleReadPort(volatile unsigned long *)
D:\Projekte\Steuerungen\AUI\Software\0C79\Debug\can_ecan.obj
_CanDoubleSetBit(volatile unsigned long *, unsigned long)
D:\Projekte\Steuerungen\AUI\Software\0C79\Debug\can_ecan.obj
>> error: symbol referencing errors - './Debug/aui_debug.out' not built
What is the difference between the implementation of assembly code in C and C++?
What can i do to make it work?
Greats
Philipp