Tinywireerrors
~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp: In function 'void USI_TWI_Master_Initialise()': ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:64:3: error: 'PORT_USI' was not declared in this scope PORT_USI |= ^~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:64:3: note: suggested alternative: 'PORT_t' PORT_USI |= ^~~~~~~~ PORT_t ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:66:11: error: 'PIN_USI_SDA' was not declared in this scope << PIN_USI_SDA); // Enable pullup on SDA, to set high as released state. ^~~~~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:69:11: error: 'PIN_USI_SCL' was not declared in this scope << PIN_USI_SCL); // Enable pullup on SCL, to set high as released state. ^~~~~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:71:3: error: 'DDR_USI' was not declared in this scope DDR_USI |= (1 << PIN_USI_SCL); // Enable SCL as output. ^~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:74:3: error: 'USIDR' was not declared in this scope USIDR = 0xFF; // Preload dataregister with "released level" data. ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:75:3: error: 'USICR' was not declared in this scope USICR = (0 << USISIE) | (0 << USIOIE) | // Disable Interrupts. ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:75:17: error: 'USISIE' was not declared in this scope USICR = (0 << USISIE) | (0 << USIOIE) | // Disable Interrupts. ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:75:33: error: 'USIOIE' was not declared in this scope USICR = (0 << USISIE) | (0 << USIOIE) | // Disable Interrupts. ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:76:17: error: 'USIWM1' was not declared in this scope (1 << USIWM1) | (0 << USIWM0) | // Set USI in Two-wire mode. ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:76:33: error: 'USIWM0' was not declared in this scope (1 << USIWM1) | (0 << USIWM0) | // Set USI in Two-wire mode. ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:76:33: note: suggested alternative: 'USART0' (1 << USIWM1) | (0 << USIWM0) | // Set USI in Two-wire mode. ^~~~~~ USART0 ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:77:17: error: 'USICS1' was not declared in this scope (1 << USICS1) | (0 << USICS0) | ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:77:33: error: 'USICS0' was not declared in this scope (1 << USICS1) | (0 << USICS0) | ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:77:33: note: suggested alternative: 'USART0' (1 << USICS1) | (0 << USICS0) | ^~~~~~ USART0 ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:78:17: error: 'USICLK' was not declared in this scope (1 << USICLK) | // Software stobe as counter clock source ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:79:17: error: 'USITC' was not declared in this scope (0 << USITC); ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:80:3: error: 'USISR' was not declared in this scope USISR = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:80:3: note: suggested alternative: 'ISR' USISR = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | ^~~~~ ISR ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:80:17: error: 'USISIF' was not declared in this scope USISR = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:80:33: error: 'USIOIF' was not declared in this scope USISR = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:80:49: error: 'USIPF' was not declared in this scope USISR = (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:81:17: error: 'USIDC' was not declared in this scope (1 << USIDC) | // Clear flags, ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:82:19: error: 'USICNT0' was not declared in this scope (0x0 << USICNT0); // and reset counter. ^~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:82:19: note: suggested alternative: 'USART0' (0x0 << USICNT0); // and reset counter. ^~~~~~~ USART0 ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp: In function 'unsigned char USI_TWI_Start_Transceiver_With_Data(unsigned char, unsigned char)': ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:161:13: error: 'USISIF' was not declared in this scope (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:161:29: error: 'USIOIF' was not declared in this scope (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:161:45: error: 'USIPF' was not declared in this scope (1 << USISIF) | (1 << USIOIF) | (1 << USIPF) | ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:162:13: error: 'USIDC' was not declared in this scope (1 << USIDC) | // Prepare register value to: Clear flags, and ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:163:15: error: 'USICNT0' was not declared in this scope (0x0 << USICNT0); // set USI to shift 8 bits i.e. count 16 clock edges. ^~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:163:15: note: suggested alternative: 'USART0' (0x0 << USICNT0); // set USI to shift 8 bits i.e. count 16 clock edges. ^~~~~~~ USART0 ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:229:7: error: 'PORT_USI' was not declared in this scope PORT_USI &= ~(1 << PIN_USI_SCL); // Pull SCL LOW. ^~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:229:7: note: suggested alternative: 'PORT_t' PORT_USI &= ~(1 << PIN_USI_SCL); // Pull SCL LOW. ^~~~~~~~ PORT_t ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:229:26: error: 'PIN_USI_SCL' was not declared in this scope PORT_USI &= ~(1 << PIN_USI_SCL); // Pull SCL LOW. ^~~~~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:230:7: error: 'USIDR' was not declared in this scope USIDR = (msg++); // Setup data. ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:234:7: error: 'DDR_USI' was not declared in this scope DDR_USI &= ~(1 << PIN_USI_SDA); // Enable SDA as input. ^~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:234:25: error: 'PIN_USI_SDA' was not declared in this scope DDR_USI &= ~(1 << PIN_USI_SDA); // Enable SDA as input. ^~~~~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:266:7: error: 'DDR_USI' was not declared in this scope DDR_USI &= ~(1 << PIN_USI_SDA); // Enable SDA as input. ^~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:266:25: error: 'PIN_USI_SDA' was not declared in this scope DDR_USI &= ~(1 << PIN_USI_SDA); // Enable SDA as input. ^~~~~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:272:9: error: 'USIDR' was not declared in this scope USIDR = 0xFF; // Load NACK to confirm End Of Transmission. ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:274:9: error: 'USIDR' was not declared in this scope USIDR = 0x00; // Load ACK. Set data register bit 7 (output for SDA) low. ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp: In function 'unsigned char USI_TWI_Master_Transfer(unsigned char)': ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:295:3: error: 'USISR' was not declared in this scope USISR = temp; // Set USISR according to temp. ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:295:3: note: suggested alternative: 'ISR' USISR = temp; // Set USISR according to temp. ^~~~~ ISR ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:297:16: error: 'USISIE' was not declared in this scope temp = (0 << USISIE) | (0 << USIOIE) | // Interrupts disabled ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:297:32: error: 'USIOIE' was not declared in this scope temp = (0 << USISIE) | (0 << USIOIE) | // Interrupts disabled ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:298:16: error: 'USIWM1' was not declared in this scope (1 << USIWM1) | (0 << USIWM0) | // Set USI in Two-wire mode. ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:298:32: error: 'USIWM0' was not declared in this scope (1 << USIWM1) | (0 << USIWM0) | // Set USI in Two-wire mode. ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:298:32: note: suggested alternative: 'USART0' (1 << USIWM1) | (0 << USIWM0) | // Set USI in Two-wire mode. ^~~~~~ USART0 ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:299:16: error: 'USICS1' was not declared in this scope (1 << USICS1) | (0 << USICS0) | ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:299:32: error: 'USICS0' was not declared in this scope (1 << USICS1) | (0 << USICS0) | ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:299:32: note: suggested alternative: 'USART0' (1 << USICS1) | (0 << USICS0) | ^~~~~~ USART0 ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:300:16: error: 'USICLK' was not declared in this scope (1 << USICLK) | // Software clock strobe as source. ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:301:16: error: 'USITC' was not declared in this scope (1 << USITC); // Toggle Clock Port. ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:304:5: error: 'USICR' was not declared in this scope USICR = temp; // Generate positve SCL edge. ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:305:14: error: 'PIN_USI' was not declared in this scope while (!(PIN_USI & (1 << PIN_USI_SCL))) ^~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:305:30: error: 'PIN_USI_SCL' was not declared in this scope while (!(PIN_USI & (1 << PIN_USI_SCL))) ^~~~~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:309:28: error: 'USIOIF' was not declared in this scope } while (!(USISR & (1 << USIOIF))); // Check for transfer complete. ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:312:10: error: 'USIDR' was not declared in this scope temp = USIDR; // Read out data. ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:314:3: error: 'DDR_USI' was not declared in this scope DDR_USI |= (1 << PIN_USI_SDA); // Enable SDA as output. ^~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:314:20: error: 'PIN_USI_SDA' was not declared in this scope DDR_USI |= (1 << PIN_USI_SDA); // Enable SDA as output. ^~~~~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp: In function 'unsigned char USI_TWI_Master_Start()': ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:324:3: error: 'PORT_USI' was not declared in this scope PORT_USI |= (1 << PIN_USI_SCL); // Release SCL. ^~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:324:3: note: suggested alternative: 'PORT_t' PORT_USI |= (1 << PIN_USI_SCL); // Release SCL. ^~~~~~~~ PORT_t ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:324:21: error: 'PIN_USI_SCL' was not declared in this scope PORT_USI |= (1 << PIN_USI_SCL); // Release SCL. ^~~~~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:330:22: error: 'PIN_USI_SDA' was not declared in this scope PORT_USI &= ~(1 << PIN_USI_SDA); // Force SDA LOW. ^~~~~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:336:9: error: 'USISR' was not declared in this scope if (!(USISR & (1 << USISIF))) { ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:336:9: note: suggested alternative: 'ISR' if (!(USISR & (1 << USISIF))) { ^~~~~ ISR ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:336:23: error: 'USISIF' was not declared in this scope if (!(USISR & (1 << USISIF))) { ^~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp: In function 'unsigned char USI_TWI_Master_Stop()': ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:349:3: error: 'PORT_USI' was not declared in this scope PORT_USI &= ~(1 << PIN_USI_SDA); // Pull SDA low. ^~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:349:3: note: suggested alternative: 'PORT_t' PORT_USI &= ~(1 << PIN_USI_SDA); // Pull SDA low. ^~~~~~~~ PORT_t ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:349:22: error: 'PIN_USI_SDA' was not declared in this scope PORT_USI &= ~(1 << PIN_USI_SDA); // Pull SDA low. ^~~~~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:350:21: error: 'PIN_USI_SCL' was not declared in this scope PORT_USI |= (1 << PIN_USI_SCL); // Release SCL. ^~~~~~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:351:12: error: 'PIN_USI' was not declared in this scope while (!(PIN_USI & (1 << PIN_USI_SCL))) ^~~~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:358:9: error: 'USISR' was not declared in this scope if (!(USISR & (1 << USIPF))) { ^~~~~ ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:358:9: note: suggested alternative: 'ISR' if (!(USISR & (1 << USIPF))) { ^~~~~ ISR ~/Documents/Arduino/libraries/TinyWireM/USI_TWI_Master.cpp:358:23: error: 'USIPF' was not declared in this scope if (!(USISR & (1 << USIPF))) { ^~~~~ exit status 1 Error compiling for board 8-pin ATtiny412/402/212/202.
This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.