Skip to content

vvhh2002/hagl_esp_mipi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIPI DCS HAL for HAGL Graphics Library

HAL for HAGL graphics library for display drivers supporting the MIPI Display Command Set. Currently tested with ST7735S, ST7789V and ILI9341.

Software License

Usage

To use with an ESP-IDF project you need to include three components. Low level MIPI DCS display driver, this HAL and the HAGL graphics library itself.

$ cd components
$ git submodule add [email protected]:tuupola/esp_mipi.git
$ git submodule add [email protected]:tuupola/hagl_esp_mipi.git
$ git submodule add [email protected]:tuupola/hagl.git

You can alter HAL behaviour via menuconfig. If you choose to use back buffer all drawing operations will be fast. Downside is that back buffer requires lot of memory. Each pixel is two bytes. To reduce the amount of data SPI bus has to transfer choose the option to flush only dirty part of back buffer. To reduce flickering you can also choose to lock back buffer while flushing. Locking will slow down draw operations though.

$ make menuconfig

For example usage see M5Stack GFX, M5Stick GFX and Mandelbrot.

License

The MIT License (MIT). Please see License File for more information.

About

ESP32 MIPI DCS HAL for the HAGL graphics library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.5%
  • Other 0.5%