Programowanie · Budowanie i kod
guachat-build
/guachat-build
Buduje firmware GUACHAT, sprawdza budżet pamięci i tworzy scalony obraz 0x0 z sumą kontrolną, gotowy do wgrania.
Ocena i bezpieczeństwo
100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Przestarzałość
Brak sygnałów. Repozytorium zmienione 28.10.2026, bez odwołań do wycofanych modeli i API.
Licencja
GPL-3.0, otwarta.
Co robi i kiedy
Buduje firmware GUACHAT, sprawdza budżet pamięci i tworzy scalony obraz 0x0 z sumą kontrolną, gotowy do wgrania.
Oryginalny opis (EN)
Build GUACHAT firmware, check memory budgets, and produce a 0x0 merged image with checksum. Use when compiling, validating size, or preparing a flashable deliverable.
Jak działa
- When to use
- Steps
- Manual merge
- CI
- Hard rules
- Outputs
- Fallbacks
Sekcje z nagłówków SKILL.md, w oryginale · 103 linii, 473 słów
Podgląd SKILL.md
--- name: guachat-build description: Build GUACHAT firmware, check memory budgets, and produce a 0x0 merged image with checksum. Use when compiling, validating size, or preparing a flashable deliverable. --- # GUACHAT build ## When to use - The user asks to compile or produce firmware. - You need to check RAM/Flash/DROM usage. - You need a merged image flashable from `0x0`. ## Steps 1. Run the complete gate before delivery: ```bash python tools/validate.py --all ``` It runs static checks, host tests, the build, the 0x0 merge, verifies `full.bin` against `manifest.json` (size, SHA256, matching ELF), and runs `tools/verify_firmware.py` to parse the image independently. 2. For a build-only check: ```bash pio run -e guachat_dev ``` `main` has only this one environment; build only the application you are developing. 3. Read the size report: - `RAM` and `Flash` lines - `drom0_0_seg` line - the dev baseline is small, but fonts and constant tables grow DROM quickly. 4. Inspect the artifacts: ```bash cat build/guachat-dev-full.bin.sha256 cat build/guachat-dev-full.manifest.json ``` The manifest binds the merged image, application, bootloader, partitions, ELF, and MAP with their SHA256. 5. Verify independently (the merge tool already does this unless `--no-verify`): ```bash python tools/verify_firmware.py python tools/verify_firmware.py --image-only --image build/guachat-dev-full.bin ``` It checks chip/flash size, a DIO bootloader (QIO fails), partition table magic and MD5, range/overlap, the app partition, the app descriptor, the embedded ELF SHA256, and component bytes at `0x0/0x8000/0xE000/0x10000`. A matching manifest SHA256 is not a substitute. 6. Create a release archive when delivering: ```bash python tools/archive_firmware.py create --env guachat_dev python tools/archive_firmware.py verify dist/firmware/<sha256> ``` The directory is named by the merged-image SHA256 and contains the image, checksum, manifest, `firmware.elf`, `firmware.map`, `README.txt`, and `archive.json`. It is about 32 MB; `dist/` is gitignored. 7. Report: - Build status (`PASS / FAIL / NOT RUN`) - memory percentages - artifact path, size, SHA256, manifest path, archive path - warnings (RF/wireless notices are not failures) ## Manual merge If you only need to re-merge an existing build: ```bash python tools/merge_firmware.py --no-build ``` Without `--no-build`, the tool builds first and then merges. ## CI - `.github/workflows/validate.yml` runs `validate.py --static --host`. - `.github/workflows/firmware.yml` builds `guachat_dev`, merges, verifies, archives, and uploads the image, checksum, manifest, restore zip, and `dist/firmware/**` (14-day retention). - Gitee does not run GitHub Actions. Run the same gate locally before delivering from a Gitee mirror. ## Hard rules - Flashing `full.bin` from `0x0` writes the NVS region (`0x9000`) and otadata (`0xE000`) but does **not** reliably erase NVS: the merged image is 0xFF-filled there, and a 2026-10-27 flash kept the DRV2605L calibration. To keep NVS, use `pio run -e guachat_dev -t upload` or write only `firmware.bin` at `0x10000`; to start from scratch, erase NVS explicitly first. - Do not force `--flash_mode qio`. The bootloader header is DIO; QIO causes a `TG0WDT_SYS_RST` boot loop. - Do not run `pio pkg update`; it may replace the vendored LVGL. - Do not reintroduce UI-generator output or application business code into `main`. ## Outputs ```text build/guachat-dev-full.bin build/guachat-dev-full.bin.sha256 build/guachat-dev-full.manifest.json dist/firmware/<sha256>/ # only when archiving ``` ## Fallbacks - `docs/build-and-flash.md` - `docs/troubleshooting.md`
Pliki w paczce (2)
- SKILL.md 4 KB
- SKILL.zh_CN.md 4 KB
Wersje
W bazie nie ma innych skilli o nazwie guachat-build.
Migawka bazy z 13.11.2026 · wersja paczki fc64f15e65e9 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Podobne skille
- 100guachat-setup
Przygotowuje czysty komputer do budowania firmware GUACHAT: PlatformIO, Python, toolchainy i pierwszą kompilację. - 100guachat-develop
Wdraża nową aplikację lub interfejs dla płytki GUACHAT 2G4 na bazie BSP: nowe ekrany i funkcje firmware. - 100esp32-reproducible-firmware-build
Przegląda, czy budowanie firmware ESP32 daje identyczny wynik przy każdej kompilacji, także na innej maszynie. - 95firmware-build
Kompiluje projekt firmware Attaky do zestawu plików .bin: wykrywa narzędzia, buduje i poprawia błędy, z ograniczeniem liczby prób. - 90esp32-ipv6-readiness-review
Sprawdza, czy firmware ESP32 jest gotowy na IPv6, i wskazuje miejsca, które działają tylko przy protokole IPv4.