Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Processing megaatmega2560 (platform: atmelavr; board: megaatmega2560; framework: arduino)
- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Verbose mode can be enabled via `-v, --verbose` option
- CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/megaatmega2560.html
- PLATFORM: Atmel AVR 2.0.0 > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560)
- HARDWARE: ATMEGA2560 16MHz, 8KB RAM, 248KB Flash
- PACKAGES:
- - framework-arduino-avr 5.0.0
- - toolchain-atmelavr 1.70300.191015 (7.3.0)
- LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
- LDF Modes: Finder ~ chain, Compatibility ~ soft
- Found 13 compatible libraries
- Scanning dependencies...
- Dependency Graph
- |-- <FastLED> 3.3.3
- | |-- <SPI> 1.0
- | |-- <SoftwareSerial> 1.0
- |-- <RTClib> 1.5.0
- | |-- <TinyWireM> 1.0.1
- | |-- <Wire> 1.0
- |-- <SparkFun Qwiic RFID Arduino Library> 1.1.6
- | |-- <Wire> 1.0
- |-- <Adafruit PN532> 1.2.0
- | |-- <Adafruit BusIO> 1.2.3
- | | |-- <SPI> 1.0
- | | |-- <Wire> 1.0
- | |-- <SPI> 1.0
- | |-- <Wire> 1.0
- |-- <SoftwareSerial> 1.0
- |-- <SPI> 1.0
- |-- <Wire> 1.0
- Building in release mode
- Compiling .pio\build\megaatmega2560\lib52a\TinyWireM_ID797\USI_TWI_Master.cpp.o
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp: In function 'void USI_TWI_Master_Initialise()':
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:48:3: error: 'PORT_USI' was not declared in this scope
- PORT_USI |= (1<<PIN_USI_SDA); // Enable pullup on SDA, to set high as released state.
- ^~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:48:3: note: suggested alternative: 'PORT0'
- PORT_USI |= (1<<PIN_USI_SDA); // Enable pullup on SDA, to set high as released state.
- ^~~~~~~~
- PORT0
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:48:19: error: 'PIN_USI_SDA' was not declared in this scope
- PORT_USI |= (1<<PIN_USI_SDA); // Enable pullup on SDA, to set high as released state.
- ^~~~~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:49:19: error: 'PIN_USI_SCL' was not declared in this scope
- PORT_USI |= (1<<PIN_USI_SCL); // Enable pullup on SCL, to set high as released state.
- ^~~~~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:51:3: error: 'DDR_USI' was not declared in this scope
- DDR_USI |= (1<<PIN_USI_SCL); // Enable SCL as output.
- ^~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:54:3: error: 'USIDR' was not declared in this scope
- USIDR = 0xFF; // Preload dataregister with "released level" data.
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:54:3: note: suggested alternative: 'SPDR'
- USIDR = 0xFF; // Preload dataregister with "released level" data.
- ^~~~~
- SPDR
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:55:3: error: 'USICR' was not declared in this scope
- USICR = (0<<USISIE)|(0<<USIOIE)| // Disable Interrupts.
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:55:3: note: suggested alternative: 'SPCR'
- USICR = (0<<USISIE)|(0<<USIOIE)| // Disable Interrupts.
- ^~~~~
- SPCR
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:55:19: error: 'USISIE' was not declared in this scope
- USICR = (0<<USISIE)|(0<<USIOIE)| // Disable Interrupts.
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:55:19: note: suggested alternative: 'SPIE'
- USICR = (0<<USISIE)|(0<<USIOIE)| // Disable Interrupts.
- ^~~~~~
- SPIE
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:55:31: error: 'USIOIE' was not declared in this scope
- USICR = (0<<USISIE)|(0<<USIOIE)| // Disable Interrupts.
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:55:31: note: suggested alternative: 'SPIE'
- USICR = (0<<USISIE)|(0<<USIOIE)| // Disable Interrupts.
- ^~~~~~
- SPIE
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:56:19: error: 'USIWM1' was not declared in this scope
- (1<<USIWM1)|(0<<USIWM0)| // Set USI in Two-wire mode.
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:56:19: note: suggested alternative: 'USBS1'
- (1<<USIWM1)|(0<<USIWM0)| // Set USI in Two-wire mode.
- ^~~~~~
- USBS1
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:56:31: error: 'USIWM0' was not declared in this scope
- (1<<USIWM1)|(0<<USIWM0)| // Set USI in Two-wire mode.
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:56:31: note: suggested alternative: 'USBS0'
- (1<<USIWM1)|(0<<USIWM0)| // Set USI in Two-wire mode.
- ^~~~~~
- USBS0
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:57:19: error: 'USICS1' was not declared in this scope
- (1<<USICS1)|(0<<USICS0)|(1<<USICLK)| // Software stobe as counter clock source
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:57:19: note: suggested alternative: 'USBS1'
- (1<<USICS1)|(0<<USICS0)|(1<<USICLK)| // Software stobe as counter clock source
- ^~~~~~
- USBS1
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:57:31: error: 'USICS0' was not declared in this scope
- (1<<USICS1)|(0<<USICS0)|(1<<USICLK)| // Software stobe as counter clock source
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:57:31: note: suggested alternative: 'USBS0'
- (1<<USICS1)|(0<<USICS0)|(1<<USICLK)| // Software stobe as counter clock source
- ^~~~~~
- USBS0
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:57:43: error: 'USICLK' was not declared in this scope
- (1<<USICS1)|(0<<USICS0)|(1<<USICLK)| // Software stobe as counter clock source
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:57:43: note: suggested alternative: 'EXCLK'
- (1<<USICS1)|(0<<USICS0)|(1<<USICLK)| // Software stobe as counter clock source
- ^~~~~~
- EXCLK
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:58:19: error: 'USITC' was not declared in this scope
- (0<<USITC);
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:3: error: 'USISR' was not declared in this scope
- USISR = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Clear flags,
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:3: note: suggested alternative: 'SPSR'
- USISR = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Clear flags,
- ^~~~~
- SPSR
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:19: error: 'USISIF' was not declared in this scope
- USISR = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Clear flags,
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:19: note: suggested alternative: 'SPIF'
- USISR = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Clear flags,
- ^~~~~~
- SPIF
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:31: error: 'USIOIF' was not declared in this scope
- USISR = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Clear flags,
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:31: note: suggested alternative: 'SPIF'
- USISR = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Clear flags,
- ^~~~~~
- SPIF
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:43: error: 'USIPF' was not declared in this scope
- USISR = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Clear flags,
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:54: error: 'USIDC' was not declared in this scope
- USISR = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Clear flags,
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:60:21: error: 'USICNT0' was not declared in this scope
- (0x0<<USICNT0); // and reset counter.
- ^~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:60:21: note: suggested alternative: 'INT0'
- (0x0<<USICNT0); // and reset counter.
- ^~~~~~~
- INT0
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp: In function 'unsigned char USI_TWI_Start_Transceiver_With_Data(unsigned char*, unsigned char)':
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:130:44: error: 'USISIF' was not declared in this scope
- unsigned char const tempUSISR_8bit = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Prepare register value to: Clear flags, and
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:130:44: note: suggested alternative: 'SPIF'
- unsigned char const tempUSISR_8bit = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Prepare register value to: Clear flags, and
- ^~~~~~
- SPIF
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:130:56: error: 'USIOIF' was not declared in this scope
- unsigned char const tempUSISR_8bit = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Prepare register value to: Clear flags, and
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:130:56: note: suggested alternative: 'SPIF'
- unsigned char const tempUSISR_8bit = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Prepare register value to: Clear flags, and
- ^~~~~~
- SPIF
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:130:68: error: 'USIPF' was not declared in this scope
- unsigned char const tempUSISR_8bit = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Prepare register value to: Clear flags, and
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:130:79: error: 'USIDC' was not declared in this scope
- unsigned char const tempUSISR_8bit = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)| // Prepare register value to: Clear flags, and
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:131:40: error: 'USICNT0' was not declared in this scope
- (0x0<<USICNT0); // set USI to shift 8 bits i.e. count 16 clock edges.
- ^~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:131:40: note: suggested alternative: 'INT0'
- (0x0<<USICNT0); // set USI to shift 8 bits i.e. count 16 clock edges.
- ^~~~~~~
- INT0
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:196:7: error: 'PORT_USI' was not declared in this scope
- PORT_USI &= ~(1<<PIN_USI_SCL); // Pull SCL LOW.
- ^~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:196:7: note: suggested alternative: 'PORT0'
- PORT_USI &= ~(1<<PIN_USI_SCL); // Pull SCL LOW.
- ^~~~~~~~
- PORT0
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:196:24: error: 'PIN_USI_SCL' was not declared in this scope
- PORT_USI &= ~(1<<PIN_USI_SCL); // Pull SCL LOW.
- ^~~~~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:197:7: error: 'USIDR' was not declared in this scope
- USIDR = *(msg++); // Setup data.
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:197:7: note: suggested alternative: 'SPDR'
- USIDR = *(msg++); // Setup data.
- ^~~~~
- SPDR
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:201:7: error: 'DDR_USI' was not declared in this scope
- DDR_USI &= ~(1<<PIN_USI_SDA); // Enable SDA as input.
- ^~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:201:24: error: 'PIN_USI_SDA' was not declared in this scope
- DDR_USI &= ~(1<<PIN_USI_SDA); // Enable SDA as input.
- ^~~~~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\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.
- ^~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\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.
- ^~~~~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:240:9: error: 'USIDR' was not declared in this scope
- USIDR = 0xFF; // Load NACK to confirm End Of Transmission.
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:240:9: note: suggested alternative: 'SPDR'
- USIDR = 0xFF; // Load NACK to confirm End Of Transmission.
- ^~~~~
- SPDR
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:244:9: error: 'USIDR' was not declared in this scope
- USIDR = 0x00; // Load ACK. Set data register bit 7 (output for SDA) low.
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:244:9: note: suggested alternative: 'SPDR'
- USIDR = 0x00; // Load ACK. Set data register bit 7 (output for SDA) low.
- ^~~~~
- SPDR
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp: In function 'unsigned char USI_TWI_Master_Transfer(unsigned char)':
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:263:3: error: 'USISR' was not declared in this scope
- USISR = temp; // Set USISR according to temp.
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:263:3: note: suggested alternative: 'SPSR'
- USISR = temp; // Set USISR according to temp.
- ^~~~~
- SPSR
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:265:16: error: 'USISIE' was not declared in this scope
- temp = (0<<USISIE)|(0<<USIOIE)| // Interrupts disabled
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:265:16: note: suggested alternative: 'SPIE'
- temp = (0<<USISIE)|(0<<USIOIE)| // Interrupts disabled
- ^~~~~~
- SPIE
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:265:28: error: 'USIOIE' was not declared in this scope
- temp = (0<<USISIE)|(0<<USIOIE)| // Interrupts disabled
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:265:28: note: suggested alternative: 'SPIE'
- temp = (0<<USISIE)|(0<<USIOIE)| // Interrupts disabled
- ^~~~~~
- SPIE
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:266:16: error: 'USIWM1' was not declared in this scope
- (1<<USIWM1)|(0<<USIWM0)| // Set USI in Two-wire mode.
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:266:16: note: suggested alternative: 'USBS1'
- (1<<USIWM1)|(0<<USIWM0)| // Set USI in Two-wire mode.
- ^~~~~~
- USBS1
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:266:28: error: 'USIWM0' was not declared in this scope
- (1<<USIWM1)|(0<<USIWM0)| // Set USI in Two-wire mode.
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:266:28: note: suggested alternative: 'USBS0'
- (1<<USIWM1)|(0<<USIWM0)| // Set USI in Two-wire mode.
- ^~~~~~
- USBS0
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:267:16: error: 'USICS1' was not declared in this scope
- (1<<USICS1)|(0<<USICS0)|(1<<USICLK)| // Software clock strobe as source.
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:267:16: note: suggested alternative: 'USBS1'
- (1<<USICS1)|(0<<USICS0)|(1<<USICLK)| // Software clock strobe as source.
- ^~~~~~
- USBS1
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:267:28: error: 'USICS0' was not declared in this scope
- (1<<USICS1)|(0<<USICS0)|(1<<USICLK)| // Software clock strobe as source.
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:267:28: note: suggested alternative: 'USBS0'
- (1<<USICS1)|(0<<USICS0)|(1<<USICLK)| // Software clock strobe as source.
- ^~~~~~
- USBS0
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:267:40: error: 'USICLK' was not declared in this scope
- (1<<USICS1)|(0<<USICS0)|(1<<USICLK)| // Software clock strobe as source.
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:267:40: note: suggested alternative: 'EXCLK'
- (1<<USICS1)|(0<<USICS0)|(1<<USICLK)| // Software clock strobe as source.
- ^~~~~~
- EXCLK
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:268:16: error: 'USITC' was not declared in this scope
- (1<<USITC); // Toggle Clock Port.
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:272:5: error: 'USICR' was not declared in this scope
- USICR = temp; // Generate positve SCL edge.
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:272:5: note: suggested alternative: 'SPCR'
- USICR = temp; // Generate positve SCL edge.
- ^~~~~
- SPCR
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:273:14: error: 'PIN_USI' was not declared in this scope
- while( !(PIN_USI & (1<<PIN_USI_SCL)) );// Wait for SCL to go high.
- ^~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:273:28: error: 'PIN_USI_SCL' was not declared in this scope
- while( !(PIN_USI & (1<<PIN_USI_SCL)) );// Wait for SCL to go high.
- ^~~~~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:273:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
- while( !(PIN_USI & (1<<PIN_USI_SCL)) );// Wait for SCL to go high.
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:274:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
- _delay_us(T4_TWI);
- ^~~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:276:25: error: 'USIOIF' was not declared in this scope
- }while( !(USISR & (1<<USIOIF)) ); // Check for transfer complete.
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:276:25: note: suggested alternative: 'SPIF'
- }while( !(USISR & (1<<USIOIF)) ); // Check for transfer complete.
- ^~~~~~
- SPIF
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:279:11: error: 'USIDR' was not declared in this scope
- temp = USIDR; // Read out data.
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:279:11: note: suggested alternative: 'SPDR'
- temp = USIDR; // Read out data.
- ^~~~~
- SPDR
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:281:3: error: 'DDR_USI' was not declared in this scope
- DDR_USI |= (1<<PIN_USI_SDA); // Enable SDA as output.
- ^~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:281:18: error: 'PIN_USI_SDA' was not declared in this scope
- DDR_USI |= (1<<PIN_USI_SDA); // Enable SDA as output.
- ^~~~~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp: In function 'unsigned char USI_TWI_Master_Start()':
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:291:3: error: 'PORT_USI' was not declared in this scope
- PORT_USI |= (1<<PIN_USI_SCL); // Release SCL.
- ^~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:291:3: note: suggested alternative: 'PORT0'
- PORT_USI |= (1<<PIN_USI_SCL); // Release SCL.
- ^~~~~~~~
- PORT0
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:291:19: error: 'PIN_USI_SCL' was not declared in this scope
- PORT_USI |= (1<<PIN_USI_SCL); // Release SCL.
- ^~~~~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:296:20: error: 'PIN_USI_SDA' was not declared in this scope
- PORT_USI &= ~(1<<PIN_USI_SDA); // Force SDA LOW.
- ^~~~~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:302:9: error: 'USISR' was not declared in this scope
- if( !(USISR & (1<<USISIF)) )
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:302:9: note: suggested alternative: 'SPSR'
- if( !(USISR & (1<<USISIF)) )
- ^~~~~
- SPSR
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:302:21: error: 'USISIF' was not declared in this scope
- if( !(USISR & (1<<USISIF)) )
- ^~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:302:21: note: suggested alternative: 'SPIF'
- if( !(USISR & (1<<USISIF)) )
- ^~~~~~
- SPIF
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp: In function 'unsigned char USI_TWI_Master_Stop()':
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:316:3: error: 'PORT_USI' was not declared in this scope
- PORT_USI &= ~(1<<PIN_USI_SDA); // Pull SDA low.
- ^~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:316:3: note: suggested alternative: 'PORT0'
- PORT_USI &= ~(1<<PIN_USI_SDA); // Pull SDA low.
- ^~~~~~~~
- PORT0
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:316:20: error: 'PIN_USI_SDA' was not declared in this scope
- PORT_USI &= ~(1<<PIN_USI_SDA); // Pull SDA low.
- ^~~~~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:317:19: error: 'PIN_USI_SCL' was not declared in this scope
- PORT_USI |= (1<<PIN_USI_SCL); // Release SCL.
- ^~~~~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:318:12: error: 'PIN_USI' was not declared in this scope
- while( !(PIN_USI & (1<<PIN_USI_SCL)) ); // Wait for SCL to go high.
- ^~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:318:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
- while( !(PIN_USI & (1<<PIN_USI_SCL)) ); // Wait for SCL to go high.
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:319:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
- _delay_us(T4_TWI);
- ^~~~~~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:324:9: error: 'USISR' was not declared in this scope
- if( !(USISR & (1<<USIPF)) )
- ^~~~~
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:324:9: note: suggested alternative: 'SPSR'
- if( !(USISR & (1<<USIPF)) )
- ^~~~~
- SPSR
- C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:324:21: error: 'USIPF' was not declared in this scope
- if( !(USISR & (1<<USIPF)) )
- ^~~~~
- *** [.pio\build\megaatmega2560\lib52a\TinyWireM_ID797\USI_TWI_Master.cpp.o] Error 1
- ==================================================================================================================================================================================== [FAILED] Took 1.58 seconds ====================================================================================================================================================================================
- The terminal process terminated with exit code: 1
- Terminal will be reused by tasks, press any key to close it.
Add Comment
Please, Sign In to add comment