So i’m trying to build libraries, my platform.ini is
[env:seeed_xiao]
platform = atmelsam
board = seeed_xiao
framework = arduino
build_flags = -DUSE_TINYUSB
lib_archive = no
lib_deps =
Wire
adafruit/Adafruit TinyUSB Library @ ^0.10.5
bblanchon/ArduinoJson @ ^6.17.2
ricaun/ArduinoUniqueID @ ^1.1.0
electroniccats/TemperatureZero@^1.2.0
adafruit/Adafruit BusIO @ ^1.8.2
adafruit/Adafruit SSD1306 @ ^2.4.6
paulstoffregen/OneWire@^2.3.6
but when compiling I get
Compiling .pio\build\seeed_xiao\lib856\Adafruit GFX Library\Adafruit_GrayOLED.cpp.o
Compiling .pio\build\seeed_xiao\lib856\Adafruit GFX Library\glcdfont.c.o
In file included from .pio\libdeps\seeed_xiao\Adafruit BusIO/Adafruit_BusIO_Register.h:9:0,
from .pio\libdeps\seeed_xiao\Adafruit BusIO\Adafruit_BusIO_Register.cpp:1:
.pio\libdeps\seeed_xiao\Adafruit BusIO/Adafruit_I2CDevice.h:5:10: fatal error: Wire.h: No such file or directory
I have included may header in main.cpp
#include <Adafruit_I2CDevice.h>
#include <Adafruit_BusIO_Register.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
but not seeing any changes
why can’t it locate wire.h? seen other similar posts and tried steps suggested
David