Expected behavior
If you are not using the BME280Spi part of the library, I would expect that the SPI.h library is not needed.
As is the case with BME280I2C_BRZO with brzo_i2c.h
Actual behavior
Compiling my project in platformio for VSCode throws the following error:

I don't really know why the SPI.h could not be found. But the point is it shouldn't be able to be found at all. If I comment out the content of BME280SPI.cpp, my code works fine.
Steps to reporduce the behavior
Expected behavior
If you are not using the BME280Spi part of the library, I would expect that the SPI.h library is not needed.
As is the case with BME280I2C_BRZO with brzo_i2c.h
Actual behavior
Compiling my project in platformio for VSCode throws the following error:

I don't really know why the SPI.h could not be found. But the point is it shouldn't be able to be found at all. If I comment out the content of BME280SPI.cpp, my code works fine.
Steps to reporduce the behavior