I am running Arduino 1.8.5 on Linux (Linux 4.4.0-101-generic Fri Nov 10 18:31:34 UTC 2017 i686 GNU/Linux).
I also have this problem with compilation for the I2C 0.96" OLED.
The error is:
Code: Select all
/home/kes/arduino_sketchbook_BACKUP_COPY_24.10.2017/2017.12.03_OLED_TEST_ssd1306_128x64_i2c_STM32/2017.12.03_OLED_TEST_ssd1306_128x64_i2c_STM32.ino:25:22: fatal error: Hardwire.h: No such file or directory #include <Hardwire.h> ^ compilation terminated. exit status 1 Error compiling for board Generic STM32F103C series.
I have looked inside this file
and it already has/home/kes/Desktop/arduino-1.8.5/hardware/Arduino_STM32/STM32F1/libraries/OLED_I2C/hardware/arm/HW_STM32.h
on the first line and no references to hardwire.h anywhere inside it.#include "Wire.h"
I git cloned libmaple into my libraries folder and that did not help. I have now removed it.