Dumb Arduino errors!

irremote

“C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++” -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib –param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=48000000L -DARDUINO=10612 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d -DUSBCON ‘-DUSB_MANUFACTURER=”Arduino LLC”‘ ‘-DUSB_PRODUCT=”Arduino Zero”‘ “-IC:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/CMSIS/Include/” “-IC:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.0.0-atmel/Device/ATMEL/” “-IC:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.6\cores\arduino” “-IC:\Users\user\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.6\variants\arduino_zero” “-IC:\Users\user\Documents\Arduino\libraries\IRremote” “C:\Users\user\Documents\Arduino\libraries\IRremote\irISR.cpp” -o “C:\Users\user\AppData\Local\Temp\arduino_build_814138\libraries\IRremote\irISR.cpp.o”
C:\Users\user\Documents\Arduino\libraries\IRremote\irISR.cpp:18:5: error: expected constructor, destructor, or type conversion before ‘(‘ token

ISR (TIMER_INTR_NAME)

^

Using library IRremote at version 1.0 in folder: C:\Users\user\Documents\Arduino\libraries\IRremote
exit status 1
Error compiling for board Arduino/Genuino Zero (Programming Port).

Solution:

Yes, change the board to something different than Programming Port!

=======================================================

Advertisements

~ by nambabwe on 2016/10/10.

 
%d bloggers like this: