adafruit / Adafruit_BusIO

Arduino library for I2C & SPI abstractions
MIT License
285 stars 259 forks source link

Library doesn't work for ESP32 or ESP8266 on PlatformIO #118

Closed WackoKacko closed 1 year ago

WackoKacko commented 1 year ago

Adafruit_BusIO causes the build to fail for the following reason:

_#include ^~~ compilation terminated. *** [.pio\build\d1_mini\lib90c\Adafruit BMP280 Library\AdafruitBMP280.cpp.o] Error 1

Is there any easy fix?

msrba commented 1 year ago

I have the same issue, is there any solution?

ladyada commented 1 year ago

there is something wrong with platformio - SPI.h is native SPI hardware library and comes wih the board support package!