Skip to content

Board manifests, ESP32-S3 target and per-board release images - #3

Merged
ShivtejG236 merged 2 commits into
mainfrom
feat/multi-board
Nov 14, 2026
Merged

ShivtejG236 merged 2 commits into
mainfrom
feat/multi-board

Conversation

@ShivtejG236

Copy link
Copy Markdown
Member

Step 4 of the plan. Stacked on #2: merge that first, then retarget this to main.

What changes

  • boards/<id>.json: one manifest per board with pins, GPS UART, flash layout and status. scripts/board.py applies it to the build; config.h no longer hard-codes pins.
  • New board: esp32-s3-devkitc-1.
  • tools/release.py: merges bootloader + partitions + boot_app0 + app into one image per board (flashable at 0x0) and writes manifest.json with version, git revision, protocol version and a SHA-256 per image. This is the file nav flash reads.
  • release.yml now publishes every board plus the manifest, and checks that the tag matches MSNS_FW_VERSION.
  • tools/check_boards.py: fails CI if a manifest has no PlatformIO environment or the reverse.
  • docs/boards.md: supported boards and the four steps to add one.

Testing

  • check_boards.py passes locally.
  • release.py ran locally against a fake build tree: it produced both images and a manifest that navkit's resolver accepts. This PR's CI runs it against the real build output as a dry run and uploads the images as an artifact.
  • The ESP32-S3 build has never run on hardware. Its pins (SDA 8, SCL 9, GPS RX 18, TX 17) and flash settings (8 MB, 80 MHz) are my choices for a DevKitC-1 N8; correct them in the manifest if your board differs. The manifest's status field says this, and it is carried into the release manifest.
  • The merged-image offsets are still untested on a real board until the first release is flashed.

Generated by Claude Code

@ShivtejG236
ShivtejG236 added this pull request to stack #5 November 14, 2026 01:41
Base automatically changed from feat/binary-wire-protocol to main November 14, 2026 01:41
- boards/<id>.json holds pins, GPS UART, flash layout and status;
  scripts/board.py applies it to the build as preprocessor definitions
- add esp32-s3-devkitc-1 alongside esp32dev
- tools/release.py merges one flashable image per board and writes
  manifest.json for nav flash; the release workflow publishes both
- tools/check_boards.py keeps manifests and PlatformIO environments in step
- CI builds every environment and dry-runs the release assembly
PlatformIO reserves a project-level boards/ directory for its own custom
board definitions and rejected the manifests.
@ShivtejG236
ShivtejG236 merged commit 8e513c0 into main Nov 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant