ShiftRegister-PWM-Library - compatibility matrix

This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.

ShiftRegister-PWM-Library

Version: 1.0
More details

Compatibility matrix

Board Claims compatibility Inclusion
sine
CustomPins
CustomTimerInterrupt
Potentiometer
arduino:avr:uno
1.8.4
Yes PASS PASS PASS PASS PASS
arduino:mbed_nano:nanorp2040connect
2.7.2
No ⚠️ PASS FAIL FAIL FAIL FAIL
arduino:megaavr:nona4809
1.8.7
No ⚠️ PASS FAIL FAIL FAIL FAIL
arduino:samd:mkrwifi1010
1.8.12
No ⚠️ PASS FAIL FAIL FAIL FAIL
esp32:esp32:d1_mini32
1.0.6
No ⚠️ PASS FAIL FAIL FAIL FAIL

Compilation logs

arduino:avr:uno @ 1.8.4

Inclusion

Result: PASS

Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

examples/CustomPins

Result: PASS

Sketch uses 3388 bytes (10%) of program storage space. Maximum is 32256 bytes.
Global variables use 21 bytes (1%) of dynamic memory, leaving 2027 bytes for local variables. Maximum is 2048 bytes.

examples/CustomTimerInterrupt

Result: PASS

Sketch uses 3458 bytes (10%) of program storage space. Maximum is 32256 bytes.
Global variables use 25 bytes (1%) of dynamic memory, leaving 2023 bytes for local variables. Maximum is 2048 bytes.

examples/Potentiometer

Result: PASS

Sketch uses 3292 bytes (10%) of program storage space. Maximum is 32256 bytes.
Global variables use 27 bytes (1%) of dynamic memory, leaving 2021 bytes for local variables. Maximum is 2048 bytes.

examples/sine

Result: PASS

Sketch uses 3452 bytes (10%) of program storage space. Maximum is 32256 bytes.
Global variables use 27 bytes (1%) of dynamic memory, leaving 2021 bytes for local variables. Maximum is 2048 bytes.

arduino:mbed_nano:nanorp2040connect @ 2.7.2

Inclusion

Result: PASS

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
Sketch uses 78756 bytes (0%) of program storage space. Maximum is 16777216 bytes.
Global variables use 43444 bytes (16%) of dynamic memory, leaving 226892 bytes for local variables. Maximum is 270336 bytes.

examples/CustomPins

