PlatformIO Community

Missing headers for Arduino Library


#1

Hi

I want to use the Adafruit BNO055 breakout board (Library) together with the nRF52-DK board.
When the Library is installed then error “WProgram.h” and later “Wire.h” not found.

I could temporarily fix the problem by adding

build_flags = -DARDUINO=100 -I /home/my_user/.platformio/packages/framework-arduinonordicnrf5/libraries/Wire

to platform.ini but I wonder if there is a better solution or whether this is just a bug.

Best
Stefan


#2

Thanks! This is a bug, we’ve just fixed it! Please re-test with upstream version http://docs.platformio.org/en/latest/platforms/nordicnrf52.html#stable-and-upstream-versions


#3

Really? 30 min? Doping check.

Now, It works though :wink: