This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.
Version: 1.0.0
More details
| Board | Claims compatibility | Inclusion | IRRemoteControlDemo |
|---|---|---|---|
|
arduino:avr:uno
1.8.4 |
Yes | PASS | PASS |
|
arduino:mbed_nano:nanorp2040connect
2.7.2 |
Yes ⚠️ | FAIL | FAIL |
|
arduino:megaavr:nona4809
1.8.7 |
Yes ⚠️ | FAIL | FAIL |
|
arduino:samd:mkrwifi1010
1.8.12 |
Yes ⚠️ | FAIL | FAIL |
|
esp32:esp32:d1_mini32
1.0.6 |
Yes ⚠️ | FAIL | FAIL |
Result: PASS
Sketch uses 628 bytes (1%) of program storage space. Maximum is 32256 bytes. Global variables use 13 bytes (0%) of dynamic memory, leaving 2035 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 3122 bytes (9%) of program storage space. Maximum is 32256 bytes. Global variables use 1508 bytes (73%) of dynamic memory, leaving 540 bytes for local variables. Maximum is 2048 bytes.
Result: FAIL
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:11:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned int* IRRecv::irBuffer;
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:12:21: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static int* IRRecv::irBufferLength;
^~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:13:20: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static int IRRecv::maxIrBufferLength;
^~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:15:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned long IRRecv::currentMicros = 0;
^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:16:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned long IRRecv::previousMicros = 0;
^~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::enableIROut(int)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:74:33: error: 'TIMSK2' was not declared in this scope
#define TIMER_DISABLE_INTR (TIMSK2 = 0)
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:73:3: note: in expansion of macro 'TIMER_DISABLE_INTR'
TIMER_DISABLE_INTR; //Timer2 Overflow Interrupt
^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:74:33: note: suggested alternative: 'TIMER'
#define TIMER_DISABLE_INTR (TIMSK2 = 0)
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:73:3: note: in expansion of macro 'TIMER_DISABLE_INTR'
TIMER_DISABLE_INTR; //Timer2 Overflow Interrupt
^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:86: error: 'TCCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:99: error: 'WGM20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:95: error: '_BV' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:95: note: suggested alternative: '_B'
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:107: error: 'TCCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:120: error: 'WGM22' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:133: error: 'CS20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:133: note: suggested alternative: '._20'
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:140: error: 'OCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:156: error: 'OCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::mark(int)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:72:31: error: 'TCCR2A' was not declared in this scope
#define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1))
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:89:3: note: in expansion of macro 'TIMER_ENABLE_PWM'
TIMER_ENABLE_PWM; // Enable pin 3 PWM output
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:72:45: error: 'COM2B1' was not declared in
Result: FAIL
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:11:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned int* IRRecv::irBuffer;
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:12:21: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static int* IRRecv::irBufferLength;
^~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:13:20: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static int IRRecv::maxIrBufferLength;
^~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:15:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned long IRRecv::currentMicros = 0;
^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:16:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned long IRRecv::previousMicros = 0;
^~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::enableIROut(int)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:74:33: error: 'TIMSK2' was not declared in this scope
#define TIMER_DISABLE_INTR (TIMSK2 = 0)
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:73:3: note: in expansion of macro 'TIMER_DISABLE_INTR'
TIMER_DISABLE_INTR; //Timer2 Overflow Interrupt
^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:74:33: note: suggested alternative: 'TIMER'
#define TIMER_DISABLE_INTR (TIMSK2 = 0)
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:73:3: note: in expansion of macro 'TIMER_DISABLE_INTR'
TIMER_DISABLE_INTR; //Timer2 Overflow Interrupt
^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:86: error: 'TCCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:99: error: 'WGM20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:95: error: '_BV' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:95: note: suggested alternative: '_B'
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:107: error: 'TCCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:120: error: 'WGM22' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:133: error: 'CS20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:133: note: suggested alternative: '._20'
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:140: error: 'OCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:156: error: 'OCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::mark(int)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:72:31: error: 'TCCR2A' was not declared in this scope
#define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1))
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:89:3: note: in expansion of macro 'TIMER_ENABLE_PWM'
TIMER_ENABLE_PWM; // Enable pin 3 PWM output
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:72:45: error: 'COM2B1' was not declared in
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::enableIROut(int)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:74:33: error: 'TIMSK2' was not declared in this scope
#define TIMER_DISABLE_INTR (TIMSK2 = 0)
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:73:3: note: in expansion of macro 'TIMER_DISABLE_INTR'
TIMER_DISABLE_INTR; //Timer2 Overflow Interrupt
^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:74:33: note: suggested alternative: 'TIMERB2'
#define TIMER_DISABLE_INTR (TIMSK2 = 0)
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:73:3: note: in expansion of macro 'TIMER_DISABLE_INTR'
TIMER_DISABLE_INTR; //Timer2 Overflow Interrupt
^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:86: error: 'TCCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:86: note: suggested alternative: 'TCB2'
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/io.h:99:0,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/pgmspace.h:90,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/String.h:31,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/IPAddress.h:24,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/ArduinoAPI.h:30,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/Arduino.h:23,
from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:12,
from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:99: error: 'WGM20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:107: error: 'TCCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:107: note: suggested alternative: 'TCB2'
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/io.h:99:0,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/pgmspace.h:90,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/String.h:31,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/IPAddress.h:24,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/ArduinoAPI.h:30,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/Arduino.h:23,
from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:12,
from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:120: error: 'WGM22' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:133: error: 'CS20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:140: error: 'OCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:156: error: 'OCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::mark(int)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:72:31: error: 'TCCR2A' was not declared in this scope
#define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1))
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:89:3: note
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::enableIROut(int)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:74:33: error: 'TIMSK2' was not declared in this scope
#define TIMER_DISABLE_INTR (TIMSK2 = 0)
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:73:3: note: in expansion of macro 'TIMER_DISABLE_INTR'
TIMER_DISABLE_INTR; //Timer2 Overflow Interrupt
^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:74:33: note: suggested alternative: 'TIMERB2'
#define TIMER_DISABLE_INTR (TIMSK2 = 0)
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:73:3: note: in expansion of macro 'TIMER_DISABLE_INTR'
TIMER_DISABLE_INTR; //Timer2 Overflow Interrupt
^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:86: error: 'TCCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:86: note: suggested alternative: 'TCB2'
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/io.h:99:0,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/pgmspace.h:90,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/String.h:31,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/IPAddress.h:24,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/ArduinoAPI.h:30,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/Arduino.h:23,
from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:12,
from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:99: error: 'WGM20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:107: error: 'TCCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:107: note: suggested alternative: 'TCB2'
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/io.h:99:0,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/pgmspace.h:90,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/String.h:31,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/IPAddress.h:24,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/ArduinoAPI.h:30,
from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/Arduino.h:23,
from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:12,
from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:120: error: 'WGM22' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:133: error: 'CS20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:140: error: 'OCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:156: error: 'OCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::mark(int)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:72:31: error: 'TCCR2A' was not declared in this scope
#define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1))
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:89:3: note
Result: FAIL
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:11:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned int* IRRecv::irBuffer;
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:12:21: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static int* IRRecv::irBufferLength;
^~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:13:20: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static int IRRecv::maxIrBufferLength;
^~~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:15:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned long IRRecv::currentMicros = 0;
^~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:16:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned long IRRecv::previousMicros = 0;
^~~~~~~~~~~~~~
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::enableIROut(int)':
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:74:33: error: 'TIMSK2' was not declared in this scope
#define TIMER_DISABLE_INTR (TIMSK2 = 0)
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:73:3: note: in expansion of macro 'TIMER_DISABLE_INTR'
TIMER_DISABLE_INTR; //Timer2 Overflow Interrupt
^~~~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:86: error: 'TCCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:86: note: suggested alternative: 'TCC2'
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:99: error: 'WGM20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:95: error: '_BV' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:95: note: suggested alternative: '_B'
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:107: error: 'TCCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:107: note: suggested alternative: 'TCC2'
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:120: error: 'WGM22' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:133: error: 'CS20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:140: error: 'OCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:156: error: 'OCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file inc
Result: FAIL
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:11:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned int* IRRecv::irBuffer;
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:12:21: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static int* IRRecv::irBufferLength;
^~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:13:20: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static int IRRecv::maxIrBufferLength;
^~~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:15:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned long IRRecv::currentMicros = 0;
^~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:16:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned long IRRecv::previousMicros = 0;
^~~~~~~~~~~~~~
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::enableIROut(int)':
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:74:33: error: 'TIMSK2' was not declared in this scope
#define TIMER_DISABLE_INTR (TIMSK2 = 0)
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:73:3: note: in expansion of macro 'TIMER_DISABLE_INTR'
TIMER_DISABLE_INTR; //Timer2 Overflow Interrupt
^~~~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:86: error: 'TCCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:86: note: suggested alternative: 'TCC2'
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:99: error: 'WGM20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:95: error: '_BV' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:95: note: suggested alternative: '_B'
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:107: error: 'TCCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:107: note: suggested alternative: 'TCC2'
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:120: error: 'WGM22' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:133: error: 'CS20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:140: error: 'OCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:156: error: 'OCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^~~~~~~~~~~~~~~~
In file inc
Result: FAIL
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:11:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned int* IRRecv::irBuffer;
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:12:21: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static int* IRRecv::irBufferLength;
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:13:20: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static int IRRecv::maxIrBufferLength;
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:15:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned long IRRecv::currentMicros = 0;
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:16:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned long IRRecv::previousMicros = 0;
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::enableIROut(int)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:74:33: error: 'TIMSK2' was not declared in this scope
#define TIMER_DISABLE_INTR (TIMSK2 = 0)
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:73:3: note: in expansion of macro 'TIMER_DISABLE_INTR'
TIMER_DISABLE_INTR; //Timer2 Overflow Interrupt
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:86: error: 'TCCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:12:0,
from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:99: error: 'WGM20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:99:25: note: in definition of macro '_BV'
#define _BV(b) (1UL << (b))
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:107: error: 'TCCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:12:0,
from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:120: error: 'WGM22' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:99:25: note: in definition of macro '_BV'
#define _BV(b) (1UL << (b))
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:133: error: 'CS20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:99:25: note: in definition of macro '_BV'
#define _BV(b) (1UL << (b))
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:140: error: 'OCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:156: error: 'OCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::mark(int)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:72:31: error: 'TCCR2A' was not declared in this scope
#define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1))
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:89:3: note: in expansion of macro 'TIMER_ENABLE_PWM'
TIMER_ENABLE_PWM; // Enable pin 3 PWM output
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:12:0,
from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:72:45: error: 'COM2B1' was not declared in this scope
#define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1))
^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:99:25: note: in definition of macro '_BV'
#define _BV(b) (1UL << (b))
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:89:3: note: in expansion of macro 'TIMER_ENABLE_PWM'
TIMER_ENABLE_PWM; // Enable pin 3 PWM output
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::space(int)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:73:32: error: 'TCCR2A' was not declared in this scope
#define TIMER_DISABLE_PWM (TCCR2A &= ~(_BV(COM2B1)))
^
/home/ec2-user/arduino-testlib/cli-data
Result: FAIL
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:11:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned int* IRRecv::irBuffer;
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:12:21: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static int* IRRecv::irBufferLength;
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:13:20: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static int IRRecv::maxIrBufferLength;
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:15:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned long IRRecv::currentMicros = 0;
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:16:30: error: 'static' may not be used when defining (as opposed to declaring) a static data member [-fpermissive]
static unsigned long IRRecv::previousMicros = 0;
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::enableIROut(int)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:74:33: error: 'TIMSK2' was not declared in this scope
#define TIMER_DISABLE_INTR (TIMSK2 = 0)
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:73:3: note: in expansion of macro 'TIMER_DISABLE_INTR'
TIMER_DISABLE_INTR; //Timer2 Overflow Interrupt
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:86: error: 'TCCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:12:0,
from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:99: error: 'WGM20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:99:25: note: in definition of macro '_BV'
#define _BV(b) (1UL << (b))
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:107: error: 'TCCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:12:0,
from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:120: error: 'WGM22' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:99:25: note: in definition of macro '_BV'
#define _BV(b) (1UL << (b))
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:133: error: 'CS20' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:99:25: note: in definition of macro '_BV'
#define _BV(b) (1UL << (b))
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:140: error: 'OCR2A' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:75:156: error: 'OCR2B' was not declared in this scope
#define TIMER_CONFIG_KHZ(val) ({ const uint8_t pwmval = SYSCLOCK / 2000 / (val); TCCR2A = _BV(WGM20); TCCR2B = _BV(WGM22) | _BV(CS20); OCR2A = pwmval; OCR2B = pwmval / 3; })
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:83:3: note: in expansion of macro 'TIMER_CONFIG_KHZ'
TIMER_CONFIG_KHZ(freqKhz);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::mark(int)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:72:31: error: 'TCCR2A' was not declared in this scope
#define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1))
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:89:3: note: in expansion of macro 'TIMER_ENABLE_PWM'
TIMER_ENABLE_PWM; // Enable pin 3 PWM output
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:12:0,
from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:72:45: error: 'COM2B1' was not declared in this scope
#define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1))
^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:99:25: note: in definition of macro '_BV'
#define _BV(b) (1UL << (b))
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:89:3: note: in expansion of macro 'TIMER_ENABLE_PWM'
TIMER_ENABLE_PWM; // Enable pin 3 PWM output
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControl.cpp: In member function 'void IRSend::space(int)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/IRRemoteControl/IRRemoteControlInt.h:73:32: error: 'TCCR2A' was not declared in this scope
#define TIMER_DISABLE_PWM (TCCR2A &= ~(_BV(COM2B1)))
^
/home/ec2-user/arduino-testlib/cli-data