XMC-for-Arduino icon indicating copy to clipboard operation
XMC-for-Arduino copied to clipboard

Multiple definition of CCU40_0_IRQHandler

Open biofiction opened this issue 3 years ago • 0 comments

CCU40_0_IRQHandler() is defined multiple times.

when using the <DeviceControlXMC.h> and attachInterrupt(digitalPinToInterrupt(9), alarmMatch, RISING); causes a error message

C:\Users\cguen\AppData\Local\Temp\arduino_build_359578/..\arduino_cache_705162\core\core_Infineon_arm_XMC1100_H_BRIDGE2GO_UART_debug,LIB_NONE_1ca69f617a43b0e49b5c85f4dd74c788.a(WInterrupts.c.o): In function CCU40_0_IRQHandler': C:\Users\cguen\AppData\Local\Arduino15\packages\Infineon\hardware\arm\1.6.0\cores/WInterrupts.c:55: multiple definition of CCU40_0_IRQHandler' libraries\DeviceControlXMC\utility\timer.c.o:C:\Users\cguen\AppData\Local\Arduino15\packages\Infineon\hardware\arm\1.6.0\libraries\DeviceControlXMC\src\utility/timer.c:66: first defined here

I have removed the implementation in timer.c this has fixed the issue

biofiction avatar Oct 16 '22 19:10 biofiction