SoftPWM - compatibility matrix

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

SoftPWM

Version: 1.0.1
More details

Compatibility matrix

Board Claims compatibility Inclusion
SoftPWM_Arduino_LED_Blink
SoftPWM_LEDHead_Bounce
SoftPWM_LEDHead_Bounce2
SoftPWM_LEDHead_Random_Blink
SoftPWM_Wiring_HeartBeat
arduino:avr:uno
1.8.4
Yes PASS PASS PASS PASS PASS PASS
arduino:mbed_nano:nanorp2040connect
2.7.2
No FAIL FAIL FAIL FAIL FAIL FAIL
arduino:megaavr:nona4809
1.8.7
No FAIL FAIL FAIL FAIL FAIL FAIL
arduino:samd:mkrwifi1010
1.8.12
No FAIL FAIL FAIL FAIL FAIL FAIL
esp32:esp32:d1_mini32
1.0.6
No FAIL FAIL FAIL FAIL FAIL FAIL

Compilation logs

arduino:avr:uno @ 1.8.4

Inclusion

Result: PASS

Sketch uses 722 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 191 bytes (9%) of dynamic memory, leaving 1857 bytes for local variables. Maximum is 2048 bytes.

examples/SoftPWM_Arduino_LED_Blink

Result: PASS

Sketch uses 1482 bytes (4%) of program storage space. Maximum is 32256 bytes.
Global variables use 192 bytes (9%) of dynamic memory, leaving 1856 bytes for local variables. Maximum is 2048 bytes.

examples/SoftPWM_LEDHead_Bounce

Result: PASS

Sketch uses 1586 bytes (4%) of program storage space. Maximum is 32256 bytes.
Global variables use 200 bytes (9%) of dynamic memory, leaving 1848 bytes for local variables. Maximum is 2048 bytes.

examples/SoftPWM_LEDHead_Bounce2

Result: PASS

Sketch uses 1640 bytes (5%) of program storage space. Maximum is 32256 bytes.
Global variables use 200 bytes (9%) of dynamic memory, leaving 1848 bytes for local variables. Maximum is 2048 bytes.

examples/SoftPWM_LEDHead_Random_Blink

Result: PASS

Sketch uses 2098 bytes (6%) of program storage space. Maximum is 32256 bytes.
Global variables use 204 bytes (9%) of dynamic memory, leaving 1844 bytes for local variables. Maximum is 2048 bytes.

examples/SoftPWM_Wiring_HeartBeat

Result: PASS

Sketch uses 1492 bytes (4%) of program storage space. Maximum is 32256 bytes.
Global variables use 192 bytes (9%) of dynamic memory, leaving 1856 bytes for local variables. Maximum is 2048 bytes.

arduino:mbed_nano:nanorp2040connect @ 2.7.2

Inclusion

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:10: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
          ^~~~~~~~~~
compilation terminated.

examples/SoftPWM_Arduino_LED_Blink

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:10: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
          ^~~~~~~~~~
compilation terminated.

examples/SoftPWM_LEDHead_Bounce

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:10: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
          ^~~~~~~~~~
compilation terminated.

examples/SoftPWM_LEDHead_Bounce2

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:10: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
          ^~~~~~~~~~
compilation terminated.

examples/SoftPWM_LEDHead_Random_Blink

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:10: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
          ^~~~~~~~~~
compilation terminated.

examples/SoftPWM_Wiring_HeartBeat

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:10: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
          ^~~~~~~~~~
compilation terminated.

arduino:megaavr:nona4809 @ 1.8.7

Inclusion

Result: FAIL

WARNING: library SoftPWM claims to run on avr, arm 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/SoftPWM/SoftPWM.cpp:44:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp: In function 'void SoftPWMBegin(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:3: error: 'TIFR2' was not declared in this scope
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:3: note: suggested alternative: 'TIMERB2'
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:17: error: 'TOV2' was not declared in this scope
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:17: note: suggested alternative: 'TCB2'
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:3: error: 'TCCR2B' was not declared in this scope
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:3: note: suggested alternative: 'TCB2'
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:18: error: 'CS21' was not declared in this scope
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:3: error: 'TCCR2A' was not declared in this scope
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:3: note: suggested alternative: 'TCB2'
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:18: error: 'WGM21' was not declared in this scope
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:42:3: error: 'OCR2A' was not declared in this scope
   OCR2A = (ocr);          /* We want to have at least 30Hz or else it gets choppy */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:3: error: 'TIMSK2' was not declared in this scope
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:3: note: suggested alternative: 'TIMERB2'
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:18: error: 'OCIE2A' was not declared in this scope
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp: In function 'void SoftPWMSet(int8_t, uint8_t, uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:37:37: error: 'TCNT2' was not declared in this scope
 #define SOFTPWM_TIMER_SET(val)     (TCNT2 = (val))
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:220:5: note: in expansion of macro 'SOFTPWM_TIMER_SET'
     SOFTPWM_TIMER_SET(0);
     ^~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:37:37: note: suggested alternative: 'TCB2'
 #define SOFTPWM_TIMER_SET(val)     (TCNT2 = (val))
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:220:5: note: in expansion of macro 'SOFTPWM_TIMER_SET'
     SOFTPWM_TIMER_SET(0);
     ^~~~~~~~~~~~~~~~~

examples/SoftPWM_Arduino_LED_Blink

Result: FAIL

WARNING: library SoftPWM claims to run on avr, arm 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/SoftPWM/SoftPWM.cpp:44:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp: In function 'void SoftPWMBegin(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:3: error: 'TIFR2' was not declared in this scope
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:3: note: suggested alternative: 'TIMERB2'
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:17: error: 'TOV2' was not declared in this scope
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:17: note: suggested alternative: 'TCB2'
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:3: error: 'TCCR2B' was not declared in this scope
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:3: note: suggested alternative: 'TCB2'
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:18: error: 'CS21' was not declared in this scope
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:3: error: 'TCCR2A' was not declared in this scope
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:3: note: suggested alternative: 'TCB2'
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:18: error: 'WGM21' was not declared in this scope
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:42:3: error: 'OCR2A' was not declared in this scope
   OCR2A = (ocr);          /* We want to have at least 30Hz or else it gets choppy */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:3: error: 'TIMSK2' was not declared in this scope
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:3: note: suggested alternative: 'TIMERB2'
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:18: error: 'OCIE2A' was not declared in this scope
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp: In function 'void SoftPWMSet(int8_t, uint8_t, uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:37:37: error: 'TCNT2' was not declared in this scope
 #define SOFTPWM_TIMER_SET(val)     (TCNT2 = (val))
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:220:5: note: in expansion of macro 'SOFTPWM_TIMER_SET'
     SOFTPWM_TIMER_SET(0);
     ^~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:37:37: note: suggested alternative: 'TCB2'
 #define SOFTPWM_TIMER_SET(val)     (TCNT2 = (val))
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:220:5: note: in expansion of macro 'SOFTPWM_TIMER_SET'
     SOFTPWM_TIMER_SET(0);
     ^~~~~~~~~~~~~~~~~

examples/SoftPWM_LEDHead_Bounce

Result: FAIL

WARNING: library SoftPWM claims to run on avr, arm 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/SoftPWM/SoftPWM.cpp:44:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp: In function 'void SoftPWMBegin(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:3: error: 'TIFR2' was not declared in this scope
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:3: note: suggested alternative: 'TIMERB2'
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:17: error: 'TOV2' was not declared in this scope
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:17: note: suggested alternative: 'TCB2'
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:3: error: 'TCCR2B' was not declared in this scope
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:3: note: suggested alternative: 'TCB2'
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:18: error: 'CS21' was not declared in this scope
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:3: error: 'TCCR2A' was not declared in this scope
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:3: note: suggested alternative: 'TCB2'
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:18: error: 'WGM21' was not declared in this scope
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:42:3: error: 'OCR2A' was not declared in this scope
   OCR2A = (ocr);          /* We want to have at least 30Hz or else it gets choppy */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:3: error: 'TIMSK2' was not declared in this scope
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:3: note: suggested alternative: 'TIMERB2'
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:18: error: 'OCIE2A' was not declared in this scope
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp: In function 'void SoftPWMSet(int8_t, uint8_t, uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:37:37: error: 'TCNT2' was not declared in this scope
 #define SOFTPWM_TIMER_SET(val)     (TCNT2 = (val))
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:220:5: note: in expansion of macro 'SOFTPWM_TIMER_SET'
     SOFTPWM_TIMER_SET(0);
     ^~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:37:37: note: suggested alternative: 'TCB2'
 #define SOFTPWM_TIMER_SET(val)     (TCNT2 = (val))
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:220:5: note: in expansion of macro 'SOFTPWM_TIMER_SET'
     SOFTPWM_TIMER_SET(0);
     ^~~~~~~~~~~~~~~~~

