Add ESP32-2432S028 (Cheap Yellow Display) port - #11
Open
flycabl3guy wants to merge 1 commit into
Open
Conversation
PlatformIO env `nyanbox-cyd` porting nyanBOX to the 2.8" CYD (ILI9341 TFT + XPT2046 resistive touch, classic ESP32-WROOM). All 42 app modules build unchanged. - Radio CE/CSN remap for the CYD (share the SD SPI bus); NeoPixel 14->0 - U8g2 128x64 buffer -> ILI9341 bridge (letterboxed, zero I2C) - Bit-bang XPT2046 touch, pressure-gated, 4-corner self-calibration to EEPROM - Touch-native menus (tap-to-select, drag slider, BACK bar) + in-app 5-zone D-pad - Boot fixes: skip absent radios (no hang), drive backlight GPIO21 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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 PlatformIO env (
nyanbox-cyd) porting nyanBOX to the 2.8" Cheap Yellow Display (ESP32-2432S028): ILI9341 240x320 SPI TFT + XPT2046 resistive touch, classic ESP32-WROOM (4MB, no PSRAM). No buttons, no OLED — the UI and input are adapted while all 42 app modules build unchanged. Lives undercyd-port/; existing envs untouched. Build:pio run -e nyanbox-cyd.Highlights
pindefs.h): the 3x nRF24 share the CYD's SD SPI bus; CE/CSN moved to free pins (R1 22/5, R2 27/17, R3 4/16) since the stock pins collide with the TFT. NeoPixel 14->0. Sacrifices microSD + RGB LED.CydU8g2subclass keeps the 128x64 U8g2 mono buffer (zero I2C) and blits it letterboxed onto the ILI9341 via TFT_eSPI; a build-flag macro rewrites the SSD1306 type so the UI compiles unchanged.Builds green, boots, display + touch verified on hardware. nRF24 wiring notes (per-module 3.3V off the 5V header) are in
cyd-port/README.md. Opening this in case it's useful upstream or to others on CYD hardware — happy to adjust structure/placement.