Repository navigation
Gemini customer build: Gemini Live only, English UI, Google Cloud branding - #1
Merged
Merged
Conversation
…ash, fork OTA Customer build for Google on top of the gemini branch. Gated by CONFIG_STACKCHAN_GEMINI_ONLY (on in sdkconfig.defaults, off in Kconfig so upstream merges stay easy). OpenAI / XiaoZhi source is hidden, not deleted; Provider enum values are unchanged. - Force effective provider to Gemini even with a stale NVS value; ignore other providers on BLE/HTTP. Add NVS + BLE 0x32/0x33 + HTTP for the Live model and voice (default gemini-3.8-live / Aoede). - NVS lang key, English default, Japanese strings kept. No language UI. Hide Japanese-only TTS tools in English. Settings pages overlay in EN. - Google Cloud boot splash (Wikimedia CC BY 4.0 wordmark) at board-native resolutions until the face render task starts, min 2 s. - OTA/voice catalog URL is Kconfig; this fork points at m5stack.github.io/stackchan-idf-gemini. Pages also deploys from gemini. Co-authored-by: Dylan Luo <Ocean-lhy@users.noreply.github.com>
IDE extensions run idf.py build without SDKCONFIG_DEFAULTS, which produced a 2MB/8MB-partition config that fails. Default to sdkconfig.defaults + esp32s3 + cores3 (and .local if present) when none is given, and fall back to an nvm-installed node for the avatar DSL step. make BOARD=... and CI are unaffected.
Ocean-lhy
marked this pull request as ready for review
October 22, 2026 11:58
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.
Gemini product build of Stack-chan, controlled by
CONFIG_STACKCHAN_GEMINI_ONLY(on in this fork'ssdkconfig.defaults). Upstream code paths are kept rather than deleted, somaincan keep syncing from ciniml/stackchan-idf with small conflicts.What changes
AI provider
Providerenum is unchanged).CONFIG_STACKCHAN_GEMINI_DEFAULT_MODEL.Language
tools/settings_i18n/): the fully inlinedsettings_wifi.html(device page and SoftAP captive portal),tools/settings.htmland its scripts, including JS-generated strings. Controlled byCONFIG_STACKCHAN_SETTINGS_ENGLISH(default on for Gemini builds). The build fails if any Japanese is left in the served pages.Branding
CONFIG_STACKCHAN_BOOT_SPLASH_MS, default 2000 ms), generated bytools/gen_google_cloud_splash.pyfrom Google_Cloud_logo.svg.OTA / Pages
CONFIG_STACKCHAN_UPDATE_BASE_URL= https://m5stack.github.io/stackchan-idf-gemini).Build
idf.py build(e.g. the ESP-IDF IDE extension) now defaults to the CoreS3 Stack-chan config (sdkconfig.defaults+.esp32s3+.cores3), and finds an nvm-installed Node for the avatar DSL step.make build BOARD=...and CI are unaffected.Testing
Notes
tools/apply-m5-patches.shbefore building (existing upstream patch, as described in the README).