|
2 | 2 |
|
3 | 3 | All notable changes to Flytrap are documented here. |
4 | 4 |
|
| 5 | +## [0.5.0] — 2026-07-17 |
| 6 | + |
| 7 | +Flash the ESP firmware from the Flipper — no computer. |
| 8 | + |
| 9 | +### Flipper app |
| 10 | +- **Flash Firmware** — a new menu item flashes the ESP over the GPIO UART using a |
| 11 | + vendored [esp-serial-flasher](https://github.com/espressif/esp-serial-flasher) |
| 12 | + (Apache-2.0) + a small `furi_hal_serial` port. Pick a firmware bundle from the SD |
| 13 | + (a `flash.txt` manifest of `<offset> <file>`); it **auto-detects** the board in |
| 14 | + download mode (hold BOOT, tap RESET) via the stub loader, streams each image with |
| 15 | + MD5 verify, and reboots the board. Progress + result on-device. |
| 16 | +- **Start Portal self-heals** — if the board isn't running Flytrap firmware (no |
| 17 | + beacon), Start now offers **Install firmware**, runs the flasher, and on |
| 18 | + **Continue** returns to the start flow, re-detects the flashed board, and brings |
| 19 | + the portal up. No computer, no separate step. |
| 20 | +- Only the **ESP32-S2** stub is compiled in (the full multi-chip stub table would |
| 21 | + balloon the fap's RAM footprint and OOM the app). |
| 22 | +- **One-step install** — the portal and firmware bundle are bundled in the fap |
| 23 | + (`fap_file_assets`, extracted to `apps_assets` on launch), so a fresh user just |
| 24 | + installs the `.fap`; the defaults point at the bundled assets. |
| 25 | + |
| 26 | +### Fixed |
| 27 | +- **OOM starting the portal.** `furi_string_replace_all` on the ~38 KB portal built |
| 28 | + a second full copy (~2x heap); replaced with an in-place `furi_string_replace_str` |
| 29 | + loop. (Surfaced once the flasher library reduced free heap.) |
| 30 | + |
| 31 | +### Tooling / CI |
| 32 | +- `tools/deploy-to-flipper.py` also uploads a firmware bundle to |
| 33 | + `/ext/apps_data/flytrap/firmware/flytrap/` (built images + `boot_app0.bin` + |
| 34 | + `flash.txt`). |
| 35 | +- The release workflow attaches a ready-to-flash `flytrap-firmware-bundle.zip`. |
| 36 | + |
5 | 37 | ## [0.4.1] — 2026-07-17 |
6 | 38 |
|
7 | 39 | Fixes for the portal-start flow, all found on hardware. |
|
0 commit comments