boards/esp32s3: add support to M5Stack Cardputer board#19251
Merged
Conversation
linguini1
reviewed
Jul 1, 2026
linguini1
left a comment
Contributor
There was a problem hiding this comment.
Cool! Could you please include an OSTest log from the board in your PR description?
acassis
previously approved these changes
Jul 1, 2026
This port adds support for the M5Stack Cardputer (M5Stamp S3 / ESP32-S3FN8, dual Xtensa LX7 @ 240 MHz, 8 MB flash, no PSRAM). It reuses the common ESP32-S3 board helpers and ships these configurations: - nsh: NuttShell over the USB-Serial-JTAG console - sdcard: microSD card on SPI3 (FAT) - fb: ST7789 240x135 display exposed as a framebuffer - wifi: Wi-Fi station - softap: Wi-Fi SoftAP with DHCP server - lvgl: LVGL graphics on the ST7789 (lvgldemo) Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
4032a9e to
57547c9
Compare
xiaoxiang781216
approved these changes
Jul 2, 2026
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.
Summary
Initial NuttX board port for the M5Stack Cardputer (M5Stamp S3 / ESP32-S3FN8, dual Xtensa LX7 @ 240 MHz, 8 MB flash, no PSRAM).
NSH console over USB-Serial-JTAG (/dev/ttyACM0)
1.14" ST7789 240x135 display (framebuffer and LVGL)
microSD card over SPI3 (FAT)
Native Wi-Fi: station and SoftAP (with DHCP server)
Ships six configurations: nsh, sdcard, fb, wifi, softap, lvgl.
Impact
With this port users can start developing on the M5Stack Cardputer using the documented pin map as a starting point, reusing the common ESP32-S3 board helpers. The remaining peripherals (NS4168 speaker, matrix keyboard, IR, RGB LED) are documented in the pin map and can be added in follow-up work.
Testing
All six configurations build clean:
ostestruns to completion on the board with all tests passing: