Repository navigation
Releases
Releases · doccaz/mister-tty2oled-esp32
v0.7.1
Fixed
- CYD: "Rotated 90°" and "Rotated 270°" now rotate the picture. On the CYD (ESP32-2432S028, 320×240 ILI9341), the two quarter-turn orientations on
/settingsmirrored the image and text instead of turning them. The panel now switches to portrait addressing for those two orientations, and the 240×240 picture stays centred. 0° and 180° are unchanged.
What was tested
- Flashed with this release build and checked by eye on a CYD and a Sunton ESP32-2424S012C: all four orientations are readable, centred and not mirrored, and 90° turns clockwise on both. The round GC9A01 boards weren't affected by the bug; their code path is unchanged.
- Both boards kept their saved WiFi and settings after the update and answered
CMDHWINFwith0.7.1over WiFi. - The Super Mini builds (
esp32c3,esp32c3_nooled) were built but not flashed for this release. Their display code is identical to the Sunton's. - The MiSTer daemon is unchanged; it is rebuilt with this version.
art-pd-1 (public-domain colour art)
Public-domain colour logos for the t2o-wifi daemon (installed by the Downloader database, not by hand). Sources and licences are in art-pd_ATTRIBUTIONS.md; trademarks remain with their owners.
v0.7.0
What's new
- CYD transfer LED. The CYD's RGB LED is solid blue while a picture is arriving, flashes green once when it is accepted, and flashes cyan twice if the transfer failed. It works for USB, WiFi and MQTT pictures and can be switched off with the "Transfer LED" checkbox on
/settings(on by default). Red is never used: that pin is the panel reset. - Idle clock on by default. After 15 minutes idle the display shows the time (once it is known: NTP, or the MiSTer's clock). Set it to 0 on
/settingsto turn it off. Devices that already saved their settings keep what they saved. - WiFi fix: a picture transfer is now only aborted when the client that started it disconnects. Before, any other client (for example the MiSTer menu's "Send a test picture", or a web app tab) coming and going could kill the daemon's picture in flight.
Under the hood
- The firmware now builds on the current Arduino-ESP32 3.x core (it no longer depends on one specific toolchain version). A device name read before WiFi starts was all zeros on that core (
tty2oled-0000); it is now read from the chip's MAC. - Backlight PWM, SNTP and the WebSocket handshake were adapted to the 3.x APIs.
-DWS_DIAG=1(opt-in, never in releases) prints WebSocket transfer events on the serial port.
Known issues and what was tested
- Flash-tested on real hardware with this exact build: CYD, Sunton ESP32-2424S012C and Super Mini with the onboard OLED (WiFi, WebSocket pictures from the MiSTer daemon, backlight, MQTT text and image notifications on the CYD). The Super Mini without OLED (
esp32c3_nooled) was built but not flashed. - The update keeps your saved settings: the partition tables are identical to 0.6.0's.
- The 7-pin GC9A01 round module used in the discrete Super Mini build has no backlight pin, so brightness control has no visible effect on it (documented in the README). Boards that break out BL, the Sunton and the CYD dim normally.
- Occasional lost acknowledgements over WiFi on a weak signal (about 1 in 25 in one test, on both old and new firmware) are not fully explained.
- The MiSTer daemon is functionally unchanged (rebuilt with this version).
v0.6.0
New: the "Cheap Yellow Display" (ESP32-2432S028, CYD)
The 2.8" 320x240 ILI9341 ESP32 board is supported. Pick CYD in the web flasher (no BOOT-button step; its USB-serial chip resets it by itself). It shows the same round-native art as the other displays, centred on the wider screen, and works over USB or WiFi with the same protocol, setup network, settings page and MQTT notifications. Hardware id HWCYD28.
CYD specifics:
- Touch wakes the display (a firm tap; it is a resistive screen) and shows the join QR in setup mode. It cannot trigger the factory reset.
- Auto brightness: tick "Follow the room light" on the device's settings page to let the built-in light sensor set the backlight. A brightness sent by the MiSTer overrides it until the next reboot.
- It keeps no decoded picture in RAM (the classic ESP32's WiFi stack needs ~80 KB of free heap), so transitions are a little coarser (8 to 13 steps).
Other changes
/statusnow reportscontraston every board (andldr/touchon the CYD).- The release scripts handle the second chip family (
tty2oled-ili9341-*assets) and refuse to release if an image contains development WiFi credentials. - The MiSTer daemon is functionally unchanged (rebuilt with this version).
Known issues and what was tested
- Flash-tested on real hardware for this release: CYD and Sunton ESP32-2424S012C. The two Super Mini variants (
esp32c3,esp32c3_nooled) were built but not flashed this time. - The web flasher page with the CYD entry was verified through the same file layout with esptool, but not run in a browser.
- Pre-existing, not new: about 1-3% of picture sends over USB get no acknowledgement within 6 s (also on 0.5.8); not investigated yet.
- The CYD has been run with the daemon from a PC, not yet from a MiSTer.