No description
  • Python 89.5%
  • Shell 5.4%
  • PowerShell 5.1%
Find a file
lisir233 d6aa4a8d32
Some checks failed
CI / required (push) Has been cancelled
Merge pull request #48 from esp-mosaico/chore/update-submodules-url
chore: update submodule URLs to support git mirrors
2026-11-03 18:00:08 +08:00
.agents/skills chore: consolidate agent guidance and update recovery tooling 2026-10-22 13:32:05 +08:00
.codex feat(ESP-173): add Espressif MCP services for coding agents 2026-09-29 15:43:52 +08:00
.cursor feat(ESP-173): add Espressif MCP services for coding agents 2026-09-29 15:43:52 +08:00
.github/workflows fix(ESP-127): update build tooling, blank games and application GSP pins 2026-09-24 18:12:01 +08:00
docs chore: consolidate agent guidance and update recovery tooling 2026-10-22 13:32:05 +08:00
projects chore: consolidate agent guidance and update recovery tooling 2026-10-22 13:32:05 +08:00
submodule chore(deps): update utils to be151ae and fix test dependencies 2026-10-22 13:32:19 +08:00
tests/mosaico_cli_integration chore: sync submodules and update workspace guidance 2026-10-22 13:31:13 +08:00
.gitignore Streamline agent workflows and add bilingual workspace guides 2026-09-22 23:08:50 +08:00
.gitmodules chore: update submodule URLs to support git mirrors 2026-11-03 17:57:02 +08:00
.mcp.json feat(ESP-173): add Espressif MCP services for coding agents 2026-09-29 15:43:52 +08:00
.mosaico.json chore: sync submodules and update workspace guidance 2026-10-22 13:31:13 +08:00
AGENTS.md chore: consolidate agent guidance and update recovery tooling 2026-10-22 13:32:05 +08:00
CLAUDE.md chore: link CLAUDE.md to shared agent instructions 2026-09-21 11:14:56 +08:00
mosaico.py Streamline agent workflows and add bilingual workspace guides 2026-09-22 23:08:50 +08:00
README.md chore: sync submodules and update workspace guidance 2026-10-22 13:31:13 +08:00
README_CN.md chore: sync submodules and update workspace guidance 2026-10-22 13:31:13 +08:00
requirements-ci.txt chore(deps): update utils to be151ae and fix test dependencies 2026-10-22 13:32:19 +08:00

ESP-Mosaico Vibe

简体中文

A get-started workspace for developing ESP-Mosaico applications with an AI coding agent. The repository supplies the CLI entry, workspace settings, pinned submodules, documentation and Agent guidance. Applications are created on demand.

Create an application

This workspace requires Python 3.10+ and Git 2.28+. Firmware builds use ESP-IDF master at 7b9cc1ac79f865983f59bb8ff3ff43eb74ff1dbe for esp32s31. Creation does not require ESP-IDF, a board, BSP or the game engine. Use python3 in the commands below if your system has no python command.

git submodule update --init submodule/esp-mosaico-utils
python mosaico.py project init my_app

This creates projects/my_app from the utils-owned Hello World template without changing the default project. Each app gets an independent Git repository and quality-check configuration. --dry-run writes nothing; existing targets are never overwritten. See project creation.

Use Vibe Mode for device installation and maintenance, and ROM Download Mode for low-level flashing. See device modes for their purposes, buttons and commands.

Preview and install

git submodule update --init submodule/esp-mosaico-bsp
# Activate the pinned ESP-IDF environment and build the generated application.
python submodule/esp-mosaico-utils/mosaico-tools/skills/idf-low-noise-build/scripts/idf_low_noise_build.py --project projects/my_app doctor
python submodule/esp-mosaico-utils/mosaico-tools/skills/idf-low-noise-build/scripts/idf_low_noise_build.py --project projects/my_app build
python mosaico.py project sim --project projects/my_app --interactive

GSP preview uses the same portable C UI and GSP 1.5.1 scene as the device. After design confirmation, find and fix UI rendering and interaction problems in the simulator first, then validate on hardware; see the workflow. For the first installation on a blank or unverified board, run python mosaico.py recover, then python mosaico.py iris system-update --project projects/my_app. Use iris app-update only for code changes with the same complete partition table and resources. Device operations always go through the product CLI.

Workspace ownership

Repository Maintains
This workspace Entry, configuration, Agent workflows, consumer integration checks
utils CLI, Vibe Mode firmware, shared application components and Hello World template
BSP Product board support and peripheral examples
Raylib Lite Engine Game runtime, complete reference games, Board adapters and Host simulator

Prefer Raylib Lite Engine for games, create a blank game or an engine example, and validate visuals and gameplay in its simulator first; see the game entry. Initialize the engine only when developing games. Hello World and blank games use relative references: move or clone the whole workspace, initialize its pinned dependencies and rebuild. Single-application export and old workspace path compatibility are outside this layout. See migration notes.

Shared Espressif MCP configuration connects Codex, Claude Code and Cursor to ESP Pilot and the ESP Component Registry.

Start with the documentation index. Agents follow AGENTS.md and the skill index. For ongoing observation, python mosaico.py iris run --project projects/my_app prints the Gateway Web workbench URL; see the Gateway guide.