We’ve got everything to compile on mbed RTOS 5 & 6, and we use it ourselves on our STM32F439 test board as one of our core tests.
The repository is hosted on GitHub [https://github.com/davetcc/Adafruit-GFX-mbed-fork/] and is tested on STM32 hardware. We have tested it with both an SPI and I2C interface.
There are two examples showing how to use this library packaged with it. It is also possible to generate an mbed 6 OLED IoT ready menu directly from TcMenu Designer