Coder Social home page Coder Social logo

Esp8266 support? about hagl HOT 5 OPEN

colesnicov avatar colesnicov commented on August 30, 2024
Esp8266 support?

from hagl.

Comments (5)

tuupola avatar tuupola commented on August 30, 2024

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

from hagl.

tuupola avatar tuupola commented on August 30, 2024

For SPI displays 90% of work is porting this file:

https://github.com/tuupola/hagl_pico_mipi/blob/master/mipi_display.c
https://github.com/tuupola/hagl_esp_mipi/blob/master/src/mipi_display.c
https://github.com/tuupola/hagl_gd32v_mipi/blob/master/src/mipi_display.c
https://github.com/tuupola/hagl_k210_mipi/blob/master/mipi_display.c

Currently the Pico version is probably the cleanest code and good for using as basis.

from hagl.

colesnicov avatar colesnicov commented on August 30, 2024

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

from hagl.

tuupola avatar tuupola commented on August 30, 2024

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

from hagl.

colesnicov avatar colesnicov commented on August 30, 2024

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.)

from hagl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.