Merge pull request #44 from FoloToy/fix/remove-recovery-partition
fix(flash): remove recovery partition
This commit is contained in:
16 files changed
+54
-88
No files matched your search
@@ -9,10 +9,8 @@ This file is the only mandatory entry point for AI-assisted work in this reposit
|
||||
## Project and safety baseline
|
||||
|
||||
- Target: ESP32-C3, 8 MB Flash, no PSRAM, ESP-IDF 5.5.3.
|
||||
- Preserve the protected Flash layout: the 3 MB application limit, `cardid` at
|
||||
`0x356000`, and factory-owned Recovery at `0x700000` are mandatory template
|
||||
contracts. The template intentionally provides no function-key bootloader
|
||||
hook for entering Recovery.
|
||||
- Preserve the protected Flash layout: the 3 MB application limit and `cardid`
|
||||
at `0x356000` are mandatory template contracts.
|
||||
- Preserve existing user changes. Start with `git status --short --branch`; never overwrite or clean unrelated files.
|
||||
- Hardware facts follow this priority: product specifications and measured results → `components/bsp/include/bsp_pins.h` → BSP headers and implementation → hardware guide → README/demo code. If a task requires a hardware detail not defined by these sources, ask the user instead of guessing.
|
||||
- Reusable board logic belongs in `components/bsp`; pages, state machines, animations, and application tasks belong in `main`.
|
||||
|
||||
+2
-3
@@ -9,9 +9,8 @@
|
||||
## 项目与安全基线
|
||||
|
||||
- 目标平台:ESP32-C3、8 MB Flash、无 PSRAM、ESP-IDF 5.5.3。
|
||||
- 必须保持受保护的 Flash 布局:3 MB 应用上限、`cardid@0x356000`
|
||||
与工厂所有的 `recovery@0x700000` 均为模板强制契约。模板不提供
|
||||
任何功能键进入 Recovery 的 bootloader hook。
|
||||
- 必须保持受保护的 Flash 布局:3 MB 应用上限与 `cardid@0x356000`
|
||||
均为模板强制契约。
|
||||
- 保留用户已有修改。先执行 `git status --short --branch`,不得覆盖或清理无关文件。
|
||||
- 硬件事实优先级:产品规格与实测结果 → `components/bsp/include/bsp_pins.h` → BSP 头文件与实现 → 硬件指南 → README/demo。任务所需硬件细节未在这些来源中定义时,直接询问用户,不得猜测。
|
||||
- 可复用板级逻辑放入 `components/bsp`;页面、状态机、动画和应用任务放入 `main`。
|
||||
|
||||
+3
-4
@@ -10,10 +10,9 @@
|
||||
|
||||
- Reorganized the documentation by function area with a dual entry point: the root `AGENTS.md` is now a thin router (hard constraints + task routing only) and the detailed AI workflow lives in `docs/development/ai-guide.md`; `agent-guide.md` was folded in. `docs/development/` gained a second level (`engineering/`, `ci/`, `release/`), and the `plays/` application archive and `experiences/` moved into a `docs/reference/` area with a dedicated README. Removed `docs/software-design/` (empty scaffold); folded the three `assets/{fonts,images,music}/README` leaves into the `assets/` README; flattened the six `project-completion` sub-documents into a single file; and unified each directory to a single README, eliminating every `INDEX` file and a duplicated experience index. All cross-references and bibliographic links were updated; no content was dropped.
|
||||
|
||||
- Kept the fixed protected `cardid`/Recovery partitions and CI validation for
|
||||
merged-image structure, partition MD5/ranges, the 3 MB app limit, and
|
||||
protected payload exclusion, while removing the five-second function-key
|
||||
Recovery boot hook.
|
||||
- Removed the obsolete app/test partition at `0x700000` and its related
|
||||
bootloader, validation, and documentation requirements. The fixed protected
|
||||
`cardid` partition and its CI checks remain unchanged.
|
||||
- Documented a release-title convention for multi-app releases: name tags as `v<version>-<app-name>` (e.g. `v0.1.0-voice-keychain`) so the release title carries the version and the app, and confirm the title after the release is published so a release list is scannable by app.
|
||||
- Added a post-release follow-up workflow: an `issue-suggestions` skill for filing user feedback as issues against the upstream project, an `experience-pr` skill for submitting reusable development experience as a documentation PR, a `docs/experiences/` directory for per-entry experience files, and supporting `project-completion`, `file-issues`, and experience-index documents.
|
||||
- Simplified the tracked repository root: moved GitHub-recognized community documents into `.github/`, moved the changelog into `docs/`, updated every reference, and added a root-document allowlist to repository checks.
|
||||
|
||||
Loaded 3 of 16 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user