Result: FAIL

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::update()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:10:37: error: 'PORTB' was not declared in this scope
 #define ShiftRegisterPWM_LATCH_PORT PORTB
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:48: note: in expansion of macro 'ShiftRegisterPWM_LATCH_PORT'
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:12:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::interrupt(ShiftRegisterPWM::UpdateFrequency) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:152:5: error: 'cli' was not declared in this scope
     cli(); // disable interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0; // reset counter value
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: note: suggested alternative: 'SCNd16'
     TCNT1  = 0; // reset counter value
     ^~~~~
     SCNd16
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:161:9: error: 'OCR1A' was not declared in this scope
         OCR1A = 2499; // compare match register
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: error: 'CS10' was not declared in this scope
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: note: suggested alternative: 'B110'
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
                         B110
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: error: 'CS11' was not declared in this scope
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: note: suggested alternative: 'B111'
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
                         B111
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:187:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12); // turn on CTC mode
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: note: suggested alternative: 'TIMER'
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
     TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:190:5: error: 'sei' was not declared in this scope
     sei(); // allow interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:190:5: note: suggested alternative: 'set'
     sei(); // allow interrupts
     ^~~
     set
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:12:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::shiftOut(uint8_t) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:43:39: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_setDataPin() ShiftRegisterPWM_DATA_PORT |= ShiftRegisterPWM_DATA_MASK;
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:30: note: in expansion of macro 'ShiftRegisterPWM_setDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:44:41: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_clearDataPin() ShiftRegisterPWM_DATA_PORT &= ~ShiftRegisterPWM_DATA_MASK;
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:70: note: in expansion of macro 'ShiftRegisterPWM_clearDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:30:39: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_CLOCK_PORT PORTD
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:48: note: in expansion of macro 'ShiftRegisterPWM_CLOCK_PORT'
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:211:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:12:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:256:6: error: expected constructor, destructor, or type conversion before '(' token
   ISR(TIMER1_COMPA_vect) { // function which will be called when an interrupt occurs at timer 1
      ^

examples/CustomTimerInterrupt

Result: FAIL

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::update()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:37:39: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_LATCH_PORT PORTD
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:48: note: in expansion of macro 'ShiftRegisterPWM_LATCH_PORT'
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::interrupt(ShiftRegisterPWM::UpdateFrequency) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:152:5: error: 'cli' was not declared in this scope
     cli(); // disable interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0; // reset counter value
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: note: suggested alternative: 'SCNd16'
     TCNT1  = 0; // reset counter value
     ^~~~~
     SCNd16
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:161:9: error: 'OCR1A' was not declared in this scope
         OCR1A = 2499; // compare match register
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: error: 'CS10' was not declared in this scope
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: note: suggested alternative: 'B110'
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
                         B110
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: error: 'CS11' was not declared in this scope
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: note: suggested alternative: 'B111'
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
                         B111
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:187:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12); // turn on CTC mode
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: note: suggested alternative: 'TIMER'
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
     TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:190:5: error: 'sei' was not declared in this scope
     sei(); // allow interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:190:5: note: suggested alternative: 'set'
     sei(); // allow interrupts
     ^~~
     set
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::shiftOut(uint8_t) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:43:39: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_setDataPin() ShiftRegisterPWM_DATA_PORT |= ShiftRegisterPWM_DATA_MASK;
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:30: note: in expansion of macro 'ShiftRegisterPWM_setDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:44:41: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_clearDataPin() ShiftRegisterPWM_DATA_PORT &= ~ShiftRegisterPWM_DATA_MASK;
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:70: note: in expansion of macro 'ShiftRegisterPWM_clearDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:30:39: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_CLOCK_PORT PORTD
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:48: note: in expansion of macro 'ShiftRegisterPWM_CLOCK_PORT'
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:211:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:44:5: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER2_COMPA_vect) {
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:53:5: error: expected constructor, destructor, or type conversion before '(' token
 ISR(TIMER1_COMPA_vect) {
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:23:3: error: 'cli' was not declared in this scope
   cli(); // disable interrupts
   ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:26:3: error: 'TCCR2A' was not declared in this scope
   TCCR2A = 0; // set TCCR2A register to 0
   ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:27:3: error: 'TCCR2B' was not declare

examples/Potentiometer

Result: FAIL

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/Potentiometer/Potentiometer.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::update()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:37:39: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_LATCH_PORT PORTD
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:48: note: in expansion of macro 'ShiftRegisterPWM_LATCH_PORT'
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/Potentiometer/Potentiometer.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::interrupt(ShiftRegisterPWM::UpdateFrequency) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:152:5: error: 'cli' was not declared in this scope
     cli(); // disable interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0; // reset counter value
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: note: suggested alternative: 'SCNd16'
     TCNT1  = 0; // reset counter value
     ^~~~~
     SCNd16
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:161:9: error: 'OCR1A' was not declared in this scope
         OCR1A = 2499; // compare match register
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: error: 'CS10' was not declared in this scope
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: note: suggested alternative: 'B110'
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
                         B110
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: error: 'CS11' was not declared in this scope
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: note: suggested alternative: 'B111'
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
                         B111
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:187:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12); // turn on CTC mode
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: note: suggested alternative: 'TIMER'
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
     TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:190:5: error: 'sei' was not declared in this scope
     sei(); // allow interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:190:5: note: suggested alternative: 'set'
     sei(); // allow interrupts
     ^~~
     set
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/Potentiometer/Potentiometer.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::shiftOut(uint8_t) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:43:39: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_setDataPin() ShiftRegisterPWM_DATA_PORT |= ShiftRegisterPWM_DATA_MASK;
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:30: note: in expansion of macro 'ShiftRegisterPWM_setDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:44:41: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_clearDataPin() ShiftRegisterPWM_DATA_PORT &= ~ShiftRegisterPWM_DATA_MASK;
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:70: note: in expansion of macro 'ShiftRegisterPWM_clearDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:30:39: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_CLOCK_PORT PORTD
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:48: note: in expansion of macro 'ShiftRegisterPWM_CLOCK_PORT'
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:211:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/Potentiometer/Potentiometer.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:256:6: error: expected constructor, destructor, or type conversion before '(' token
   ISR(TIMER1_COMPA_vect) { // function which will be called when an interrupt occurs at timer 1
      ^

examples/sine

Result: FAIL

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::update()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:37:39: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_LATCH_PORT PORTD
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:48: note: in expansion of macro 'ShiftRegisterPWM_LATCH_PORT'
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::interrupt(ShiftRegisterPWM::UpdateFrequency) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:152:5: error: 'cli' was not declared in this scope
     cli(); // disable interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0; // reset counter value
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: note: suggested alternative: 'SCNd16'
     TCNT1  = 0; // reset counter value
     ^~~~~
     SCNd16
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:161:9: error: 'OCR1A' was not declared in this scope
         OCR1A = 2499; // compare match register
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: error: 'CS10' was not declared in this scope
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: note: suggested alternative: 'B110'
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
                         B110
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: error: 'CS11' was not declared in this scope
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: note: suggested alternative: 'B111'
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
                         B111
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:187:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12); // turn on CTC mode
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: note: suggested alternative: 'TIMER'
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
     TIMER
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:190:5: error: 'sei' was not declared in this scope
     sei(); // allow interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:190:5: note: suggested alternative: 'set'
     sei(); // allow interrupts
     ^~~
     set
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::shiftOut(uint8_t) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:43:39: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_setDataPin() ShiftRegisterPWM_DATA_PORT |= ShiftRegisterPWM_DATA_MASK;
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:30: note: in expansion of macro 'ShiftRegisterPWM_setDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:44:41: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_clearDataPin() ShiftRegisterPWM_DATA_PORT &= ~ShiftRegisterPWM_DATA_MASK;
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:70: note: in expansion of macro 'ShiftRegisterPWM_clearDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:30:39: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_CLOCK_PORT PORTD
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:48: note: in expansion of macro 'ShiftRegisterPWM_CLOCK_PORT'
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:211:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:256:6: error: expected constructor, destructor, or type conversion before '(' token
   ISR(TIMER1_COMPA_vect) { // function which will be called when an interrupt occurs at timer 1
      ^

arduino:megaavr:nona4809 @ 1.8.7

Inclusion

Result: PASS

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
Sketch uses 802 bytes (1%) of program storage space. Maximum is 49152 bytes.
Global variables use 22 bytes (0%) of dynamic memory, leaving 6122 bytes for local variables. Maximum is 6144 bytes.

examples/CustomPins

Result: FAIL

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:12:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::update()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:76: error: no match for 'operator^=' (operand types are 'PORTBClass' and 'int')
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:136: error: no match for 'operator^=' (operand types are 'PORTBClass' and 'int')
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::interrupt(ShiftRegisterPWM::UpdateFrequency) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: note: suggested alternative: 'TCB1'
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: note: suggested alternative: 'TCB1'
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0; // reset counter value
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: note: suggested alternative: 'TCB1'
     TCNT1  = 0; // reset counter value
     ^~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:161:9: error: 'OCR1A' was not declared in this scope
         OCR1A = 2499; // compare match register
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: error: 'CS10' was not declared in this scope
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: note: suggested alternative: 'B110'
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
                         B110
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: error: 'CS11' was not declared in this scope
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: note: suggested alternative: 'B111'
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
                         B111
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:187:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12); // turn on CTC mode
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: note: suggested alternative: 'TIMERB1'
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
     TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
                     ^~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:12:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::shiftOut(uint8_t) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:211:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:12:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:136: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                                                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:211:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:12:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:215:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:12:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:136: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                                                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:215:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:12:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:219:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:12:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:136: error: no match for 'operat

examples/CustomTimerInterrupt

Result: FAIL

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::update()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:136: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                                                                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::interrupt(ShiftRegisterPWM::UpdateFrequency) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: note: suggested alternative: 'TCB1'
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: note: suggested alternative: 'TCB1'
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0; // reset counter value
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: note: suggested alternative: 'TCB1'
     TCNT1  = 0; // reset counter value
     ^~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:161:9: error: 'OCR1A' was not declared in this scope
         OCR1A = 2499; // compare match register
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: error: 'CS10' was not declared in this scope
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: note: suggested alternative: 'B110'
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
                         B110
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: error: 'CS11' was not declared in this scope
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: note: suggested alternative: 'B111'
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
                         B111
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:187:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12); // turn on CTC mode
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: note: suggested alternative: 'TIMERB1'
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
     TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
                     ^~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::shiftOut(uint8_t) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:211:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:136: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                                                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:211:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:215:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:136: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                                                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:215:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:219:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftR

examples/Potentiometer

Result: FAIL

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/Potentiometer/Potentiometer.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::update()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:136: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                                                                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::interrupt(ShiftRegisterPWM::UpdateFrequency) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: note: suggested alternative: 'TCB1'
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: note: suggested alternative: 'TCB1'
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0; // reset counter value
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: note: suggested alternative: 'TCB1'
     TCNT1  = 0; // reset counter value
     ^~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:161:9: error: 'OCR1A' was not declared in this scope
         OCR1A = 2499; // compare match register
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: error: 'CS10' was not declared in this scope
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: note: suggested alternative: 'B110'
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
                         B110
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: error: 'CS11' was not declared in this scope
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: note: suggested alternative: 'B111'
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
                         B111
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:187:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12); // turn on CTC mode
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: note: suggested alternative: 'TIMERB1'
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
     TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
                     ^~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/Potentiometer/Potentiometer.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::shiftOut(uint8_t) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:211:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/Potentiometer/Potentiometer.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:136: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                                                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:211:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/Potentiometer/Potentiometer.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:215:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/Potentiometer/Potentiometer.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:136: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                                                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:215:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/Potentiometer/Potentiometer.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:219:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduin

examples/sine

Result: FAIL

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::update()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:136: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                                                                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::interrupt(ShiftRegisterPWM::UpdateFrequency) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: note: suggested alternative: 'TCB1'
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: note: suggested alternative: 'TCB1'
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0; // reset counter value
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: note: suggested alternative: 'TCB1'
     TCNT1  = 0; // reset counter value
     ^~~~~
     TCB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:161:9: error: 'OCR1A' was not declared in this scope
         OCR1A = 2499; // compare match register
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: error: 'CS10' was not declared in this scope
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: note: suggested alternative: 'B110'
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
                         B110
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: error: 'CS11' was not declared in this scope
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: note: suggested alternative: 'B111'
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
                         B111
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:187:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12); // turn on CTC mode
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: note: suggested alternative: 'TIMERB1'
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
     TIMERB1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
                     ^~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::shiftOut(uint8_t) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:211:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:136: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                                                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:211:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:215:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:136: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                                                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:215:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:45:76: error: no match for 'operator^=' (operand types are 'PORTDClass' and 'int')
 #define ShiftRegisterPWM_toggleClockPinTwice() ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK; ShiftRegisterPWM_CLOCK_PORT ^= ShiftRegisterPWM_CLOCK_MASK
                                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:219:5: note: in expansion of macro 'ShiftRegisterPWM_toggleClockPinTwice'
     ShiftRegisterPWM_toggleClockPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/ar

arduino:samd:mkrwifi1010 @ 1.8.12

Inclusion

Result: PASS

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
Sketch uses 12156 bytes (4%) of program storage space. Maximum is 262144 bytes.
Global variables use 2996 bytes (9%) of dynamic memory, leaving 29772 bytes for local variables. Maximum is 32768 bytes.

examples/CustomPins

Result: FAIL

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:12:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::update()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:76: error: no match for 'operator^=' (operand types are '_EPortType' and 'int')
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:76: note: candidate: operator^=(_EPortType&, int) <built-in>
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:76: note:   conversion of argument 1 would be ill-formed:
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:11:37: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define ShiftRegisterPWM_LATCH_MASK 1
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:79: note: in expansion of macro 'ShiftRegisterPWM_LATCH_MASK'
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:12:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:136: error: no match for 'operator^=' (operand types are '_EPortType' and 'int')
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:136: note: candidate: operator^=(_EPortType&, int) <built-in>
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:136: note:   conversion of argument 1 would be ill-formed:
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:11:37: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
 #define ShiftRegisterPWM_LATCH_MASK 1
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:139: note: in expansion of macro 'ShiftRegisterPWM_LATCH_MASK'
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:12:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::interrupt(ShiftRegisterPWM::UpdateFrequency) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:152:5: error: 'cli' was not declared in this scope
     cli(); // disable interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:152:5: note: suggested alternative: 'Gclk'
     cli(); // disable interrupts
     ^~~
     Gclk
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: note: suggested alternative: 'TCC1'
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: note: suggested alternative: 'TCC1'
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0; // reset counter value
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: note: suggested alternative: 'TCC1'
     TCNT1  = 0; // reset counter value
     ^~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:161:9: error: 'OCR1A' was not declared in this scope
         OCR1A = 2499; // compare match register
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: error: 'CS10' was not declared in this scope
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: note: suggested alternative: 'SS1'
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
                         SS1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: error: 'CS11' was not declared in this scope
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: note: suggested alternative: 'SS1'
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
                         SS1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:187:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12); // turn on CTC mode
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: note: suggested alternative: 'MISO1'
     T

examples/CustomTimerInterrupt

Result: FAIL

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::update()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:37:39: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_LATCH_PORT PORTD
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:48: note: in expansion of macro 'ShiftRegisterPWM_LATCH_PORT'
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:37:39: note: suggested alternative: 'PORTC'
   #define ShiftRegisterPWM_LATCH_PORT PORTD
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:48: note: in expansion of macro 'ShiftRegisterPWM_LATCH_PORT'
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::interrupt(ShiftRegisterPWM::UpdateFrequency) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:152:5: error: 'cli' was not declared in this scope
     cli(); // disable interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:152:5: note: suggested alternative: 'Gclk'
     cli(); // disable interrupts
     ^~~
     Gclk
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: note: suggested alternative: 'TCC1'
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: note: suggested alternative: 'TCC1'
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0; // reset counter value
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: note: suggested alternative: 'TCC1'
     TCNT1  = 0; // reset counter value
     ^~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:161:9: error: 'OCR1A' was not declared in this scope
         OCR1A = 2499; // compare match register
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: error: 'CS10' was not declared in this scope
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: note: suggested alternative: 'SS1'
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
                         SS1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: error: 'CS11' was not declared in this scope
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: note: suggested alternative: 'SS1'
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
                         SS1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:187:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12); // turn on CTC mode
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: note: suggested alternative: 'MISO1'
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
     MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:190:5: error: 'sei' was not declared in this scope
     sei(); // allow interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:190:5: note: suggested alternative: 'set'
     sei(); // allow interrupts
     ^~~
     set
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::shiftOut(uint8_t) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:43:39: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_setDataPin() ShiftRegisterPWM_DATA_PORT |= ShiftRegisterPWM_DATA_MASK;
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:30: note: in expansion of macro 'ShiftRegisterPWM_setDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: note: suggested alternative: 'PORTC'
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:43:39: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_setDataPin() ShiftRegisterPWM_DATA_PORT |= ShiftRegisterPWM_DATA_MASK;
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:30: note: in expansion of macro 'ShiftRegisterPWM_setDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:44:41: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_clearDataPin() ShiftRegisterPWM_DATA_PORT &= ~ShiftRegisterPWM_DATA_MASK;
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:70: note: in expansion of macro 'ShiftRegisterPWM_clearDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                                                                

examples/Potentiometer

Result: FAIL

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/Potentiometer/Potentiometer.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::update()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:37:39: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_LATCH_PORT PORTD
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:48: note: in expansion of macro 'ShiftRegisterPWM_LATCH_PORT'
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:37:39: note: suggested alternative: 'PORTC'
   #define ShiftRegisterPWM_LATCH_PORT PORTD
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:48: note: in expansion of macro 'ShiftRegisterPWM_LATCH_PORT'
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/Potentiometer/Potentiometer.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::interrupt(ShiftRegisterPWM::UpdateFrequency) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:152:5: error: 'cli' was not declared in this scope
     cli(); // disable interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:152:5: note: suggested alternative: 'Gclk'
     cli(); // disable interrupts
     ^~~
     Gclk
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: note: suggested alternative: 'TCC1'
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: note: suggested alternative: 'TCC1'
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0; // reset counter value
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: note: suggested alternative: 'TCC1'
     TCNT1  = 0; // reset counter value
     ^~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:161:9: error: 'OCR1A' was not declared in this scope
         OCR1A = 2499; // compare match register
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: error: 'CS10' was not declared in this scope
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: note: suggested alternative: 'SS1'
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
                         SS1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: error: 'CS11' was not declared in this scope
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: note: suggested alternative: 'SS1'
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
                         SS1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:187:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12); // turn on CTC mode
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: note: suggested alternative: 'MISO1'
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
     MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:190:5: error: 'sei' was not declared in this scope
     sei(); // allow interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:190:5: note: suggested alternative: 'set'
     sei(); // allow interrupts
     ^~~
     set
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/Potentiometer/Potentiometer.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::shiftOut(uint8_t) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:43:39: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_setDataPin() ShiftRegisterPWM_DATA_PORT |= ShiftRegisterPWM_DATA_MASK;
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:30: note: in expansion of macro 'ShiftRegisterPWM_setDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: note: suggested alternative: 'PORTC'
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:43:39: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_setDataPin() ShiftRegisterPWM_DATA_PORT |= ShiftRegisterPWM_DATA_MASK;
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:30: note: in expansion of macro 'ShiftRegisterPWM_setDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:44:41: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_clearDataPin() ShiftRegisterPWM_DATA_PORT &= ~ShiftRegisterPWM_DATA_MASK;
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:70: note: in expansion of macro 'ShiftRegisterPWM_clearDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/

examples/sine

