drorgl / esp32-tinyemu

A fork to Fabrice Bellard's TinyEmu ported to ESP32
MIT License
51 stars 14 forks source link

Installing on a LILYGO ESP32 e-paper display? #1

Open Vansick1 opened 2 years ago

Vansick1 commented 2 years ago

I have the above display / ESP32 combo, and I'm wondering how I would go about adapting the code to work on it. I understand that the SD card pins would have to be reassigned; how would I get the terminal to be outputted to the e-paper display? Is this trivial or more complicated than I am understanding?

drorgl commented 2 years ago

You can change the SD card pins in sdmount.c. The display on ESP32 is UART you can find it in uartconsole.h based. You'll need to use a line writer with scroll so it will emulate a terminal.

Vansick1 commented 2 years ago

When you say that the display on the ESP32 is UART, do you mean the default is UART? Does that apply to the LILYGO?

Where is the text output handled in your code? I'll need to know that to implement the scrolling terminal feature

Additionally, is the USB interface utilized in your code? And is network support still in progress, or has that been added?

drorgl commented 2 years ago

The text output is handled in uartconsole.h on ESP32.

The USB interface non existant on ESP32, only ESP32-S2 and up. unless you mean the USB-UART which is connected to the UART.

I'm not working on network at this time, If you wish to work on it, I welcome pull requests.