https://github.com/haknkayaa/u8g2-linux
A modified, open-source u8g2 repo for using OLED/GLCD screens on ARM-based Linux devices. Supports static cross-compilation, with SPI (ST7920) and I2C (SSD1306) examples.
https://github.com/haknkayaa/u8g2-linux
arm arm64 glcd i2c imx6 imx8 lcd lcd-display lcd-library linux oled oled-display spi u8g2 u8g2lib u8x8
Last synced: about 2 months ago
JSON representation
A modified, open-source u8g2 repo for using OLED/GLCD screens on ARM-based Linux devices. Supports static cross-compilation, with SPI (ST7920) and I2C (SSD1306) examples.
- Host: GitHub
- URL: https://github.com/haknkayaa/u8g2-linux
- Owner: haknkayaa
- Created: 2024-05-13T13:34:17.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-13T13:57:46.000Z (about 2 years ago)
- Last Synced: 2025-06-09T10:05:23.710Z (about 1 year ago)
- Topics: arm, arm64, glcd, i2c, imx6, imx8, lcd, lcd-display, lcd-library, linux, oled, oled-display, spi, u8g2, u8g2lib, u8x8
- Language: C
- Homepage:
- Size: 36.6 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# u8g2 linux
It's a modified repository for easily using screens like OLED or GLCD on ARM-based Linux devices.
Honestly, I didn't make many changes to the source code.
I just made the necessary modifications for it to work in a Linux environment.
You can cross-compile it statically and load it onto your board.
I did my example work on an IMX8. However, it will also work on other ARM-based Linux devices.
The repository includes hardware SPI and I2C examples.
For SPI, I used the Full Graphic Smart Controller 128x64 (ST7920) screen that I had.
For I2C, I used the 0.96 inch OLED 128x64 (SSD1306) screen.

#### Credits
- https://github.com/olikraus/u8g2
- https://github.com/wuhanstudio/u8g2-arm-linux