freeridre

build error

Apr 28th, 2020
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 26.58 KB | None | 0 0
  1. Processing megaatmega2560 (platform: atmelavr; board: megaatmega2560; framework: arduino)
  2. -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  3.  
  4. Verbose mode can be enabled via `-v, --verbose` option
  5. CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/megaatmega2560.html
  6. PLATFORM: Atmel AVR 2.0.0 > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560)
  7. HARDWARE: ATMEGA2560 16MHz, 8KB RAM, 248KB Flash
  8. PACKAGES:
  9.  - framework-arduino-avr 5.0.0
  10.  - toolchain-atmelavr 1.70300.191015 (7.3.0)
  11. LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
  12. LDF Modes: Finder ~ chain, Compatibility ~ soft
  13. Found 13 compatible libraries
  14. Scanning dependencies...
  15. Dependency Graph
  16. |-- <FastLED> 3.3.3
  17. |   |-- <SPI> 1.0
  18. |   |-- <SoftwareSerial> 1.0
  19. |-- <RTClib> 1.5.0
  20. |   |-- <TinyWireM> 1.0.1
  21. |   |-- <Wire> 1.0
  22. |-- <SparkFun Qwiic RFID Arduino Library> 1.1.6
  23. |   |-- <Wire> 1.0
  24. |-- <Adafruit PN532> 1.2.0
  25. |   |-- <Adafruit BusIO> 1.2.3
  26. |   |   |-- <SPI> 1.0
  27. |   |   |-- <Wire> 1.0
  28. |   |-- <SPI> 1.0
  29. |   |-- <Wire> 1.0
  30. |-- <SoftwareSerial> 1.0
  31. |-- <SPI> 1.0
  32. |-- <Wire> 1.0
  33. Building in release mode
  34. Compiling .pio\build\megaatmega2560\lib52a\TinyWireM_ID797\USI_TWI_Master.cpp.o
  35. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp: In function 'void USI_TWI_Master_Initialise()':
  36. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:48:3: error: 'PORT_USI' was not declared in this scope
  37.    PORT_USI |= (1<<PIN_USI_SDA);           // Enable pullup on SDA, to set high as released state.
  38.    ^~~~~~~~
  39. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:48:3: note: suggested alternative: 'PORT0'
  40.    PORT_USI |= (1<<PIN_USI_SDA);           // Enable pullup on SDA, to set high as released state.
  41.    ^~~~~~~~
  42.    PORT0
  43. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:48:19: error: 'PIN_USI_SDA' was not declared in this scope
  44.    PORT_USI |= (1<<PIN_USI_SDA);           // Enable pullup on SDA, to set high as released state.
  45.                    ^~~~~~~~~~~
  46. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:49:19: error: 'PIN_USI_SCL' was not declared in this scope
  47.    PORT_USI |= (1<<PIN_USI_SCL);           // Enable pullup on SCL, to set high as released state.
  48.                    ^~~~~~~~~~~
  49. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:51:3: error: 'DDR_USI' was not declared in this scope
  50.    DDR_USI  |= (1<<PIN_USI_SCL);           // Enable SCL as output.
  51.    ^~~~~~~
  52. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:54:3: error: 'USIDR' was not declared in this scope
  53.    USIDR    =  0xFF;                       // Preload dataregister with "released level" data.
  54.    ^~~~~
  55. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:54:3: note: suggested alternative: 'SPDR'
  56.    USIDR    =  0xFF;                       // Preload dataregister with "released level" data.
  57.    ^~~~~
  58.    SPDR
  59. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:55:3: error: 'USICR' was not declared in this scope
  60.    USICR    =  (0<<USISIE)|(0<<USIOIE)|                            // Disable Interrupts.
  61.    ^~~~~
  62. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:55:3: note: suggested alternative: 'SPCR'
  63.    USICR    =  (0<<USISIE)|(0<<USIOIE)|                            // Disable Interrupts.
  64.    ^~~~~
  65.    SPCR
  66. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:55:19: error: 'USISIE' was not declared in this scope
  67.    USICR    =  (0<<USISIE)|(0<<USIOIE)|                            // Disable Interrupts.
  68.                    ^~~~~~
  69. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:55:19: note: suggested alternative: 'SPIE'
  70.    USICR    =  (0<<USISIE)|(0<<USIOIE)|                            // Disable Interrupts.
  71.                    ^~~~~~
  72.                    SPIE
  73. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:55:31: error: 'USIOIE' was not declared in this scope
  74.    USICR    =  (0<<USISIE)|(0<<USIOIE)|                            // Disable Interrupts.
  75.                                ^~~~~~
  76. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:55:31: note: suggested alternative: 'SPIE'
  77.    USICR    =  (0<<USISIE)|(0<<USIOIE)|                            // Disable Interrupts.
  78.                                ^~~~~~
  79.                                SPIE
  80. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:56:19: error: 'USIWM1' was not declared in this scope
  81.                (1<<USIWM1)|(0<<USIWM0)|                            // Set USI in Two-wire mode.
  82.                    ^~~~~~
  83. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:56:19: note: suggested alternative: 'USBS1'
  84.                (1<<USIWM1)|(0<<USIWM0)|                            // Set USI in Two-wire mode.
  85.                    ^~~~~~
  86.                    USBS1
  87. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:56:31: error: 'USIWM0' was not declared in this scope
  88.                (1<<USIWM1)|(0<<USIWM0)|                            // Set USI in Two-wire mode.
  89.                                ^~~~~~
  90. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:56:31: note: suggested alternative: 'USBS0'
  91.                (1<<USIWM1)|(0<<USIWM0)|                            // Set USI in Two-wire mode.
  92.                                ^~~~~~
  93.                                USBS0
  94. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:57:19: error: 'USICS1' was not declared in this scope
  95.                (1<<USICS1)|(0<<USICS0)|(1<<USICLK)|                // Software stobe as counter clock source
  96.                    ^~~~~~
  97. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:57:19: note: suggested alternative: 'USBS1'
  98.                (1<<USICS1)|(0<<USICS0)|(1<<USICLK)|                // Software stobe as counter clock source
  99.                    ^~~~~~
  100.                    USBS1
  101. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:57:31: error: 'USICS0' was not declared in this scope
  102.                (1<<USICS1)|(0<<USICS0)|(1<<USICLK)|                // Software stobe as counter clock source
  103.                                ^~~~~~
  104. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:57:31: note: suggested alternative: 'USBS0'
  105.                (1<<USICS1)|(0<<USICS0)|(1<<USICLK)|                // Software stobe as counter clock source
  106.                                ^~~~~~
  107.                                USBS0
  108. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:57:43: error: 'USICLK' was not declared in this scope
  109.                (1<<USICS1)|(0<<USICS0)|(1<<USICLK)|                // Software stobe as counter clock source
  110.                                            ^~~~~~
  111. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:57:43: note: suggested alternative: 'EXCLK'
  112.                (1<<USICS1)|(0<<USICS0)|(1<<USICLK)|                // Software stobe as counter clock source
  113.                                            ^~~~~~
  114.                                            EXCLK
  115. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:58:19: error: 'USITC' was not declared in this scope
  116.                (0<<USITC);
  117.                    ^~~~~
  118. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:3: error: 'USISR' was not declared in this scope
  119.    USISR   =   (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)|      // Clear flags,
  120.    ^~~~~
  121. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:3: note: suggested alternative: 'SPSR'
  122.    USISR   =   (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)|      // Clear flags,
  123.    ^~~~~
  124.    SPSR
  125. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:19: error: 'USISIF' was not declared in this scope
  126.    USISR   =   (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)|      // Clear flags,
  127.                    ^~~~~~
  128. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:19: note: suggested alternative: 'SPIF'
  129.    USISR   =   (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)|      // Clear flags,
  130.                    ^~~~~~
  131.                    SPIF
  132. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:31: error: 'USIOIF' was not declared in this scope
  133.    USISR   =   (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)|      // Clear flags,
  134.                                ^~~~~~
  135. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:31: note: suggested alternative: 'SPIF'
  136.    USISR   =   (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)|      // Clear flags,
  137.                                ^~~~~~
  138.                                SPIF
  139. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:43: error: 'USIPF' was not declared in this scope
  140.    USISR   =   (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)|      // Clear flags,
  141.                                            ^~~~~
  142. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:59:54: error: 'USIDC' was not declared in this scope
  143.    USISR   =   (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)|      // Clear flags,
  144.                                                       ^~~~~
  145. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:60:21: error: 'USICNT0' was not declared in this scope
  146.                (0x0<<USICNT0);                                     // and reset counter.
  147.                      ^~~~~~~
  148. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:60:21: note: suggested alternative: 'INT0'
  149.                (0x0<<USICNT0);                                     // and reset counter.
  150.                      ^~~~~~~
  151.                      INT0
  152. 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)':
  153. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:130:44: error: 'USISIF' was not declared in this scope
  154.    unsigned char const tempUSISR_8bit = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)|      // Prepare register value to: Clear flags, and
  155.                                             ^~~~~~
  156. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:130:44: note: suggested alternative: 'SPIF'
  157.    unsigned char const tempUSISR_8bit = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)|      // Prepare register value to: Clear flags, and
  158.                                             ^~~~~~
  159.                                             SPIF
  160. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:130:56: error: 'USIOIF' was not declared in this scope
  161.    unsigned char const tempUSISR_8bit = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)|      // Prepare register value to: Clear flags, and
  162.                                                         ^~~~~~
  163. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:130:56: note: suggested alternative: 'SPIF'
  164.    unsigned char const tempUSISR_8bit = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)|      // Prepare register value to: Clear flags, and
  165.                                                         ^~~~~~
  166.                                                         SPIF
  167. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:130:68: error: 'USIPF' was not declared in this scope
  168.    unsigned char const tempUSISR_8bit = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)|      // Prepare register value to: Clear flags, and
  169.                                                                     ^~~~~
  170. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:130:79: error: 'USIDC' was not declared in this scope
  171.    unsigned char const tempUSISR_8bit = (1<<USISIF)|(1<<USIOIF)|(1<<USIPF)|(1<<USIDC)|      // Prepare register value to: Clear flags, and
  172.                                                                                ^~~~~
  173. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:131:40: error: 'USICNT0' was not declared in this scope
  174.                                   (0x0<<USICNT0);                                     // set USI to shift 8 bits i.e. count 16 clock edges.
  175.                                         ^~~~~~~
  176. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:131:40: note: suggested alternative: 'INT0'
  177.                                   (0x0<<USICNT0);                                     // set USI to shift 8 bits i.e. count 16 clock edges.
  178.                                         ^~~~~~~
  179.                                         INT0
  180. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:196:7: error: 'PORT_USI' was not declared in this scope
  181.        PORT_USI &= ~(1<<PIN_USI_SCL);                // Pull SCL LOW.
  182.        ^~~~~~~~
  183. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:196:7: note: suggested alternative: 'PORT0'
  184.        PORT_USI &= ~(1<<PIN_USI_SCL);                // Pull SCL LOW.
  185.        ^~~~~~~~
  186.        PORT0
  187. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:196:24: error: 'PIN_USI_SCL' was not declared in this scope
  188.        PORT_USI &= ~(1<<PIN_USI_SCL);                // Pull SCL LOW.
  189.                         ^~~~~~~~~~~
  190. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:197:7: error: 'USIDR' was not declared in this scope
  191.        USIDR     = *(msg++);                        // Setup data.
  192.        ^~~~~
  193. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:197:7: note: suggested alternative: 'SPDR'
  194.        USIDR     = *(msg++);                        // Setup data.
  195.        ^~~~~
  196.        SPDR
  197. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:201:7: error: 'DDR_USI' was not declared in this scope
  198.        DDR_USI  &= ~(1<<PIN_USI_SDA);                // Enable SDA as input.
  199.        ^~~~~~~
  200. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:201:24: error: 'PIN_USI_SDA' was not declared in this scope
  201.        DDR_USI  &= ~(1<<PIN_USI_SDA);                // Enable SDA as input.
  202.                         ^~~~~~~~~~~
  203. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:234:7: error: 'DDR_USI' was not declared in this scope
  204.        DDR_USI   &= ~(1<<PIN_USI_SDA);               // Enable SDA as input.
  205.        ^~~~~~~
  206. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:234:25: error: 'PIN_USI_SDA' was not declared in this scope
  207.        DDR_USI   &= ~(1<<PIN_USI_SDA);               // Enable SDA as input.
  208.                          ^~~~~~~~~~~
  209. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:240:9: error: 'USIDR' was not declared in this scope
  210.          USIDR = 0xFF;                              // Load NACK to confirm End Of Transmission.
  211.          ^~~~~
  212. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:240:9: note: suggested alternative: 'SPDR'
  213.          USIDR = 0xFF;                              // Load NACK to confirm End Of Transmission.
  214.          ^~~~~
  215.          SPDR
  216. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:244:9: error: 'USIDR' was not declared in this scope
  217.          USIDR = 0x00;                              // Load ACK. Set data register bit 7 (output for SDA) low.
  218.          ^~~~~
  219. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:244:9: note: suggested alternative: 'SPDR'
  220.          USIDR = 0x00;                              // Load ACK. Set data register bit 7 (output for SDA) low.
  221.          ^~~~~
  222.          SPDR
  223. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp: In function 'unsigned char USI_TWI_Master_Transfer(unsigned char)':
  224. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:263:3: error: 'USISR' was not declared in this scope
  225.    USISR = temp;                                     // Set USISR according to temp.
  226.    ^~~~~
  227. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:263:3: note: suggested alternative: 'SPSR'
  228.    USISR = temp;                                     // Set USISR according to temp.
  229.    ^~~~~
  230.    SPSR
  231. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:265:16: error: 'USISIE' was not declared in this scope
  232.    temp  =  (0<<USISIE)|(0<<USIOIE)|                 // Interrupts disabled
  233.                 ^~~~~~
  234. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:265:16: note: suggested alternative: 'SPIE'
  235.    temp  =  (0<<USISIE)|(0<<USIOIE)|                 // Interrupts disabled
  236.                 ^~~~~~
  237.                 SPIE
  238. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:265:28: error: 'USIOIE' was not declared in this scope
  239.    temp  =  (0<<USISIE)|(0<<USIOIE)|                 // Interrupts disabled
  240.                             ^~~~~~
  241. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:265:28: note: suggested alternative: 'SPIE'
  242.    temp  =  (0<<USISIE)|(0<<USIOIE)|                 // Interrupts disabled
  243.                             ^~~~~~
  244.                             SPIE
  245. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:266:16: error: 'USIWM1' was not declared in this scope
  246.             (1<<USIWM1)|(0<<USIWM0)|                 // Set USI in Two-wire mode.
  247.                 ^~~~~~
  248. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:266:16: note: suggested alternative: 'USBS1'
  249.             (1<<USIWM1)|(0<<USIWM0)|                 // Set USI in Two-wire mode.
  250.                 ^~~~~~
  251.                 USBS1
  252. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:266:28: error: 'USIWM0' was not declared in this scope
  253.             (1<<USIWM1)|(0<<USIWM0)|                 // Set USI in Two-wire mode.
  254.                             ^~~~~~
  255. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:266:28: note: suggested alternative: 'USBS0'
  256.             (1<<USIWM1)|(0<<USIWM0)|                 // Set USI in Two-wire mode.
  257.                             ^~~~~~
  258.                             USBS0
  259. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:267:16: error: 'USICS1' was not declared in this scope
  260.             (1<<USICS1)|(0<<USICS0)|(1<<USICLK)|     // Software clock strobe as source.
  261.                 ^~~~~~
  262. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:267:16: note: suggested alternative: 'USBS1'
  263.             (1<<USICS1)|(0<<USICS0)|(1<<USICLK)|     // Software clock strobe as source.
  264.                 ^~~~~~
  265.                 USBS1
  266. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:267:28: error: 'USICS0' was not declared in this scope
  267.             (1<<USICS1)|(0<<USICS0)|(1<<USICLK)|     // Software clock strobe as source.
  268.                             ^~~~~~
  269. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:267:28: note: suggested alternative: 'USBS0'
  270.             (1<<USICS1)|(0<<USICS0)|(1<<USICLK)|     // Software clock strobe as source.
  271.                             ^~~~~~
  272.                             USBS0
  273. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:267:40: error: 'USICLK' was not declared in this scope
  274.             (1<<USICS1)|(0<<USICS0)|(1<<USICLK)|     // Software clock strobe as source.
  275.                                         ^~~~~~
  276. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:267:40: note: suggested alternative: 'EXCLK'
  277.             (1<<USICS1)|(0<<USICS0)|(1<<USICLK)|     // Software clock strobe as source.
  278.                                         ^~~~~~
  279.                                         EXCLK
  280. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:268:16: error: 'USITC' was not declared in this scope
  281.             (1<<USITC);                              // Toggle Clock Port.
  282.                 ^~~~~
  283. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:272:5: error: 'USICR' was not declared in this scope
  284.      USICR = temp;                          // Generate positve SCL edge.
  285.      ^~~~~
  286. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:272:5: note: suggested alternative: 'SPCR'
  287.      USICR = temp;                          // Generate positve SCL edge.
  288.      ^~~~~
  289.      SPCR
  290. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:273:14: error: 'PIN_USI' was not declared in this scope
  291.      while( !(PIN_USI & (1<<PIN_USI_SCL)) );// Wait for SCL to go high.
  292.               ^~~~~~~
  293. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:273:28: error: 'PIN_USI_SCL' was not declared in this scope
  294.      while( !(PIN_USI & (1<<PIN_USI_SCL)) );// Wait for SCL to go high.
  295.                             ^~~~~~~~~~~
  296. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:273:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  297.      while( !(PIN_USI & (1<<PIN_USI_SCL)) );// Wait for SCL to go high.
  298.      ^~~~~
  299. 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'
  300.   _delay_us(T4_TWI);
  301.   ^~~~~~~~~
  302. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:276:25: error: 'USIOIF' was not declared in this scope
  303.    }while( !(USISR & (1<<USIOIF)) );        // Check for transfer complete.
  304.                          ^~~~~~
  305. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:276:25: note: suggested alternative: 'SPIF'
  306.    }while( !(USISR & (1<<USIOIF)) );        // Check for transfer complete.
  307.                          ^~~~~~
  308.                          SPIF
  309. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:279:11: error: 'USIDR' was not declared in this scope
  310.    temp  = USIDR;                           // Read out data.
  311.            ^~~~~
  312. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:279:11: note: suggested alternative: 'SPDR'
  313.    temp  = USIDR;                           // Read out data.
  314.            ^~~~~
  315.            SPDR
  316. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:281:3: error: 'DDR_USI' was not declared in this scope
  317.    DDR_USI |= (1<<PIN_USI_SDA);             // Enable SDA as output.
  318.    ^~~~~~~
  319. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:281:18: error: 'PIN_USI_SDA' was not declared in this scope
  320.    DDR_USI |= (1<<PIN_USI_SDA);             // Enable SDA as output.
  321.                   ^~~~~~~~~~~
  322. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp: In function 'unsigned char USI_TWI_Master_Start()':
  323. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:291:3: error: 'PORT_USI' was not declared in this scope
  324.    PORT_USI |= (1<<PIN_USI_SCL);                     // Release SCL.
  325.    ^~~~~~~~
  326. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:291:3: note: suggested alternative: 'PORT0'
  327.    PORT_USI |= (1<<PIN_USI_SCL);                     // Release SCL.
  328.    ^~~~~~~~
  329.    PORT0
  330. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:291:19: error: 'PIN_USI_SCL' was not declared in this scope
  331.    PORT_USI |= (1<<PIN_USI_SCL);                     // Release SCL.
  332.                    ^~~~~~~~~~~
  333. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:296:20: error: 'PIN_USI_SDA' was not declared in this scope
  334.    PORT_USI &= ~(1<<PIN_USI_SDA);                    // Force SDA LOW.
  335.                     ^~~~~~~~~~~
  336. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:302:9: error: 'USISR' was not declared in this scope
  337.    if( !(USISR & (1<<USISIF)) )
  338.          ^~~~~
  339. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:302:9: note: suggested alternative: 'SPSR'
  340.    if( !(USISR & (1<<USISIF)) )
  341.          ^~~~~
  342.          SPSR
  343. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:302:21: error: 'USISIF' was not declared in this scope
  344.    if( !(USISR & (1<<USISIF)) )
  345.                      ^~~~~~
  346. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:302:21: note: suggested alternative: 'SPIF'
  347.    if( !(USISR & (1<<USISIF)) )
  348.                      ^~~~~~
  349.                      SPIF
  350. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp: In function 'unsigned char USI_TWI_Master_Stop()':
  351. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:316:3: error: 'PORT_USI' was not declared in this scope
  352.    PORT_USI &= ~(1<<PIN_USI_SDA);           // Pull SDA low.
  353.    ^~~~~~~~
  354. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:316:3: note: suggested alternative: 'PORT0'
  355.    PORT_USI &= ~(1<<PIN_USI_SDA);           // Pull SDA low.
  356.    ^~~~~~~~
  357.    PORT0
  358. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:316:20: error: 'PIN_USI_SDA' was not declared in this scope
  359.    PORT_USI &= ~(1<<PIN_USI_SDA);           // Pull SDA low.
  360.                     ^~~~~~~~~~~
  361. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:317:19: error: 'PIN_USI_SCL' was not declared in this scope
  362.    PORT_USI |= (1<<PIN_USI_SCL);            // Release SCL.
  363.                    ^~~~~~~~~~~
  364. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:318:12: error: 'PIN_USI' was not declared in this scope
  365.    while( !(PIN_USI & (1<<PIN_USI_SCL)) );  // Wait for SCL to go high.
  366.             ^~~~~~~
  367. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:318:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  368.    while( !(PIN_USI & (1<<PIN_USI_SCL)) );  // Wait for SCL to go high.
  369.    ^~~~~
  370. 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'
  371.   _delay_us(T4_TWI);
  372.   ^~~~~~~~~
  373. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:324:9: error: 'USISR' was not declared in this scope
  374.    if( !(USISR & (1<<USIPF)) )
  375.          ^~~~~
  376. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:324:9: note: suggested alternative: 'SPSR'
  377.    if( !(USISR & (1<<USIPF)) )
  378.          ^~~~~
  379.          SPSR
  380. C:\Users\dani\.platformio\lib\TinyWireM_ID797\USI_TWI_Master.cpp:324:21: error: 'USIPF' was not declared in this scope
  381.    if( !(USISR & (1<<USIPF)) )
  382.                      ^~~~~
  383. *** [.pio\build\megaatmega2560\lib52a\TinyWireM_ID797\USI_TWI_Master.cpp.o] Error 1
  384. ==================================================================================================================================================================================== [FAILED] Took 1.58 seconds ====================================================================================================================================================================================
  385. The terminal process terminated with exit code: 1
  386.  
  387. Terminal will be reused by tasks, press any key to close it.
Add Comment
Please, Sign In to add comment