Missing headers for Arduino Library


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.


Thanks! This is a bug, we’ve just fixed it! Please re-test with upstream version Nordic nRF52 — PlatformIO latest documentation

Really? 30 min? Doping check.

Now, It works though :wink: