The next error message appears to be a result of the above error messages:
/home/<username>/Arduino/libraries/Adafruit_BusIO/Adafruit_SPIDevice.h:62:43: error: could not convert 'SPI_BITORDER_MSBFIRST' from '_BitOrder' to 'BitOrder'
BitOrder dataOrder = SPI_BITORDER_MSBFIRST,
^~~~~~~~~~~~~~~~~~~~~
My project use's Adafruit's INA260 library.
Traceback:
/home/<username>/the_project/the_project.ino
Line 15: #include <Adafruit_INA260.h>
/home/<username>/Arduino/libraries/Adafruit_INA260_Library/Adafruit_INA260.h
Line 22: #include <Adafruit_I2CRegister.h>
/home/<username>/Arduino/libraries/Adafruit_BusIO/Adafruit_I2CRegister.h
Line 1: #include "Adafruit_BusIO_Register.h"
/home/<username>/Arduino/libraries/Adafruit_BusIO/Adafruit_BusIO_Register.h
Line 2: #include <Adafruit_SPIDevice.h>
/home/<username>/Arduino/libraries/Adafruit_BusIO/Adafruit_SPIDevice.h
Line 15: typedef enum _BitOrder {
Line 16: SPI_BITORDER_MSBFIRST = MSBFIRST,
Line 17: SPI_BITORDER_LSBFIRST = LSBFIRST,
Line 18: } BitOrder;
Version info:
Arduino IDE: v1.8.13 (on Linux)
TinyCore Boards: v0.0.6 (by Kangmin)
Adafruit INA260 Library: v1.3.5 (by Adafruit)
I'm getting a compile time error for the TinyCore 32 board.
Error:
Adafruit_SPIDevice.h:18:3: error: conflicting declaration 'typedef enum _BitOrder BitOrder' Common.h:27:3: note: previous declaration as 'typedef enum BitOrder BitOrder'
Full error message:
The next error message appears to be a result of the above error messages:
My project use's Adafruit's INA260 library.
Traceback:
Version info: Arduino IDE: v1.8.13 (on Linux) TinyCore Boards: v0.0.6 (by Kangmin) Adafruit INA260 Library: v1.3.5 (by Adafruit)
The LED blinking code from https://tinycore.dev/ compiles successfully.