Xinyuan-LilyGO / T-Display-S3-AMOLED

An upgraded version of T-Display-S3. It has a high-resolution color screen and more configurable GPIO ports. Enrich your needs.
MIT License
143 stars 29 forks source link

Make this board compatibe with ESP-IDF #15

Closed krupis closed 3 months ago

krupis commented 9 months ago

Hello. It would be really cool if this product and the code would be also compatible with the latest esp-idf. For example, there is an example project for esp-idf on T-Display-RGB: https://github.com/Xinyuan-LilyGO/T-RGB/tree/main/examples/esp-idf-example/T-RGB

Can we expect something simillar for T-Display-S3-AMOLED?

teastainGit commented 9 months ago

Well, that is just interesting. I thought that any Arduino IDE sketch would compile with IDF, but not necessarily the other way, no? You would have to #include to get the digital.read and write functions and may other conveniences to work Usually LilyGO and others only use IDF to utilize features not yet available on Arduino. LilyGO products are designed for Arduino IDE as it has a MUCH larger user base than IDF. Thanks, -Terry

krupis commented 9 months ago

@teastainGit

From what I know, compiling Arduino projects on esp-idf is more complex than including Arduino.h. Perhaps it has to do with the fact that most Arduino libraries are C++ and esp-idf is most often C?

Porting drivers from Arduino to esp-idf requires esp-idf wrappers.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 3 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.