Skip to content

Split companion radio Internet OTA into separate opt-in _cloud_ota envs#7

Merged
polipl merged 2 commits into
mainfrom
feature/companion-cloud-ota-opt-in
Jun 7, 2026
Merged

Split companion radio Internet OTA into separate opt-in _cloud_ota envs#7
polipl merged 2 commits into
mainfrom
feature/companion-cloud-ota-opt-in

Conversation

@polipl
Copy link
Copy Markdown
Owner

@polipl polipl commented Jun 7, 2026

Summary

  • Moves Internet OTA support out of the 9 base *_companion_radio_{usb,ble,wifi} envs (heltec_v4 / Heltec_v3 / Xiao_S3_WIO) into new derived *_cloud_ota envs that extends the base envs
  • Restores the 9 base companion envs to be byte-identical to their pre-OTA-feature upstream originals (verified via diff against the commit prior to PR Add Internet OTA support for companion radio (usb/ble/wifi) #6) — this keeps the project mergeable with upstream meshcore-dev/MeshCore with zero unintended drift
  • Mirrors the existing heltec_v4_repeater / heltec_v4_repeater_cloud_ota convention: ${esp32_internet_ota.build_flags}, ${poli_build.build_flags}, OTA_BASE_URL, OTA_VARIANT now live only in the _cloud_ota envs
  • Updates build_firmware.sh to build the _cloud_ota variants for companion radio

Test plan

  • All 9 new *_companion_radio_{usb,ble,wifi}_cloud_ota envs build successfully (pio run)
  • Verified via diff that all 9 base companion envs are byte-identical to the pre-OTA-feature originals (commit c035d2f1^1)
  • Spot-rebuilt 1 base env + 3 _cloud_ota envs across all three board families to confirm no regressions

🤖 Generated with Claude Code

polipl and others added 2 commits June 7, 2026 21:07
The 9 base companion_radio envs (heltec_v4/Heltec_v3/Xiao_S3_WIO ×
usb/ble/wifi) had Internet OTA support baked in directly, which created
permanent drift from upstream MeshCore. Move the OTA-related build flags
(esp32_internet_ota.build_flags, poli_build.build_flags, OTA_BASE_URL,
OTA_VARIANT) into new derived *_cloud_ota envs that extend the base envs,
restoring the base envs to be byte-identical to their upstream originals.
This mirrors the existing heltec_v4_repeater / heltec_v4_repeater_cloud_ota
convention. build_firmware.sh now builds the *_cloud_ota variants.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@polipl polipl merged commit 928364c into main Jun 7, 2026
12 checks passed
@polipl polipl deleted the feature/companion-cloud-ota-opt-in branch June 7, 2026 19:30
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