You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Give a WisMesh Tag on its stock RAK4631 bootloader the Tag's own build over USB - #183
A WisMesh Tag ships with the RAK4631 bootloader, so its drive reports Board-ID WisBlock-RAK4631-Board. The USB bootloader upgrade then picks the RAK4631 build for it, while the Bluetooth upgrade (otafixBleDfuByTarget.rak_wismeshtag) installs the Tag's own build. This adds a targetOverrides entry under WisBlock-RAK4631-Board for rak_wismeshtag, the same way the L1 Pro 1W is handled under TRACKER L1, so both paths put the Tag's build on a Tag.
What changed
data/maintenanceUf2.json: WisBlock-RAK4631-Board.targetOverrides.rak_wismeshtag → wismesh_tag, sha256 b6312ac6…268d, the same digest as the existing WisMesh-Tag row. Checked against update-wismesh_tag_bootloader-2.6.2_nosd.uf2 from the 2.6.2 release.
Both bootloader builds use USB ID 0x239A:0x0029 (src/boards/wiscore_rak4631_board/board.h and src/boards/wismesh_tag/board.h at 2.6.2), so a stock RAK4631 bootloader accepts the Tag's update file. The two builds differ only in LED order, the DFU button pin and the RAK4631's OLED/3V3_S code.
Testing
scripts/validate-maintenance-uf2.ts: OK (23 boards, 18 supported targets). tools/validate.ts: OK.
vitest run fails locally before and after this change on a missing generated file (worker/src/generated/documents.js), not on the manifest.
No actionable comments were generated in the recent review.
Walkthrough
The maintenance UF2 manifest adds a targetOverrides mapping for rak_wismeshtag to the WisBlock-RAK4631-Board entry. The existing RAK4631 slug and hash remain unchanged.
Changes: UF2 target override
Layer / File(s)
Summary
Add the Tag target override data/maintenanceUf2.json
The WisBlock-RAK4631-Board entry adds a mapping from rak_wismeshtag to the wismesh_tag slug and its SHA-256 value. Its existing slug and hash are unchanged.
meshtastic/api#170: Introduces the targetOverrides shape and validation rules used by this entry.
meshtastic/api#172: Adds the BLE target mapping for rak_wismeshtag, which uses the same target and package slug.
Suggested reviewers:jamesarich
Merge Risk: Minimal · up to 5b12c
This adds a manifest override so USB bootloader upgrades can select the WisMesh Tag build. The default RAK4631 image is unchanged. No concrete merge-blocking risk was found.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names a real part of the change: a WisMesh Tag board receives its own build when it reports the stock RAK4631 bootloader Board-ID over USB. The diff adds a targetOverrides entry under WisBlo…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names a real part of the change: a WisMesh Tag board receives its own build when it reports the stock RAK4631 bootloader Board-ID over USB. The diff adds a targetOverrides entry under WisBlock-RAK4631-Board for rak_wismeshtag in data/maintenanceUf2.json, which matches that aim. The title is long (79 characters, 15 words) and uses some noise, but it still identifies the primary change.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
A rabbit checks the UF2 map, A Tag now finds its slug and hash. The old RAK path stays as before, One override joins the manifest store. I nibble greens and hop once more.
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: 3129199e-c976-4581-b716-f50b3755a41f
Commits
Reviewing files that changed from the base of the PR and between 2bbc42d and 5b12c04.
Files selected for processing: 1
data/maintenanceUf2.json
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A WisMesh Tag ships with the RAK4631 bootloader, so its drive reports Board-ID
WisBlock-RAK4631-Board. The USB bootloader upgrade then picks the RAK4631 build for it, while the Bluetooth upgrade (otafixBleDfuByTarget.rak_wismeshtag) installs the Tag's own build. This adds atargetOverridesentry underWisBlock-RAK4631-Boardforrak_wismeshtag, the same way the L1 Pro 1W is handled underTRACKER L1, so both paths put the Tag's build on a Tag.What changed
data/maintenanceUf2.json:WisBlock-RAK4631-Board.targetOverrides.rak_wismeshtag→wismesh_tag, sha256b6312ac6…268d, the same digest as the existingWisMesh-Tagrow. Checked againstupdate-wismesh_tag_bootloader-2.6.2_nosd.uf2from the 2.6.2 release.src/boards/wiscore_rak4631_board/board.handsrc/boards/wismesh_tag/board.hat 2.6.2), so a stock RAK4631 bootloader accepts the Tag's update file. The two builds differ only in LED order, the DFU button pin and the RAK4631's OLED/3V3_S code.Testing
scripts/validate-maintenance-uf2.ts: OK (23 boards, 18 supported targets).tools/validate.ts: OK.vitest runfails locally before and after this change on a missing generated file (worker/src/generated/documents.js), not on the manifest.Related: meshtastic/Meshtastic-Apple#3163 (the same case for the Bluetooth upgrade).
Summary by CodeRabbit