You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HI. I have just checked. After installing fresh Platform IO inside VS Code and then installing Adafruit BMP280 library everything is building as expected. I am working with esp32 and here is my platformio.ini
; PlatformIO Project Configuration File;; Build options: build flags, source filter; Upload options: custom upload port, speed and extra flags; Library options: dependencies, extra library storages; Advanced options: extra scripting;; Please visit documentation for the other options and examples; https://docs.platformio.org/page/projectconf.html[env:esp32dev]platform = espressif32
board = esp32dev
framework = arduino
lib_deps = adafruit/Adafruit BMP280 Library@^2.6.8
There is the build problem that I must add the following libraries to lib_deps:
https://github.com/adafruit/Adafruit_BusIO
https://github.com/adafruit/Adafruit_Sensor
However, the Adafruit_BusIO library causes the build to fail for the following reason:
#include <SPI.h>
^~~~~~~
compilation terminated.
*** [.pio\build\d1_mini\lib90c\Adafruit BMP280 Library\Adafruit_BMP280.cpp.o] Error 1
I'm a novice. Is there any way to fix this quickly in my case?
The text was updated successfully, but these errors were encountered: