Files
ai-passport/docs/development/experience-notes.md
T
Shinku 4b833aaa57 docs(development): add display refresh and deep-sleep notes
Add a reusable, upstream-benefiting post-release experience entry from the
'What to Eat Today' firmware release:

- Display refresh: direct esp_lcd_panel_draw_bitmap refresh of a single image
  rect, big-endian RGB565, this project's LVGL I8 palette layout, and an
  optional interlaced two-pass mode.
- Deep-sleep wakeup: ESP32-C3 has no EXT0/EXT1; use
  esp_deep_sleep_enable_gpio_wakeup on an RTC GPIO, noting ESP-IDF 5.5.3's
  default internal-resistor behavior.
- LVGL object-type misuse crash signature (lv_tlsf_block_size).

Link the bilingual entry from both the English and zh_CN experience indexes.
Hardware facts are marked Unverified pending source commit/tag, board revision,
and reproduced measurements.
2026-08-28 16:47:09 +08:00

3.4 KiB

简体中文 · English

Development Experience Notes

This page is the index for reusable development experience captured after each firmware release — focused on the fork's own docs/ differences from upstream: the documents the developer created or changed on this fork. Individual entries are stored as separate files under ../experiences/, grouped by the contributing developer's username, one file per entry, named after the entry's content summary in lowercase-kebab-case. The experience-pr skill writes new entries there and links them from the index below.

Each entry is routed before submission: general, upstream-benefiting experience goes to the upstream FoloToy/ai-passport as a PR; fork-specific customization stays in the fork per docs/fork-guide.md.

Before starting a new development, check here for previously recorded, reusable experience — alongside plays/ for reference applications.

How to add an entry

Each release may produce one or more reusable, post-release learnings; each is added as its own entry (with the release tag or commit as context). Follow the repository language rule: keep the default .md path in English and the paired .zh_CN.md in Simplified Chinese, aligned in the same change.

Each entry is a single .md file with its paired .zh_CN.md, stored under docs/experiences/<username>/ and named after the entry's content summary in lowercase-kebab-case (for example audio-compression-trade-offs.md), so the filename describes the topic instead of an opaque timestamp. <username> is the contributing developer's GitHub username (lowercase-kebab-case, e.g. shinku-chen), and groups that developer's entries together instead of flattening them directly under docs/experiences/.

A developer is not limited to a single entry. The archive holds one or more entries per developer, each as its own file (with its paired .zh_CN.md) under that developer's folder, and each linked from the index below. Add a new entry for each reusable, post-release learning rather than folding it into an existing one, so each record stays a single, self-contained topic.

Entries

See ../experiences/, and its INDEX.md for the archived-entry table, for the stored entries. The index below lists each entry once it is added.