Add ONX2432G028 board support - #1307
Open
weiweihaoyouwei wants to merge 1 commit into
Open
Conversation
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.
Pull Request: Add ONX2432G028 board support
Summary
This PR adds support for the ONX2432G028 ESP32-S3 development board to ESP32 Marauder.
The board uses an ESP32-S3R8 module with a 2.8 inch 240 x 320 ST7789 SPI TFT panel, CST826 I2C capacitive touch controller, and a PCF8574 I2C IO expander for LCD reset and SDCS control.
Board reference: OpenNextion/OpenNextion-SKU-ONX2432G028
Hardware
Pin mapping
Changes
MARAUDER_ONX2432G028board target and hardware name.User_Setup_onx2432g028.hfor the ST7789 TFT panel and ONX2432G028 pin mapping.SD_MMCfor ONX SDMMC boards.Validation
Validated locally with:
esp32:esp32 2.0.11esp32:esp32:esp32s3default_8MBPSRAM=opi_onx2432g028.bin2.0.11, NimBLE-Arduino1.3.8,PartitionScheme=default_8MB,FlashSize=16M,PSRAM=opi, and UART0 upload/serial settings.Runtime validation:
SCRIPTSdirectory is created on SD card during initialization.Build log excerpt
Serial boot and SD log excerpt
Notes for reviewers
This PR adds a dedicated GitHub Actions build target for ONX2432G028, so maintainers can verify the firmware build without local hardware.
Most ONX-specific behavior is guarded by
MARAUDER_ONX2432G028,HAS_ONX_CST826_TOUCH, orHAS_ONX_SD_MMC, so existing board targets should not enter the new display/touch/reset/SDMMC paths.The ONX2432G028 target uses
PSRAM=opiand keepsCDCOnBoot=default/UploadMode=defaultfor the board's UART0 USB-UART upload and serial logging path.Demo
A short runtime demo video is available here:
ONX2432G028.mp4