u8glib with STM32f103c8t6 board
searcher Wed Dec 16, 2015 3:00 pm
Does anybody know how to make the u8glib libary work with an STM32f103c8t6 board? I would really like to drive my 128×64 OLED display via SPI. It works with an Arduino board, but fails with my STM32f103c8t6 boad (giving compiler errors).
The constructor is the following:
U8GLIB_SH1106_128X64 u8g(PA5, PA7, PA4, PB0, PB1);
The compiler error is as follows:
In file included from /Users/admin/Documents/Arduino/libraries/U8glib/U8glib.h:41:0,
from /Users/admin/Documents/Arduino/ReadAnalogVoltage_test/ReadAnalogVoltage_test.ino:1:
/Users/admin/Documents/Arduino/hardware/Arduino_STM32-master/STM32F1/cores/maple/Print.h:26:37: fatal error: libmaple/libmaple_types.h: No such file or directory
#include <libmaple/libmaple_types.h>
I tried copying libmaple_types.h from another board in the STM32 master file, but that resulted in a host of other errors.
Your help is much appreciated.