Result: FAIL

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::update()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:37:39: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_LATCH_PORT PORTD
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:48: note: in expansion of macro 'ShiftRegisterPWM_LATCH_PORT'
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:37:39: note: suggested alternative: 'PORTC'
   #define ShiftRegisterPWM_LATCH_PORT PORTD
                                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:46:48: note: in expansion of macro 'ShiftRegisterPWM_LATCH_PORT'
 #define ShiftRegisterPWM_toggleLatchPinTwice() ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK; ShiftRegisterPWM_LATCH_PORT ^= ShiftRegisterPWM_LATCH_MASK
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:126:5: note: in expansion of macro 'ShiftRegisterPWM_toggleLatchPinTwice'
     ShiftRegisterPWM_toggleLatchPinTwice();
     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::interrupt(ShiftRegisterPWM::UpdateFrequency) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:152:5: error: 'cli' was not declared in this scope
     cli(); // disable interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:152:5: note: suggested alternative: 'Gclk'
     cli(); // disable interrupts
     ^~~
     Gclk
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: error: 'TCCR1A' was not declared in this scope
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:155:5: note: suggested alternative: 'TCC1'
     TCCR1A = 0; // set TCCR1A register to 0
     ^~~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: error: 'TCCR1B' was not declared in this scope
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:156:5: note: suggested alternative: 'TCC1'
     TCCR1B = 0; // set TCCR1B register to 0
     ^~~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: error: 'TCNT1' was not declared in this scope
     TCNT1  = 0; // reset counter value
     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:157:5: note: suggested alternative: 'TCC1'
     TCNT1  = 0; // reset counter value
     ^~~~~
     TCC1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:161:9: error: 'OCR1A' was not declared in this scope
         OCR1A = 2499; // compare match register
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: error: 'CS10' was not declared in this scope
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:162:25: note: suggested alternative: 'SS1'
         TCCR1B |= (1 << CS10); // prescaler 1
                         ^~~~
                         SS1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: error: 'CS11' was not declared in this scope
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:172:25: note: suggested alternative: 'SS1'
         TCCR1B |= (1 << CS11); // prescaler 8
                         ^~~~
                         SS1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:187:21: error: 'WGM12' was not declared in this scope
     TCCR1B |= (1 << WGM12); // turn on CTC mode
                     ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: error: 'TIMSK1' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:5: note: suggested alternative: 'MISO1'
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
     ^~~~~~
     MISO1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:188:21: error: 'OCIE1A' was not declared in this scope
     TIMSK1 |= (1 << OCIE1A); // enable timer compare interrupt
                     ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:190:5: error: 'sei' was not declared in this scope
     sei(); // allow interrupts
     ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:190:5: note: suggested alternative: 'set'
     sei(); // allow interrupts
     ^~~
     set
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h: In member function 'void ShiftRegisterPWM::shiftOut(uint8_t) const':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:43:39: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_setDataPin() ShiftRegisterPWM_DATA_PORT |= ShiftRegisterPWM_DATA_MASK;
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:30: note: in expansion of macro 'ShiftRegisterPWM_setDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: note: suggested alternative: 'PORTC'
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:43:39: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_setDataPin() ShiftRegisterPWM_DATA_PORT |= ShiftRegisterPWM_DATA_MASK;
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:30: note: in expansion of macro 'ShiftRegisterPWM_setDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:23:38: error: 'PORTD' was not declared in this scope
   #define ShiftRegisterPWM_DATA_PORT PORTD
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:44:41: note: in expansion of macro 'ShiftRegisterPWM_DATA_PORT'
 #define ShiftRegisterPWM_clearDataPin() ShiftRegisterPWM_DATA_PORT &= ~ShiftRegisterPWM_DATA_MASK;
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:210:70: note: in expansion of macro 'ShiftRegisterPWM_clearDataPin'
     if (data & 0B00000001) { ShiftRegisterPWM_setDataPin(); } else { ShiftRegisterPWM_clearDataPin(); }
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/Sh

esp32:esp32:d1_mini32 @ 1.0.6

Inclusion

Result: PASS

WARNING: library ShiftRegister-PWM-Library claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
Sketch uses 197736 bytes (15%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13084 bytes (3%) of dynamic memory, leaving 314596 bytes for local variables. Maximum is 327680 bytes.

examples/CustomPins

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomPins/CustomPins.ino:12:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:14:27: fatal error: avr/interrupt.h: No such file or directory
compilation terminated.

examples/CustomTimerInterrupt

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/CustomTimerInterrupt/CustomTimerInterrupt.ino:9:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:14:27: fatal error: avr/interrupt.h: No such file or directory
compilation terminated.

examples/Potentiometer

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/Potentiometer/Potentiometer.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:14:27: fatal error: avr/interrupt.h: No such file or directory
compilation terminated.

examples/sine

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/examples/sine/sine.ino:8:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ShiftRegister-PWM-Library/src/ShiftRegisterPWM.h:14:27: fatal error: avr/interrupt.h: No such file or directory
compilation terminated.