Go Down

Topic: Arduino 1.5.5 TIMERXX Redefinition's (Read 456 times) previous topic - next topic


While including the <Arduino.h> header in a custom makefile I ran into a string of warnings due to redefinition's occurring in <Arduino.h> and <pins_arduino.h>.

Location of files: (Arduino directory)\hardware\arduino\cores\arduino
-File <Arduino.h>
     Line 166 - 184
     #define NOT_ON_TIMER 0
     #define TIMER0A 1
     #define TIMER5C 17

-File <pins_arduino.h>
     Lines 33-50
     #define NOT_ON_TIMER 0
     #define TIMER5C 16

Arduino version 1.5.5-r2-windows

Is this intentional? Am I including the wrong headers here? Or is this a bug?

Go Up