examples/SoftPWM_LEDHead_Bounce2

Result: FAIL

WARNING: library SoftPWM claims to run on avr, arm 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/SoftPWM/SoftPWM.cpp:44:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp: In function 'void SoftPWMBegin(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:3: error: 'TIFR2' was not declared in this scope
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:3: note: suggested alternative: 'TIMERB2'
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:17: error: 'TOV2' was not declared in this scope
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:17: note: suggested alternative: 'TCB2'
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:3: error: 'TCCR2B' was not declared in this scope
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:3: note: suggested alternative: 'TCB2'
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:18: error: 'CS21' was not declared in this scope
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:3: error: 'TCCR2A' was not declared in this scope
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:3: note: suggested alternative: 'TCB2'
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:18: error: 'WGM21' was not declared in this scope
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:42:3: error: 'OCR2A' was not declared in this scope
   OCR2A = (ocr);          /* We want to have at least 30Hz or else it gets choppy */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:3: error: 'TIMSK2' was not declared in this scope
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:3: note: suggested alternative: 'TIMERB2'
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:18: error: 'OCIE2A' was not declared in this scope
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp: In function 'void SoftPWMSet(int8_t, uint8_t, uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:37:37: error: 'TCNT2' was not declared in this scope
 #define SOFTPWM_TIMER_SET(val)     (TCNT2 = (val))
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:220:5: note: in expansion of macro 'SOFTPWM_TIMER_SET'
     SOFTPWM_TIMER_SET(0);
     ^~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:37:37: note: suggested alternative: 'TCB2'
 #define SOFTPWM_TIMER_SET(val)     (TCNT2 = (val))
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:220:5: note: in expansion of macro 'SOFTPWM_TIMER_SET'
     SOFTPWM_TIMER_SET(0);
     ^~~~~~~~~~~~~~~~~

examples/SoftPWM_LEDHead_Random_Blink

Result: FAIL

WARNING: library SoftPWM claims to run on avr, arm 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/SoftPWM/SoftPWM.cpp:44:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp: In function 'void SoftPWMBegin(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:3: error: 'TIFR2' was not declared in this scope
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:3: note: suggested alternative: 'TIMERB2'
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:17: error: 'TOV2' was not declared in this scope
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:17: note: suggested alternative: 'TCB2'
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:3: error: 'TCCR2B' was not declared in this scope
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:3: note: suggested alternative: 'TCB2'
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:18: error: 'CS21' was not declared in this scope
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:3: error: 'TCCR2A' was not declared in this scope
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:3: note: suggested alternative: 'TCB2'
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:18: error: 'WGM21' was not declared in this scope
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:42:3: error: 'OCR2A' was not declared in this scope
   OCR2A = (ocr);          /* We want to have at least 30Hz or else it gets choppy */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:3: error: 'TIMSK2' was not declared in this scope
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:3: note: suggested alternative: 'TIMERB2'
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:18: error: 'OCIE2A' was not declared in this scope
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp: In function 'void SoftPWMSet(int8_t, uint8_t, uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:37:37: error: 'TCNT2' was not declared in this scope
 #define SOFTPWM_TIMER_SET(val)     (TCNT2 = (val))
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:220:5: note: in expansion of macro 'SOFTPWM_TIMER_SET'
     SOFTPWM_TIMER_SET(0);
     ^~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:37:37: note: suggested alternative: 'TCB2'
 #define SOFTPWM_TIMER_SET(val)     (TCNT2 = (val))
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:220:5: note: in expansion of macro 'SOFTPWM_TIMER_SET'
     SOFTPWM_TIMER_SET(0);
     ^~~~~~~~~~~~~~~~~

examples/SoftPWM_Wiring_HeartBeat

Result: FAIL

WARNING: library SoftPWM claims to run on avr, arm 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/SoftPWM/SoftPWM.cpp:44:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp: In function 'void SoftPWMBegin(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:3: error: 'TIFR2' was not declared in this scope
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:3: note: suggested alternative: 'TIMERB2'
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:17: error: 'TOV2' was not declared in this scope
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:39:17: note: suggested alternative: 'TCB2'
   TIFR2 = (1 << TOV2);    /* clear interrupt flag */ \
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:3: error: 'TCCR2B' was not declared in this scope
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:3: note: suggested alternative: 'TCB2'
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:40:18: error: 'CS21' was not declared in this scope
   TCCR2B = (1 << CS21);   /* start timer (ck/8 prescalar) */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:3: error: 'TCCR2A' was not declared in this scope
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:3: note: suggested alternative: 'TCB2'
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:41:18: error: 'WGM21' was not declared in this scope
   TCCR2A = (1 << WGM21);  /* CTC mode */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:42:3: error: 'OCR2A' was not declared in this scope
   OCR2A = (ocr);          /* We want to have at least 30Hz or else it gets choppy */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:3: error: 'TIMSK2' was not declared in this scope
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:3: note: suggested alternative: 'TIMERB2'
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:43:18: error: 'OCIE2A' was not declared in this scope
   TIMSK2 = (1 << OCIE2A); /* enable timer2 output compare match interrupt */ \
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:171:3: note: in expansion of macro 'SOFTPWM_TIMER_INIT'
   SOFTPWM_TIMER_INIT(SOFTPWM_OCR);
   ^~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp: In function 'void SoftPWMSet(int8_t, uint8_t, uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:37:37: error: 'TCNT2' was not declared in this scope
 #define SOFTPWM_TIMER_SET(val)     (TCNT2 = (val))
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:220:5: note: in expansion of macro 'SOFTPWM_TIMER_SET'
     SOFTPWM_TIMER_SET(0);
     ^~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM_timer.h:37:37: note: suggested alternative: 'TCB2'
 #define SOFTPWM_TIMER_SET(val)     (TCNT2 = (val))
                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:220:5: note: in expansion of macro 'SOFTPWM_TIMER_SET'
     SOFTPWM_TIMER_SET(0);
     ^~~~~~~~~~~~~~~~~

arduino:samd:mkrwifi1010 @ 1.8.12

Inclusion

Result: FAIL

/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:10: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
          ^~~~~~~~~~
compilation terminated.

examples/SoftPWM_Arduino_LED_Blink

Result: FAIL

/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:10: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
          ^~~~~~~~~~
compilation terminated.

examples/SoftPWM_LEDHead_Bounce

Result: FAIL

/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:10: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
          ^~~~~~~~~~
compilation terminated.

examples/SoftPWM_LEDHead_Bounce2

Result: FAIL

/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:10: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
          ^~~~~~~~~~
compilation terminated.

examples/SoftPWM_LEDHead_Random_Blink

Result: FAIL

/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:10: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
          ^~~~~~~~~~
compilation terminated.

examples/SoftPWM_Wiring_HeartBeat

Result: FAIL

/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:10: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
          ^~~~~~~~~~
compilation terminated.

esp32:esp32:d1_mini32 @ 1.0.6

Inclusion

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:20: fatal error: avr/io.h: No such file or directory
compilation terminated.

examples/SoftPWM_Arduino_LED_Blink

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:20: fatal error: avr/io.h: No such file or directory
compilation terminated.

examples/SoftPWM_LEDHead_Bounce

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:20: fatal error: avr/io.h: No such file or directory
compilation terminated.

examples/SoftPWM_LEDHead_Bounce2

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:20: fatal error: avr/io.h: No such file or directory
compilation terminated.

examples/SoftPWM_LEDHead_Random_Blink

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:20: fatal error: avr/io.h: No such file or directory
compilation terminated.

examples/SoftPWM_Wiring_HeartBeat

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoftPWM/SoftPWM.cpp:41:20: fatal error: avr/io.h: No such file or directory
compilation terminated.