chore: merge devel to main (flash_models.sh partition CSV fix) #13

Merged
troed merged 3 commits from devel into main 2026-10-10 18:50:52 +02:00
Owner

Promotes the flash_models.sh partition-CSV fix (PR #12) and the AGENTS.md drift note from devel to main.

  • fix(tools): resolve flash_models.sh partition CSV from the build config (+ host tests; full host suite 61 passed)
  • docs: note the sdkconfig vs sdkconfig.defaults partition-layout drift trap; drop the stale sg dialout guidance
Promotes the flash_models.sh partition-CSV fix (PR #12) and the AGENTS.md drift note from `devel` to `main`. - fix(tools): resolve `flash_models.sh` partition CSV from the build config (+ host tests; full host suite 61 passed) - docs: note the `sdkconfig` vs `sdkconfig.defaults` partition-layout drift trap; drop the stale `sg dialout` guidance
flash_models.sh hardcoded partitions_ota16m.csv, so it diverged from the
firmware whenever the gitignored repo sdkconfig selected a different table
(e.g. a stale sdkconfig still on partitions_sr16m.csv). The mww payload then
landed at the wrong offset, mww_init() aborted on a bad header, and the device
reset-looped (audible as codec clicks).

Resolve the CSV from sdkconfig (CONFIG_PARTITION_TABLE_CUSTOM_FILENAME, else
CONFIG_PARTITION_TABLE_FILENAME); add --csv as the explicit override and fail
clearly when neither is available. Tests cover the override, the sdkconfig
default, and unknown-arg rejection.
The developer is in dialout (gid 488), so the sg wrapper is unnecessary.
Record why a stale sdkconfig can leave the app booting against the wrong mww
offset (mww_init bad header -> device reset loop).
Reviewed-on: ⁨#12⁩
troed merged commit f2c0d2d828 into main 2026-10-10 18:50:52 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starfleet/communicator-esp32!13
No description provided.