Add M5StickS3 build target#9
Closed
mfiumara wants to merge 1 commit into
Closed
Conversation
Adds a second PlatformIO env (m5stickc-plus-s3) targeting the ESP32-S3-based M5StickS3 alongside the existing StickC Plus build, which is left untouched. Routes M5 SDK + sprite types through buddy_common.h typedefs (M5StickCPlus / TFT_eSprite vs M5Unified / M5Canvas). Wraps PMIC, IMU, RTC, and beep call sites behind a small inline HAL (src/buddy_hal.h) so main.cpp stays single-source. The StickS3 has no hardware RTC; clock and time-of-day persona logic gracefully fall back when buddyHalRtcAvailable() is false (NTP/software clock deferred to a follow-up phase). Built clean for both envs. Hardware validation on StickS3 still pending — see .planning/phases/01-sticks3-port/SPEC.md for the verification checklist. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Member
|
#3 is already in flight, I'm closing this until that lands! Thank you very much for your contribution though 🙇 |
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.
Summary
m5stickc-plus-s3) targeting the ESP32-S3-based M5StickS3 alongside the existing StickC Plus build, which is left untouched.buddy_common.htypedefs (M5StickCPlus/TFT_eSpritevsM5Unified/M5Canvas), and wraps PMIC / IMU / RTC / beep call sites behind a small inline HAL (src/buddy_hal.h) somain.cppstays single-source.buddyHalRtcAvailable()is false. NTP / software-clock seeding is deferred to a follow-up phase.Scope and rationale
See
.planning/phases/01-sticks3-port/SPEC.mdfor the hardware delta table, locked decisions, and what's intentionally out of scope (e.g. WiFi/NTP, captive portal, OTA, migrating the legacy build to M5Unified).Status
pio run -e m5stickc-plus— builds clean (legacy unchanged)pio run -e m5stickc-plus-s3— builds cleanesptoolviapio run -e m5stickc-plus-s3 -t upload)esp32-s3-devkitc-1board ID + M5GFX autodetect) is the most likely site for surprises since there's no dedicatedm5stack-sticks3board in the espressif32 platform.Test plan
--:--placeholder (orientation-by-tilt still works)🤖 Generated with Claude Code