- 记录 IDF_CCACHE_ENABLE / CONFIG_IDF_BUILD_USE_CCACHE 加速重复编译 - 说明 export.sh 需 source 而非 ./ 执行、自定义 IDF_TOOLS_PATH 每次重设 - 增加工具链安装失败恢复:清理 ~/.espressif/dist、macOS 证书包、 Apple Silicon Rosetta 2、Windows 杀毒扫描排除 - 经验来自 esp-mosaico/esp-mosaico-vibe,双语同步更新
3bacd66efd
·
2026-09-09 10:15:12 +08:00
History
简体中文 · English
Development Guidelines
This directory contains AI Passport engineering rules and reusable workflows, grouped by purpose: the AI-assisted development workflow (ai-guide.md), engineering conventions (engineering/), CI documents (ci/), and the release/completion flow (release/). Rules should identify their trigger, required action, prohibited action, validation, and exceptions. Hardware facts belong in docs/hardware-design/; automatable requirements must also be enforced by tooling or CI.
AI workflow
- ai-guide.md: AI-assisted development workflow.
Engineering
- environment-setup.md: clean-machine bootstrap for AI agents, including international and mainland China download routes.
- build-and-test.md: ESP-IDF build and validation.
- protected-flash-layout.md: mandatory merged-artifact and protected-partition layout.
- coding-conventions.md: source-code and resource conventions.
CI
- CI-validation.md: pull-request and main-branch checks.
- CI-build-and-release.md: tagged firmware builds and releases.
- CI-sync-main.md: upstream synchronization for forks.
Release
- publish-to-community.md: publishing firmware to the AI Passport community market.
- project-completion.md: project completion flow — a menu of optional closing actions.
- file-issues.md: filing a suggestion as an upstream GitHub issue.