USIWire - compatibility matrix

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

USIWire

Version: 0.2.0
More details

Compatibility matrix

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

Compilation logs

arduino:avr:uno @ 1.8.4

Inclusion

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c: In function 'USI_TWI_Master_Initialise':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:53:2: error: 'PORT_USI' undeclared (first use in this function); did you mean 'PORT_USI_CL'?
  PORT_USI |= (1 << PIN_USI_SDA); // Enable pullup on SDA, to set high as released state.
  ^~~~~~~~
  PORT_USI_CL
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:53:2: note: each undeclared identifier is reported only once for each function it appears in
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:53:20: error: 'PIN_USI_SDA' undeclared (first use in this function); did you mean 'PIN_USI_CL'?
  PORT_USI |= (1 << PIN_USI_SDA); // Enable pullup on SDA, to set high as released state.
                    ^~~~~~~~~~~
                    PIN_USI_CL
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:54:23: error: 'PIN_USI_SCL' undeclared (first use in this function); did you mean 'PIN_USI_CL'?
  PORT_USI_CL |= (1 << PIN_USI_SCL); // Enable pullup on SCL, to set high as released state.
                       ^~~~~~~~~~~
                       PIN_USI_CL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.h:80:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:33:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/common/usi_io.h:147:22: error: 'DDR_USI' undeclared (first use in this function); did you mean 'PORT_USI'?
 #  define DDR_USI_CL DDR_USI
                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:56:2: note: in expansion of macro 'DDR_USI_CL'
  DDR_USI_CL |= (1 << PIN_USI_SCL); // Enable SCL as output.
  ^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:59:2: error: 'USIDR' undeclared (first use in this function); did you mean 'SPDR'?
  USIDR = 0xFF;                                           // Preload dataregister with "released level" data.
  ^~~~~
  SPDR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:60:2: error: 'USICR' undeclared (first use in this function); did you mean 'USIDR'?
  USICR = (0 << USISIE) | (0 << USIOIE) |                 // Disable Interrupts.
  ^~~~~
  USIDR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:60:16: error: 'USISIE' undeclared (first use in this function); did you mean 'USICR'?
  USICR = (0 << USISIE) | (0 << USIOIE) |                 // Disable Interrupts.
                ^~~~~~
                USICR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:60:32: error: 'USIOIE' undeclared (first use in this function); did you mean 'USISIE'?
  USICR = (0 << USISIE) | (0 << USIOIE) |                 // Disable Interrupts.
                                ^~~~~~
                                USISIE
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:61:16: error: 'USIWM1' undeclared (first use in this function); did you mean 'USIOIE'?
          (1 << USIWM1) | (0 << USIWM0) |                 // Set USI in Two-wire mode.
                ^~~~~~
                USIOIE
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:61:32: error: 'USIWM0' undeclared (first use in this function); did you mean 'USIWM1'?
          (1 << USIWM1) | (0 << USIWM0) |                 // Set USI in Two-wire mode.
                                ^~~~~~
                                USIWM1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:62:16: error: 'USICS1' undeclared (first use in this function); did you mean 'USIWM1'?
          (1 << USICS1) | (0 << USICS0) | (1 << USICLK) | // Software stobe as counter clock source
                ^~~~~~
                USIWM1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:62:32: error: 'USICS0' undeclared (first use in this function); did you mean 'USICS1'?
          (1 << USICS1) | (0 << USICS0) | (1 << USICLK) | // Software stobe as counter clock source
                                ^~~~~~
                                USICS1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:62:48: error: 'USICLK' undeclared (first use in this function); did you mean 'USICS0'?
          (1 << USICS1) | (0 << USICS0) | (1 << USICLK) | // Software stobe as counter clock source
                                                ^~~~~~
                                                USICS0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:63:16: error: 'USITC' undeclared (first use in this function); did you mean 'USICR'?
          (0 << USITC);
                ^~~~~
                USICR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:64:2: error: 'USISR' undeclared (first use in this function); did you mean 'USICR'?
  USISR = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC) | // Clear flags,
  ^~~~~
  USICR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:64:16: error: 'USISIF' undeclared (first use in this function); did you mean 'USISIE'?
  USISR = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC) | // Clear flags,
                ^~~~~~
                USISIE
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:64:32: error: 'USIOIF' undeclared (first use in this function); did you mean 'USISIF'?
  USISR = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC) | // Clear flags,
                                ^~~~~~
                                USISIF
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:64:48: error: 'USIPF' undeclared (first use in this function); did you mean 'USIOIF'?
  USISR = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC) | // Clear flags,
                                                ^~~~~
                                                USIOIF
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:64:63: error: 'USIDC' undeclared (first use in this function); did you mean 'USITC'?
  USISR = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC) | // Clear flags,
                                                               ^~~~~
                                                               USITC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:65:18: error: 'USICNT0' undeclared (first use in this function); did you mean 'USICS0'?
          (0x0 << USICNT0);                                             // and reset counter.
                  ^~~~~~~
                  USICS0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c: In function 'USI_TWI_Start_Transceiver_With_Data_Stop':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:104:39: error: 'USISIF' undeclared (first use in this function); did you mean 'SPIF'?
  unsigned char tempUSISR_8bit = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC)
                                       ^~~~~~
                                       SPIF
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:104:55: error: 'USIOIF' undeclared (first use in this function); did you mean 'USISIF'?
  unsigned char tempUSISR_8bit = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC)
                                                       ^~~~~~
                                                       USISIF
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:104:71: error: 'USIPF' undeclared (first use in this function); did you mean 'USIOIF'?
  unsigned char tempUSISR_8bit = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC)
                                                                       ^~~~~
                                                                       USIOIF
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:104:86: error: 'USIDC' undeclared (first use in this function); did you mean 'USIPF'?
  unsigned char tempUSISR_8bit = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC)
                                                                                      ^~~~~
                                                                                      USIPF
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:106:41: error: 'USICNT0' undeclared (first use in this function); did you mean 'INT0'?
                                 (0x0 << USICNT0); // set USI to shift 8 bits i.e. count 16 clock edges.
                                         ^~~~~~~
                                         INT0
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.h:80:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:33:
/home/ec2-user/arduino-testlib/cli-datadir/user/librar

examples/TestMaster

Result: PASS

Sketch uses 10540 bytes (32%) of program storage space. Maximum is 32256 bytes.
Global variables use 959 bytes (46%) of dynamic memory, leaving 1089 bytes for local variables. Maximum is 2048 bytes.

examples/TestSlave

Result: PASS

Sketch uses 4188 bytes (12%) of program storage space. Maximum is 32256 bytes.
Global variables use 427 bytes (20%) of dynamic memory, leaving 1621 bytes for local variables. Maximum is 2048 bytes.

arduino:mbed_nano:nanorp2040connect @ 2.7.2

Inclusion

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Slave/USI_TWI_Slave.h:82:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USIWire.cpp:26:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/common/usi_io.h:23:10: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
          ^~~~~~~~~~
compilation terminated.

examples/TestMaster

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/examples/TestMaster/TestMaster.ino: In function 'void allTests()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/examples/TestMaster/TestMaster.ino:134:7: error: 'BUFFER_LENGTH' was not declared in this scope
   if (BUFFER_LENGTH > SLAVE_BUFFER_SIZE) {
       ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/examples/TestMaster/TestMaster.ino:134:7: note: suggested alternative: 'BLOCK_RESP_LENGTH'
   if (BUFFER_LENGTH > SLAVE_BUFFER_SIZE) {
       ^~~~~~~~~~~~~
       BLOCK_RESP_LENGTH

examples/TestSlave

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/examples/TestSlave/TestSlave.ino:27:10: fatal error: avr/sleep.h: No such file or directory
 #include <avr/sleep.h>
          ^~~~~~~~~~~~~
compilation terminated.

arduino:megaavr:nona4809 @ 1.8.7

Inclusion

Result: FAIL

WARNING: library USIWire 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/USIWire/src/USI_TWI_Slave/USI_TWI_Slave.h:82:0,
                /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:53:2: error: 'PORT_USI' undeclared (first use in this function); did you mean 'PORT_t'?
  PORT_USI |= (1 << PIN_USI_SDA); // Enable pullup on SDA, to set high as released state.
  ^~~~~~~~
  PORT_t
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:53:2: note: each undeclared identifier is reported only once for each function it appears in
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:53:20: error: 'PIN_USI_SDA' undeclared (first use in this function); did you mean 'PIN_USI_CL'?
  PORT_USI |= (1 << PIN_USI_SDA); // Enable pullup on SDA, to set high as released state.
                    ^~~~~~~~~~~
                    PIN_USI_CL
y once for each function it appears in
 #  define PORT_USI_CL PORT_USI
                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Slave/USI_TWI_Slave.c:71:2: note: in expansion of macro 'PORT_USI_CL'
  PORT_USI_CL |= (1 << PORT_USI_SCL);     // Set SCL high
  ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/uIn file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.h:80:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:33:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/common/usi_io.h:147:22: error: 'DDR_USI' undeclared (first use in this function); did you mean 'PORT_USI'?
 #  define DDR_USI_CL DDR_USI
                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:56:2: note: in expansion of macro 'DDR_USI_CL'
  DDR_USI_CL |= (1 << PIN_USI_SCL); // Enable SCL as output.
  ^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:59:2: error: 'USIDR' undeclared (first use in this function)
  USIDR = 0xFF;                                           // Preload dataregister with "released level" data.
  ^~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:60:2: error: 'USICR' undeclared (first use in this function); did you mean 'USIDR'?
  USICR = (0 << USISIE) | (0 << USIOIE) |                 // Disable Interrupts.
  ^~~~~
  USIDR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:60:16: error: 'USISIE' undeclared (first use in this function); did you mean 'USICR'?
  USICR = (0 << USISIE) | (0 << USIOIE) |                 // Disable Interrupts.
                ^~~~~~
                USICR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:60:32: error: 'USIOIE' undeclared (first use in this function); did you mean 'USISIE'?
  USICR = (0 << USISIE) | (0 << USIOIE) |                 // Disable Interrupts.
                                ^~~~~~
                                USISIE
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:61:16: error: 'USIWM1' undeclared (first use in this function); did you mean 'USIOIE'?
          (1 << USIWM1) | (0 << USIWM0) |                 // Set USI in Two-wire mode.
                ^~~~~~
                USIOIE
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:61:32: error: 'USIWM0' undeclared (first use in this function); did you mean 'USIWM1'?
          (1 << USIWM1) | (0 << USIWM0) |                 // Set USI in Two-wire mode.
                                ^~~~~~
                                USIWM1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:62:16: error: 'USICS1' undeclared (first use in this function); did you mean 'USIWM1'?
          (1 << USICS1) | (0 << USICS0) | (1 << USICLK) | // Software stobe as counter clock source
                ^~~~~~
                USIWM1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:62:32: error: 'USICS0' undeclared (first use in this function); did you mean 'USICS1'?
          (1 << USICS1) | (0 << USICS0) | (1 << USICLK) | // Software stobe as counter clock source
                                ^~~~~~
                                USICS1
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:62:48: error: 'USICLK' undeclared (first use in this function); did you mean 'USICS0'?
          (1 << USICS1) | (0 << USICS0) | (1 << USICLK) | // Software stobe as counter clock source
                                                ^~~~~~
                                                USICS0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:63:16: error: 'USITC' undeclared (first use in this function); did you mean 'USICR'?
          (0 << USITC);
                ^~~~~
                USICR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:64:2: error: 'USISR' undeclared (first use in this function); did you mean 'USICR'?
  USISR = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC) | // Clear flags,
  ^~~~~
  USICR
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:64:16: error: 'USISIF' undeclared (first use in this function); did you mean 'USISIE'?
  USISR = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC) | // Clear flags,
                ^~~~~~
                USISIE
R = 0xF0; // Clear all flags and reset overflow counter
  ^~~~~
  USICR
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Slave/USI_TWI_Slave.h:82:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Slave/USI_TWI_Slave.c:30:
/home/ec2-user/arduino-testli/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:64:48: error: 'USIPF' undeclared (first use in this function); did you mean 'USIOIF'?
  USISR = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC) | // Clear flags,
                                                ^~~~~
                                                USIOIF
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:64:63: error: 'USIDC' undeclared (first use in this function); did you mean 'USITC'?
  USISR = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC) | // Clear flags,
                                                               ^~~~~
                                                               USITC
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:65:18: error: 'USICNT0' undeclared (first use in this function); did you mean 'USICS0'?
          (0x0 << USICNT0);                                             // and reset counter.
                  ^~~~~~~
                  USICS0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c: In function 'USI_TWI_Start_Transceiver_With_Data_Stop':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:104:39: error: 'USISIF' undeclared (first use in this function)
  unsigned char tempUSISR_8bit = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC)
                                       ^~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:104:55: error: 'USIOIF' undeclared (first use in this function); did you mean 'USISIF'?
  unsigned char tempUSISR_8bit = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC)
                                                       ^~~~~~
                                                       USISIF
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:104:71: error: 'USIPF' undeclared (first use in this function); did you mean 'USIOIF'?
  unsigned char tempUSISR_8bit = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC)
                                                                       ^~~~~
                                                                       USIOIF
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:104:86: error: 'USIDC' undeclared (first use in this function); did you mean 'USIPF'?
  unsigned char tempUSISR_8bit = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | (1 << USIDC)
                                                                                      ^~~~~
                                                                                      USIPF
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:106:41: error: 'USICNT0' undeclared (first use in this function); did you mean 'USART0'?
                                 (0x0 << USICNT0); // set USI to shift 8 bits i.e. count 16 clock edges.
                                         ^~~~~~~
                                         USART0
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.h:80:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Master/USI_TWI_Master.c:33:
/home/

examples/TestMaster

Result: PASS

Sketch uses 11432 bytes (23%) of program storage space. Maximum is 49152 bytes.
Global variables use 485 bytes (7%) of dynamic memory, leaving 5659 bytes for local variables. Maximum is 6144 bytes.

examples/TestSlave

Result: PASS

Sketch uses 5893 bytes (11%) of program storage space. Maximum is 49152 bytes.
Global variables use 511 bytes (8%) of dynamic memory, leaving 5633 bytes for local variables. Maximum is 6144 bytes.

arduino:samd:mkrwifi1010 @ 1.8.12

Inclusion

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Slave/USI_TWI_Slave.h:82:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USIWire.cpp:26:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/common/usi_io.h:23:10: fatal error: avr/io.h: No such file or directory
 #include <avr/io.h>
          ^~~~~~~~~~
compilation terminated.

examples/TestMaster

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/examples/TestMaster/TestMaster.ino: In function 'void allTests()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/examples/TestMaster/TestMaster.ino:134:7: error: 'BUFFER_LENGTH' was not declared in this scope
   if (BUFFER_LENGTH > SLAVE_BUFFER_SIZE) {
       ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/examples/TestMaster/TestMaster.ino:134:7: note: suggested alternative: 'REG_DSU_LENGTH'
   if (BUFFER_LENGTH > SLAVE_BUFFER_SIZE) {
       ^~~~~~~~~~~~~
       REG_DSU_LENGTH

examples/TestSlave

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/examples/TestSlave/TestSlave.ino:27:10: fatal error: avr/sleep.h: No such file or directory
 #include <avr/sleep.h>
          ^~~~~~~~~~~~~
compilation terminated.

esp32:esp32:d1_mini32 @ 1.0.6

Inclusion

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USI_TWI_Slave/USI_TWI_Slave.h:82:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/USIWire.cpp:26:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/src/common/usi_io.h:23:20: fatal error: avr/io.h: No such file or directory
compilation terminated.

examples/TestMaster

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/examples/TestMaster/TestMaster.ino: In function 'void allTests()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/examples/TestMaster/TestMaster.ino:134:7: error: 'BUFFER_LENGTH' was not declared in this scope
   if (BUFFER_LENGTH > SLAVE_BUFFER_SIZE) {
       ^

examples/TestSlave

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/USIWire/examples/TestSlave/TestSlave.ino:27:23: fatal error: avr/sleep.h: No such file or directory
compilation terminated.