attiny85FasterPin - compatibility matrix

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

attiny85FasterPin

Version: 0.2.3
More details

Compatibility matrix

Board Claims compatibility Inclusion
pwm_test
blink
blink_io
arduino:avr:uno
1.8.4
Yes ⚠️ FAIL PASS PASS PASS
arduino:mbed_nano:nanorp2040connect
2.7.2
No FAIL FAIL FAIL FAIL
arduino:megaavr:nona4809
1.8.7
No FAIL FAIL FAIL FAIL
arduino:samd:mkrwifi1010
1.8.12
No FAIL FAIL FAIL FAIL
esp32:esp32:d1_mini32
1.0.6
No FAIL FAIL FAIL FAIL

Compilation logs

arduino:avr:uno @ 1.8.4

Inclusion

Result: FAIL

/private/tmp/arduino-testlib2119175926/test/test.ino:1:10: fatal error: attiny85FasterPin.h: No such file or directory
 #include <attiny85FasterPin.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

examples/blink

Result: PASS

Sketch uses 968 bytes (3%) of program storage space. Maximum is 32256 bytes.
Global variables use 13 bytes (0%) of dynamic memory, leaving 2035 bytes for local variables. Maximum is 2048 bytes.

examples/blink_io

Result: PASS

Sketch uses 752 bytes (2%) 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/pwm_test

Result: PASS

Sketch uses 562 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.

arduino:mbed_nano:nanorp2040connect @ 2.7.2

Inclusion

Result: FAIL

WARNING: library attiny85FasterPin 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/attiny85FasterPin/src/Attiny85IO.cpp:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::pinMode()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:31:24: error: no matching function for call to 'pinMode(unsigned char, unsigned char)'
     ::pinMode(pin, mode);
                        ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/pinmode_arduino.h:30:0,
            /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:11:13: note: suggested alternative: 'digitalPinToPinName'
     timer = digitalPinToTimer(pin);
             ^~~~~~~~~~~~~~~~~
             digitalPinToPinName
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:12:20: error: 'digitalPinToBitMask' was not declared in this scope
     bit = (uint8_t)digitalPinToBitMask(pin);
                    ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:12:20: note: suggested alternative: 'digitalPinToPinName'
     bit = (uint8_t)digitalPinToBitMask(pin);
                    ^~~~~~~~~~~~~~~~~~~
                    digitalPinToPinName
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:18:18: error: 'NOT_ON_TIMER' was not declared in this scope
     if (timer != NOT_ON_TIMER)
                  ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:18:18: note: suggested alternative: 'NOT_A_PIN'
     if (timer != NOT_ON_TIMER)
                  ^~~~~~~~~~~~
                  NOT_A_PIN
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp: In member function 'void Attiny85FasterPin::digitalWrite(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:26:27: error: 'SREG' was not declared in this scope
         uint8_t oldSREG = SREG;
                           ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:26:27: note: suggested alternative: 'SING'
         uint8_t oldSREG = SREG;
                           ^~~~
                           SING
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:27:9: error: 'cli' was not declared in this scope
         cli();
         ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:28:9: error: 'PORTB' was not declared in this scope
         PORTB &= ~bit;
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:33:27: error: 'SREG' was not declared in this scope
         uint8_t oldSREG = SREG;
                           ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:33:27: note: suggested alternative: 'SING'
         uint8_t oldSREG = SREG;
                           ^~~~
                           SING
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:34:9: error: 'cli' was not declared in this scope
         cli();
         ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:35:9: error: 'PORTB' was not declared in this scope
         PORTB |= bit;
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp: In member function 'bool Attiny85FasterPin::digitalRead()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:44:18: error: 'NOT_ON_TIMER' was not declared in this scope
     if (timer != NOT_ON_TIMER)
                  ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:44:18: note: suggested alternative: 'NOT_A_PIN'
     if (timer != NOT_ON_TIMER)
                  ^~~~~~~~~~~~
                  NOT_A_PIN
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:47:9: error: 'PINB' was not declared in this scope
     if (PINB & bit)
         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:47:9: note: suggested alternative: 'SING'
     if (PINB & bit)
         ^~~~
         SING

examples/blink

Result: FAIL

WARNING: library attiny85FasterPin 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/attiny85FasterPin/src/Attiny85FasterPin.cpp: In constructor 'Attiny85FasterPin::Attiny85FasterPin(uint8_t, uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:9:15: error: 'analogInputToDigitalPin' was not declared in this scope
         pin = analogInputToDigitalPin((pin & 127));
               ^~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85Fastered from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/pinmode_arduino.h:30:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:26,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:1,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/Common.h:95:6: note: candidate: void pinMode(pin_size_t, ArduinoPinMode) <near match>
 void pinMode(pin_size_t pinNumber, PinMode pinMode);
      ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/Common.h:95:6: note:   conversion of argument 2 would be ill-forme/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:18:18: error: 'NOT_ON_TIMER' was not declared in this scope
     if (timer != NOT_ON_TIMER)
                  ^~~~~~~~~~~~
attiny85FasterPin/src/Attiny85IO.h:1,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp: In member function 'void Attiny85FasterPin::digitalWrite(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:26:27: error: 'SREG' was not declared in this scope
         uint8_t oldSREG = SREG;
                           ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:26:27: note: suggested alternative: 'SING'
         uint8_t oldSREG = SREG;
                           ^~~~
                           SING
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:27:9: error: 'cli' was not declared in this scope
         cli();
         ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:28:9: error: 'PORTB' was not declared in this scope
         PORTB &= ~bit;
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:33:27: error: 'SREG' was not declared in this scope
         uint8_t oldSREG = SREG;
                           ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:33:27: note: suggested alternative: 'SING'
         uint8_t oldSREG = SREG;
                           ^~~~
                           SING
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:34:9: error: 'cli' was not declared in this scope
         cli();
         ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:35:9: error: 'PORTB' was not declared in this scope
         PORTB |= bit;
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp: In member function 'bool Attiny85FasterPin::digitalRead()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:44:18: error: 'NOT_ON_TIMER' was not declared in this scope
     if (timer != NOT_ON_TIMER)
                  ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:44:18: note: suggested alternative: 'NOT_A_PIN'
     if (timer != NOT_ON_TIMER)
                  ^~~~~~~~~~~~
                  NOT_A_PIN
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:47:9: error: 'PINB' was not declared in this scope
     if (PINB & bit)
         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:47:9: note: suggested alternative: 'SING'
     if (PINB & bit)
         ^~~~
         SING

examples/blink_io

Result: FAIL

WARNING: library attiny85FasterPin 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/attiny85FasterPin/examples/blink_io/blink_io.ino:2:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::pinMode()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:31:24: error: no matching function for call to 'pinMode(unsigned char, unsigned char)'
     ::pinMode(pin, mode);
                        ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/pinmode_arduino.h:30:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:26,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/blink_io/blink_io.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/Common.h:95:6: note: candidate: void pinMode(pin_size_t, ArduinoPinMode) <near match>
 void pinMode(pin_size_t pinNumber, PinMode pinMode);
      ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/Common.h:95:6: note:   conversion of argument 2 would be ill-formed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:26:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/blink_io/blink_io.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/pinmode_arduino.h:72:6: note: candidate: void pinMode(pin_size_t, PinMode) <near match>
 void pinMode(pin_size_t pinNumber, PinMode pinMode);
      ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/pinmode_arduino.h:72:6: note:   conversion of argument 2 would be ill-formed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/pins_arduino.h:127:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:76,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/blink_io/blink_io.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/nina_pins.h:58:26: note: candidate: void pinMode(NinaPin, PinMode) <near match>
 void      NINA_ATTRIBUTE pinMode     (NinaPin pin, PinMode mode);
                          ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/nina_pins.h:58:26: note:   conversion of argument 2 would be ill-formed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:115:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/blink_io/blink_io.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/overloads.h:23:6: note: candidate: void pinMode(PinName, PinMode) <near match>
 void pinMode(PinName pinNumber, PinMode pinMode);
      ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/overloads.h:23:6: note:   conversion of argument 2 would be ill-formed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/blink_io/blink_io.ino:2:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::shiftIn()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:52:39: error: there are no arguments to 'digitalPinToBitMask' that depend on a template parameter, so a declaration of 'digitalPinToBitMask' must be available [-fpermissive]
     const uint8_t _dataPin = (uint8_t)digitalPinToBitMask(dataPin);
                                       ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:52:39: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:53:40: error: there are no arguments to 'digitalPinToBitMask' that depend on a template parameter, so a declaration of 'digitalPinToBitMask' must be available [-fpermissive]
     const uint8_t _clockPin = (uint8_t)digitalPinToBitMask(clockPin);
                                        ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:57:9: error: 'PORTB' was not declared in this scope
         PORTB |= _clockPin;
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << i;
                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: note: suggested alternative: 'SING'
             value |= (!!(PINB & _dataPin)) << i;
                          ^~~~
                          SING
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: note: suggested alternative: 'SING'
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^~~~
                          SING
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::shiftOut(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:72:39: error: there are no arguments to 'digitalPinToBitMask' that depend on a template parameter, so a declaration of 'digitalPinToBitMask' must be available [-fpermissive]
     const uint8_t _dataPin = (uint8_t)digitalPinToBitMask(dataPin);
                                       ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:73:40: error: there are no arguments to 'digitalPinToBitMask' that depend on a template parameter, so a declaration of 'digitalPinToBitMask' must be available [-fpermissive]
     const uint8_t _clockPin = (uint8_t)digitalPinToBitMask(clockPin);
                                        ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:80:17: error: 'PORTB' was not declared in this scope
                 PORTB &= ~(_clockPin);
                 ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:82:17: error: 'PORTB' was not declared in this scope
                 PORTB |= _clockPin;
                 ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:87:17: error: 'PORTB' was not declared in this scope
                 PORTB &= ~(_clockPin);
                 ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:89:17: error: 'PORTB' was not declared in this scope
                 PORTB |= _clockPin;
                 ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:92:9: error: 'PORTB' was not declared in this scope
         PORTB |= _dataPin;
         ^~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/pinmode_arduino.h:30:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:26,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/blink_io/blink_io.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::digitalWrite()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:100:14: error: 'PORTB' was not declared in this scope
     bitWrite(PORTB, PIN, VALUE);
              ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/Common.h:66:30: note: in definition of macro 'bitSet'
 #define bitSet(value, bit) ((value) |= (1UL << (bit)))
                              ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:100:5: note: in expansion of macro 'bitWrite'
     bitWrite(PORTB, PIN, VALUE);
     ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::digitalRead()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:106:20: error: 'PORTB' was not declared in this scope
     return bitRead(PORTB, PIN);
                    ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino

examples/pwm_test

Result: FAIL

WARNING: library attiny85FasterPin 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/attiny85FasterPin/examples/pwm_test/pwm_test.ino:2:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::pinMode()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:31:24: error: no matching function for call to 'pinMode(unsigned char, unsigned char)'
     ::pinMode(pin, mode);
                        ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/pinmode_arduino.h:30:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:26,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/pwm_test/pwm_test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/Common.h:95:6: note: candidate: void pinMode(pin_size_t, ArduinoPinMode) <near match>
 void pinMode(pin_size_t pinNumber, PinMode pinMode);
      ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/Common.h:95:6: note:   conversion of argument 2 would be ill-formed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:26:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/pwm_test/pwm_test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/pinmode_arduino.h:72:6: note: candidate: void pinMode(pin_size_t, PinMode) <near match>
 void pinMode(pin_size_t pinNumber, PinMode pinMode);
      ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/pinmode_arduino.h:72:6: note:   conversion of argument 2 would be ill-formed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/pins_arduino.h:127:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:76,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/pwm_test/pwm_test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/nina_pins.h:58:26: note: candidate: void pinMode(NinaPin, PinMode) <near match>
 void      NINA_ATTRIBUTE pinMode     (NinaPin pin, PinMode mode);
                          ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/nina_pins.h:58:26: note:   conversion of argument 2 would be ill-formed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:115:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/pwm_test/pwm_test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/overloads.h:23:6: note: candidate: void pinMode(PinName, PinMode) <near match>
 void pinMode(PinName pinNumber, PinMode pinMode);
      ^~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/overloads.h:23:6: note:   conversion of argument 2 would be ill-formed:
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/pwm_test/pwm_test.ino:2:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::shiftIn()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:52:39: error: there are no arguments to 'digitalPinToBitMask' that depend on a template parameter, so a declaration of 'digitalPinToBitMask' must be available [-fpermissive]
     const uint8_t _dataPin = (uint8_t)digitalPinToBitMask(dataPin);
                                       ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:52:39: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:53:40: error: there are no arguments to 'digitalPinToBitMask' that depend on a template parameter, so a declaration of 'digitalPinToBitMask' must be available [-fpermissive]
     const uint8_t _clockPin = (uint8_t)digitalPinToBitMask(clockPin);
                                        ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:57:9: error: 'PORTB' was not declared in this scope
         PORTB |= _clockPin;
         ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << i;
                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: note: suggested alternative: 'SING'
             value |= (!!(PINB & _dataPin)) << i;
                          ^~~~
                          SING
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: note: suggested alternative: 'SING'
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^~~~
                          SING
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::shiftOut(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:72:39: error: there are no arguments to 'digitalPinToBitMask' that depend on a template parameter, so a declaration of 'digitalPinToBitMask' must be available [-fpermissive]
     const uint8_t _dataPin = (uint8_t)digitalPinToBitMask(dataPin);
                                       ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:73:40: error: there are no arguments to 'digitalPinToBitMask' that depend on a template parameter, so a declaration of 'digitalPinToBitMask' must be available [-fpermissive]
     const uint8_t _clockPin = (uint8_t)digitalPinToBitMask(clockPin);
                                        ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:80:17: error: 'PORTB' was not declared in this scope
                 PORTB &= ~(_clockPin);
                 ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:82:17: error: 'PORTB' was not declared in this scope
                 PORTB |= _clockPin;
                 ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:87:17: error: 'PORTB' was not declared in this scope
                 PORTB &= ~(_clockPin);
                 ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:89:17: error: 'PORTB' was not declared in this scope
                 PORTB |= _clockPin;
                 ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:92:9: error: 'PORTB' was not declared in this scope
         PORTB |= _dataPin;
         ^~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/variants/NANO_RP2040_CONNECT/pinmode_arduino.h:30:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/Arduino.h:26,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/pwm_test/pwm_test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::digitalWrite()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:100:14: error: 'PORTB' was not declared in this scope
     bitWrite(PORTB, PIN, VALUE);
              ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/Common.h:66:30: note: in definition of macro 'bitSet'
 #define bitSet(value, bit) ((value) |= (1UL << (bit)))
                              ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:100:5: note: in expansion of macro 'bitWrite'
     bitWrite(PORTB, PIN, VALUE);
     ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::digitalRead()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:106:20: error: 'PORTB' was not declared in this scope
     return bitRead(PORTB, PIN);
                    ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino

arduino:megaavr:nona4809 @ 1.8.7

Inclusion

Result: FAIL

WARNING: library attiny85FasterPin claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp: In constructor 'Attiny85FasterPin::Attiny85FasterPin(uint8_t, uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:9:15: error: 'analogInputToDigitalPin' was not declared in this scope
         pin = analogInputToDigitalPin((pin & 127));
               ^~~~~~~~~~~~~~~~~~~~~~~
������������������������������������������������������/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: note: suggested alternative: 'PIN0'
             value |= (!!(PINB & _dataPin)) << i;
                          ^~~~
                          PIN0
/home/ec2-user/arduino-testlib/cli-datadir/user/l/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:47:9: note: suggested alternative: 'PIN0'
     if (PINB & bit)
         ^~~~
         PIN0

examples/blink

Result: FAIL

WARNING: library attiny85FasterPin claims to run on avr architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp: In constructor 'Attiny85FasterPin::Attiny85FasterPin(uint8_t, uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:9:15: error: 'analogInputToDigitalPin' was not declared in this scope
         pin = analogInputToDigitalPin((pin & 127));
               ^~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/librar/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: note: suggested alternative: 'PIN0'
             value |= (!!(PINB & _dataPin)) << i;
                          ^~~~
                          PIN0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: note: suggested alternative: 'PIN0'
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^~~~
                          PIN0
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/Interrupts.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/ArduinoAPI.h:29,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/Arduino.h:23,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:1,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.cpp:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::digitalRead()':
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/Common.h:64:39: error: no match for 'operator>>' (operand types are 'PORTBClass' and 'unsigned char')
 #define bitRead(value, bit) (((value) >> (bit)) & 0x01)
                               ~~~~~~~~^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:106:12: note: in expansion of macro 'bitRead'
     return bitRead(PORTB, PIN);
            ^~~~~~~

examples/blink_io

Result: FAIL

WARNING: library attiny85FasterPin 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/attiny85FasterPin/examples/blink_io/blink_io.ino:2:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::shiftIn()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << i;
                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: note: suggested alternative: 'PIN0'
             value |= (!!(PINB & _dataPin)) << i;
                          ^~~~
                          PIN0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: note: suggested alternative: 'PIN0'
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^~~~
                          PIN0
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/Interrupts.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/ArduinoAPI.h:29,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/Arduino.h:23,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/blink_io/blink_io.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::digitalRead()':
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/Common.h:64:39: error: no match for 'operator>>' (operand types are 'PORTBClass' and 'unsigned char')
 #define bitRead(value, bit) (((value) >> (bit)) & 0x01)
                               ~~~~~~~~^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:106:12: note: in expansion of macro 'bitRead'
     return bitRead(PORTB, PIN);
            ^~~~~~~

examples/pwm_test

Result: FAIL

WARNING: library attiny85FasterPin 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/attiny85FasterPin/examples/pwm_test/pwm_test.ino:2:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::shiftIn()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << i;
                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: note: suggested alternative: 'PIN0'
             value |= (!!(PINB & _dataPin)) << i;
                          ^~~~
                          PIN0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: note: suggested alternative: 'PIN0'
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^~~~
                          PIN0
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/Interrupts.h:8:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/ArduinoAPI.h:29,
                 from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/Arduino.h:23,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/pwm_test/pwm_test.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::digitalRead()':
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/Common.h:64:39: error: no match for 'operator>>' (operand types are 'PORTBClass' and 'unsigned char')
 #define bitRead(value, bit) (((value) >> (bit)) & 0x01)
                               ~~~~~~~~^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:106:12: note: in expansion of macro 'bitRead'
     return bitRead(PORTB, PIN);
            ^~~~~~~

arduino:samd:mkrwifi1010 @ 1.8.12

Inclusion

Result: FAIL

/private/tmp/arduino-testlib2119175926/test/test.ino:1:10: fatal error: attiny85FasterPin.h: No such file or directory
 #include <attiny85FasterPin.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

examples/blink

Result: FAIL

WARNING: library attiny85FasterPin 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 /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.cpp:1:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::shiftIn()':
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:57:15: error: no match for 'operator|=' (operand types are '_EPortType' and 'const uint8_t {aka const unsigned char}')
         PORTB |= _clockPin;
         ~~~~~~^~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:57:15: note: candidate:/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:11:13: note: suggested alternative: 'digitalPinToPort'
     timer = digitalPinToTimer(pin);
             ^~~~~~~~~~~~~~~~~
             digitalPinToPort
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:51:0,
                 from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.h:1,
                 from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:1:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/variants/mkrwifi1010/variant.h:49:35: error: invalid conversion from 'PortGroup*' to 'uint8_t {aka unsigned char}' [-fpermissive]
 #define digitalPinToPort(P)      (&(PORT->Group[g_APinDescription[P].ulPort]))
                                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:13:12: note: in expansion of macro 'digitalPinToPort'
     port = digitalPinToPort(pin);
            ^~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:15:17: error: 'NOT_A_PIN' was not declared in this scope
     if (port == NOT_A_PIN)
                 ^~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:15:17: note: suggested alternative: 'NOT_A_PORT'
     if (port == NOT_A_PIN)
                 ^~~~~~~~~
                 NOT_A_PORT
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp: In member function 'void Attiny85FasterPin::digitalWrite(uint8_t)':
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:26:27: error: 'SREG' was not declared in this scope
         uint8_t oldSREG = SREG;
                           ^~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:26:27: note: suggested alternative: 'SING'
         uint8_t oldSREG = SREG;
                           ^~~~
                           SING
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:27:9: error: 'cli' was not declared in this scope
         cli();
         ^~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:27:9: note: suggested alternative: 'Gclk'
         cli();
         ^~~
         Gclk
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:28:15: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
         PORTB &= ~bit;
         ~~~~~~^~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:28:15: note: candidate: operator&=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:28:15: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:28:19: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
         PORTB &= ~bit;
                   ^~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:33:27: error: 'SREG' was not declared in this scope
         uint8_t oldSREG = SREG;
                           ^~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:33:27: note: suggested alternative: 'SING'
         uint8_t oldSREG = SREG;
                           ^~~~
                           SING
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:34:9: error: 'cli' was not declared in this scope
         cli();
         ^~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:34:9: note: suggested alternative: 'Gclk'
         cli();
         ^~~
         Gclk
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:35:15: error: no match for 'operator|=' (operand types are '_EPortType' and 'uint8_t {aka unsigned char}')
         PORTB |= bit;
         ~~~~~~^~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:35:15: note: candidate: operator|=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:35:15: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:35:18: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
         PORTB |= bit;
                  ^~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp: In member function 'bool Attiny85FasterPin::digitalRead()':
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:42:17: error: 'NOT_A_PIN' was not declared in this scope
     if (port == NOT_A_PIN)
                 ^~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:42:17: note: suggested alternative: 'NOT_A_PORT'
     if (port == NOT_A_PIN)
                 ^~~~~~~~~
                 NOT_A_PORT
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:47:9: error: 'PINB' was not declared in this scope
     if (PINB & bit)
         ^~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:47:9: note: suggested alternative: 'SING'
     if (PINB & bit)
         ^~~~
         SING

examples/blink_io

Result: FAIL

WARNING: library attiny85FasterPin 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 /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/blink_io/blink_io.ino:2:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::shiftIn()':
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:57:15: error: no match for 'operator|=' (operand types are '_EPortType' and 'const uint8_t {aka const unsigned char}')
         PORTB |= _clockPin;
         ~~~~~~^~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:57:15: note: candidate: operator|=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:57:15: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << i;
                          ^~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: note: suggested alternative: 'SING'
             value |= (!!(PINB & _dataPin)) << i;
                          ^~~~
                          SING
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: note: suggested alternative: 'SING'
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^~~~
                          SING
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:62:15: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
         PORTB &= ~(_clockPin);
         ~~~~~~^~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:62:15: note: candidate: operator&=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:62:15: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::shiftOut(uint8_t)':
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:80:23: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
                 PORTB &= ~(_clockPin);
                 ~~~~~~^~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:80:23: note: candidate: operator&=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:80:23: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:82:23: error: no match for 'operator|=' (operand types are '_EPortType' and 'const uint8_t {aka const unsigned char}')
                 PORTB |= _clockPin;
                 ~~~~~~^~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:82:23: note: candidate: operator|=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:82:23: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:87:23: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
                 PORTB &= ~(_clockPin);
                 ~~~~~~^~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:87:23: note: candidate: operator&=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:87:23: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:89:23: error: no match for 'operator|=' (operand types are '_EPortType' and 'const uint8_t {aka const unsigned char}')
                 PORTB |= _clockPin;
                 ~~~~~~^~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:89:23: note: candidate: operator|=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:89:23: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:92:15: error: no match for 'operator|=' (operand types are '_EPortType' and 'const uint8_t {aka const unsigned char}')
         PORTB |= _dataPin;
         ~~~~~~^~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:92:15: note: candidate: operator|=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:92:15: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:93:15: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
         PORTB &= ~(_dataPin);
         ~~~~~~^~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:93:15: note: candidate: operator&=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:93:15: note:   conversion of argument 1 would be ill-formed:
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/Interrupts.h:8:0,
                 from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/ArduinoAPI.h:29,
                 from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:23,
                 from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/blink_io/blink_io.ino:1:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::digitalWrite()':
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/Common.h:65:37: error: no match for 'operator|=' (operand types are '_EPortType' and 'long unsigned int')
 #define bitSet(value, bit) ((value) |= (1UL << (bit)))
                             ~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/Common.h:68:52: note: in expansion of macro 'bitSet'
 #define bitWrite(value, bit, bitvalue) (bitvalue ? bitSet(value, bit) : bitClear(value, bit))
                                                    ^~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:100:5: note: in expansion of macro 'bitWrite'
     bitWrite(PORTB, PIN, VALUE);
     ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/Common.h:65:37: note: candidate: operator|=(_EPortType&, long unsigned int) <built-in>
 #define bitSet(value, bit) ((value) |= (1UL << (bit)))
                             ~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/Common.h:68:52: note: in expansion of macro 'bitSet'
 #define bitWrite(value, bit, bitvalue) (bitvalue ? bitSet(value, bit) : bitClear(value, bit))
                                                    ^~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:100:5: note: in expansion of macro 'bitWrite'
     bitWrite(PORTB, PIN, VALUE);
     ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/Common.h:65:37: note:   conversion of argument 1 would be ill-formed:
 #define bitSet(value, bit) ((value) |= (1UL << (bit)))
                             ~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/Common.h:68:52: note: in expansion of macro 'bitSet'
 #define bitWrite(value, bit, bitvalue) (bitvalue ? bitSet(value, bit) : bitClear(value, bit))
                                              

examples/pwm_test

Result: FAIL

WARNING: library attiny85FasterPin 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 /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/pwm_test/pwm_test.ino:2:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::shiftIn()':
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:57:15: error: no match for 'operator|=' (operand types are '_EPortType' and 'const uint8_t {aka const unsigned char}')
         PORTB |= _clockPin;
         ~~~~~~^~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:57:15: note: candidate: operator|=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:57:15: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << i;
                          ^~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: note: suggested alternative: 'SING'
             value |= (!!(PINB & _dataPin)) << i;
                          ^~~~
                          SING
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: note: suggested alternative: 'SING'
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^~~~
                          SING
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:62:15: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
         PORTB &= ~(_clockPin);
         ~~~~~~^~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:62:15: note: candidate: operator&=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:62:15: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::shiftOut(uint8_t)':
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:80:23: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
                 PORTB &= ~(_clockPin);
                 ~~~~~~^~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:80:23: note: candidate: operator&=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:80:23: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:82:23: error: no match for 'operator|=' (operand types are '_EPortType' and 'const uint8_t {aka const unsigned char}')
                 PORTB |= _clockPin;
                 ~~~~~~^~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:82:23: note: candidate: operator|=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:82:23: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:87:23: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
                 PORTB &= ~(_clockPin);
                 ~~~~~~^~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:87:23: note: candidate: operator&=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:87:23: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:89:23: error: no match for 'operator|=' (operand types are '_EPortType' and 'const uint8_t {aka const unsigned char}')
                 PORTB |= _clockPin;
                 ~~~~~~^~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:89:23: note: candidate: operator|=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:89:23: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:92:15: error: no match for 'operator|=' (operand types are '_EPortType' and 'const uint8_t {aka const unsigned char}')
         PORTB |= _dataPin;
         ~~~~~~^~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:92:15: note: candidate: operator|=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:92:15: note:   conversion of argument 1 would be ill-formed:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:93:15: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
         PORTB &= ~(_dataPin);
         ~~~~~~^~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:93:15: note: candidate: operator&=(_EPortType&, int) <built-in>
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:93:15: note:   conversion of argument 1 would be ill-formed:
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/Interrupts.h:8:0,
                 from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/ArduinoAPI.h:29,
                 from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/Arduino.h:23,
                 from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/pwm_test/pwm_test.ino:1:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::digitalWrite()':
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/Common.h:65:37: error: no match for 'operator|=' (operand types are '_EPortType' and 'long unsigned int')
 #define bitSet(value, bit) ((value) |= (1UL << (bit)))
                             ~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/Common.h:68:52: note: in expansion of macro 'bitSet'
 #define bitWrite(value, bit, bitvalue) (bitvalue ? bitSet(value, bit) : bitClear(value, bit))
                                                    ^~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:100:5: note: in expansion of macro 'bitWrite'
     bitWrite(PORTB, PIN, VALUE);
     ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/Common.h:65:37: note: candidate: operator|=(_EPortType&, long unsigned int) <built-in>
 #define bitSet(value, bit) ((value) |= (1UL << (bit)))
                             ~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/Common.h:68:52: note: in expansion of macro 'bitSet'
 #define bitWrite(value, bit, bitvalue) (bitvalue ? bitSet(value, bit) : bitClear(value, bit))
                                                    ^~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:100:5: note: in expansion of macro 'bitWrite'
     bitWrite(PORTB, PIN, VALUE);
     ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/Common.h:65:37: note:   conversion of argument 1 would be ill-formed:
 #define bitSet(value, bit) ((value) |= (1UL << (bit)))
                             ~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/data/packages/arduino/hardware/samd/1.8.12/cores/arduino/api/Common.h:68:52: note: in expansion of macro 'bitSet'
 #define bitWrite(value, bit, bitvalue) (bitvalue ? bitSet(value, bit) : bitClear(value, bit))
                                              

esp32:esp32:d1_mini32 @ 1.0.6

Inclusion

Result: FAIL

WARNING: library attiny85FasterPin claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.cpp:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::analogWrite()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:37:5: error: '::analogWrite' has not been declared
     ::analogWrite(pin, value);
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t At/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:33:27: error: 'SREG' was not declared in this scope
         uint8_t oldSREG = SREG;
                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:35:9: error: 'PORTB' was not declared in this scope
         PORTB |= bit;
         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp: In member function 'bool Attiny85FasterPin::digitalRead()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp:47:9: error: 'PINB' was not declared in this scope
     if (PINB & bit)
         ^

examples/blink

Result: FAIL

WARNING: library attiny85FasterPin claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.cpp:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::analogWrite()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:37:5: error: '::analogWrite' has not been declared
     ::analogWrite(pin, value);
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::shiftIn()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:57:9: error: 'PORTB' was not declared in this scope
         PORTB |= _clockPin;
         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << i;
  /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85FasterPin.cpp: In member function 'bool Attiny85FasterPin::digitalRead()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85Fast/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:

examples/blink_io

Result: FAIL

WARNING: library attiny85FasterPin claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/blink_io/blink_io.ino:2:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::analogWrite()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:37:5: error: '::analogWrite' has not been declared
     ::analogWrite(pin, value);
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::shiftIn()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:57:9: error: 'PORTB' was not declared in this scope
         PORTB |= _clockPin;
         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << i;
                          ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::shiftOut(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:80:17: error: 'PORTB' was not declared in this scope
                 PORTB &= ~(_clockPin);
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:82:17: error: 'PORTB' was not declared in this scope
                 PORTB |= _clockPin;
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:87:17: error: 'PORTB' was not declared in this scope
                 PORTB &= ~(_clockPin);
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:89:17: error: 'PORTB' was not declared in this scope
                 PORTB |= _clockPin;
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:92:9: error: 'PORTB' was not declared in this scope
         PORTB |= _dataPin;
         ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/blink_io/blink_io.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::digitalWrite()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:100:14: error: 'PORTB' was not declared in this scope
     bitWrite(PORTB, PIN, VALUE);
              ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:89:30: note: in definition of macro 'bitSet'
 #define bitSet(value, bit) ((value) |= (1UL << (bit)))
                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:100:5: note: in expansion of macro 'bitWrite'
     bitWrite(PORTB, PIN, VALUE);
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::digitalRead()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:106:20: error: 'PORTB' was not declared in this scope
     return bitRead(PORTB, PIN);
                    ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:88:32: note: in definition of macro 'bitRead'
 #define bitRead(value, bit) (((value) >> (bit)) & 0x01)
                                ^

examples/pwm_test

Result: FAIL

WARNING: library attiny85FasterPin claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/pwm_test/pwm_test.ino:2:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::analogWrite()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:37:5: error: '::analogWrite' has not been declared
     ::analogWrite(pin, value);
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::shiftIn()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:57:9: error: 'PORTB' was not declared in this scope
         PORTB |= _clockPin;
         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:59:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << i;
                          ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:61:26: error: 'PINB' was not declared in this scope
             value |= (!!(PINB & _dataPin)) << (7 - i);
                          ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::shiftOut(uint8_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:80:17: error: 'PORTB' was not declared in this scope
                 PORTB &= ~(_clockPin);
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:82:17: error: 'PORTB' was not declared in this scope
                 PORTB |= _clockPin;
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:87:17: error: 'PORTB' was not declared in this scope
                 PORTB &= ~(_clockPin);
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:89:17: error: 'PORTB' was not declared in this scope
                 PORTB |= _clockPin;
                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:92:9: error: 'PORTB' was not declared in this scope
         PORTB |= _dataPin;
         ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/examples/pwm_test/pwm_test.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'void Attiny85IO::digitalWrite()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:100:14: error: 'PORTB' was not declared in this scope
     bitWrite(PORTB, PIN, VALUE);
              ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:89:30: note: in definition of macro 'bitSet'
 #define bitSet(value, bit) ((value) |= (1UL << (bit)))
                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:100:5: note: in expansion of macro 'bitWrite'
     bitWrite(PORTB, PIN, VALUE);
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h: In member function 'uint8_t Attiny85IO::digitalRead()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/attiny85FasterPin/src/Attiny85IO.h:106:20: error: 'PORTB' was not declared in this scope
     return bitRead(PORTB, PIN);
                    ^
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/esp32/hardware/esp32/1.0.6/cores/esp32/Arduino.h:88:32: note: in definition of macro 'bitRead'
 #define bitRead(value, bit) (((value) >> (bit)) & 0x01)
                                ^