Add Waveshare ESP32-S3-Touch-AMOLED-1.43 (466×466 round) board port#79
Open
fjarvis wants to merge 1 commit into
Open
Add Waveshare ESP32-S3-Touch-AMOLED-1.43 (466×466 round) board port#79fjarvis wants to merge 1 commit into
fjarvis wants to merge 1 commit into
Conversation
New board target `waveshare_amoled_143` (466x466 round AMOLED, ESP32-S3, 16MB flash / 8MB OPI PSRAM) plus its PlatformIO env. Shared code is untouched apart from the sanctioned round-screen layout pass in ui.cpp. Board (firmware/src/boards/waveshare_amoled_143/): - CO5300 display over QSPI (CS=9 SCLK=10 D0-3=11-14 RST=21), driven unconditionally. Display selection is decoupled from touch: this panel is a CO5300 even on units fitted with an FT3168 touch, so inferring it from the touch address (as the 1.8 port does) is wrong and left the panel black. The QSPI bus is write-only so the display ID can't be read; SH8601 stays as a compile-time escape hatch (DISPLAY_IS_SH8601). - FocalTech-style polled touch reader (FT3168 @ 0x38 / CST820 @ 0x15), raw coordinates — the panel mounts 180 deg and the device is rotated physically. - BOOT-only input; the hold-3s-to-pair gesture is synthesized from a BOOT long press in power.cpp so main.cpp stays untouched. - No PMU / IMU / IO-expander; imu and power battery paths are stubs. Round-screen UI (ui.cpp::compute_layout, keyed on 466x466): - Inset, vertically-centred cards; logo centred at the top with a small title under it; mono_18 status line so long animation words fit the narrow chord. - Fix: hide the battery indicator on no-battery boards (it was rendering, clipped, in a corner). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Owner
|
Got a picture of it? Curious to see the round layout |
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds a board target for the Waveshare ESP32-S3-Touch-AMOLED-1.43 — a 466×466 round AMOLED (ESP32-S3, 16 MB flash / 8 MB OPI PSRAM). A new
boards/folder plus one PlatformIO env; shared code is untouched apart from the sanctioned round-screen layout pass inui.cpp.Verified end-to-end on hardware: builds clean, boots to the splash, drives the panel, touch toggles screens, and the macOS daemon connects over BLE and updates the usage screen.
Board —
firmware/src/boards/waveshare_amoled_143/DISPLAY_IS_SH8601).power.cpp, somain.cppstays untouched.imuand thepowerbattery paths are stubs.Round-screen UI —
ui.cpp::compute_layout()(keyed on 466×466)The square-480 layout pushed content under the round bezel. Added a round branch:
mono_18status line so long animation words fit the narrow bottom chord.The other boards (2.16 / 1.8 / C6) are unaffected.
Notes
pio run -e waveshare_amoled_143— ~1.3 MB, ~20% of the 6.25 MiB app partition.🤖 Generated with Claude Code