I am still reading up and learning about Timers and Interrupts, but I suspect this is related to Attinycore's Servo code to be compatible with Tone() and similar compatibility code built into IRMP.
Error output
I get this compile eror:
Tone.cpp.o (symbol from plugin): In functiontone(unsigned char, unsigned long, unsigned long)':
(.text+0x0): multiple definition of __vector_3' libraries/Servo_ATTinyCore/avr/Servo_ATTinyCore.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2: error: ld returned 1 exit status exit status 1 Error compiling for board ATtiny25/45/85 (No bootloader).
Additional context
Is there a way to "disable" this redefinition of Tone() timer definition in IRMP? I'd love to use IRMP along with Attinycore's Servo lib. Thanks for this great library and its many options (eg, Pin change interrupt option especially and ability to minimize protocol config)
Thanks for pointig this out 🥇 .
I commited the changes now, so use the current repo content or just remove the function irmp_tone() in irmpArduinoExt.cpp.h.
Bug Report
Arduino Platform
IDE
IR-Protocol
Example to reproduce the issue
Pin(s) used for IR-receive, if not default
Version
Current behavior
I am trying to utilize IRMP on an attiny85 using Attinycore (SpencerKonde core, no bootloader) and it's built-in Servo functionality.
When I add the following defines and headers to the top of the minimalReceiver sketch:
my compile fails.
Expected behavior
Expected that this would build successfully.
I am still reading up and learning about Timers and Interrupts, but I suspect this is related to Attinycore's Servo code to be compatible with Tone() and similar compatibility code built into IRMP.
Error output
I get this compile eror:
Tone.cpp.o (symbol from plugin): In function
tone(unsigned char, unsigned long, unsigned long)': (.text+0x0): multiple definition of__vector_3' libraries/Servo_ATTinyCore/avr/Servo_ATTinyCore.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2: error: ld returned 1 exit status exit status 1 Error compiling for board ATtiny25/45/85 (No bootloader).
Additional context
Is there a way to "disable" this redefinition of Tone() timer definition in IRMP? I'd love to use IRMP along with Attinycore's Servo lib. Thanks for this great library and its many options (eg, Pin change interrupt option especially and ability to minimize protocol config)