tuupola / hagl

Hardware Agnostic Graphics Library for embedded

Home Page:https://www.appelsiini.net/tags/hagl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Esp8266 support?

colesnicov opened this issue · comments

Hello. Is esp8266-rtos-sdk supported?

I am not sure how different that is from ESP-IDF. I am pretty sure they are not compatible? But I guess the ESP-IDF version could be used as basis for porting the needed abstraction layer. You need to provide only init and putpixel functions. Anything else is extra to make things faster. GD is an example of simple implementation.

https://github.com/tuupola/hagl_gd
https://github.com/tuupola/hagl_esp_mipi

So I'll try it and let it lead. Otherwise, I ask because ESP8266-RTOS has a slightly different SPI API than ESP-IDF.

Yeah I never tried it myself. I jumped straight into ESP32.

Yes Yes Yes. I also started with ESP32 but I have a lot of wemos d1 that I have to use. otherwise, I have a functional GFX, but I'm looking for something more abstract... without complicated porting between ESP8266 and ESP32. so that I don't have two different projects just because of the tft display.. as soon as I use up the ESP8266, I'll switch to the ESP32 (c2, c3, etc.)