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
Arduino compiles all of the code in the src file** compiling our brzo and spi code. Arduino compiles files separately and #defines do not transfer across files. Therefore, a #ifdef cannot be used to surround the BME BRZO code. The result, all of the example builds fail if the BRZO code is not surrounded in a pre-processor macro. Likewise, this has caused issues in past I2C builds where #define <SPI.h> was required to build.
Current implementation requires user intervention in library files by modifying BME280I2C_BRZO.cpp::line 35: #define USING_BRZO 1.
**(TODO: check if src folder structure mitigates)
The text was updated successfully, but these errors were encountered:
Arduino compiles all of the code in the src file** compiling our brzo and spi code. Arduino compiles files separately and
#defines
do not transfer across files. Therefore, a#ifdef
cannot be used to surround the BME BRZO code. The result, all of the example builds fail if the BRZO code is not surrounded in a pre-processor macro. Likewise, this has caused issues in past I2C builds where#define <SPI.h>
was required to build.Current implementation requires user intervention in library files by modifying
BME280I2C_BRZO.cpp::line 35: #define USING_BRZO 1
.**(TODO: check if src folder structure mitigates)
The text was updated successfully, but these errors were encountered: