Repository navigation
feat(targets): add Bluetooth option to RadioMaster Zorro - #155
Merged
Merged
Conversation
The Zorro firmware builds the Bluetooth driver on AUX1 (USART3, PB10/PB11) when BLUETOOTH=YES since v2.10.0, the same way as the Pocket. Older releases force BLUETOOTH off for the Zorro, so the option has no effect there, as is already the case for the Boxer on v2.8.5. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds the
bluetoothtag to thezorrotarget, so the Bluetooth option shows in Cloudbuild for the RadioMaster Zorro like it does for the Pocket, Boxer and GX12.Requested in EdgeTX/buddy#119: a Pocket flashed with Zorro firmware (to use the extra switches) can't currently get a Bluetooth build for an ESP32 on AUX1.
Firmware support
radio/src/targets/taranis/CMakeLists.txtmatches the Pocket:if (NOT BLUETOOTH) set(AUX_SERIAL ON), soBLUETOOTH=YESputs the Bluetooth driver on AUX1 (USART3, PB10/PB11).BT_EN_GPIO.bluetooth_driver.cppchecks for this pin before using it, and an ESP32 on AUX1 doesn't need it.set(BLUETOOTH NO)for the Zorro, so on those releases the option has no effect and the build is normal firmware. The Boxer already works the same way on v2.8.5.Why there's no release limit
I didn't add a
version_supported: ">= 2.10.0-0"limit becauseexclude_flagsis applied by flag name across all radios. Both the Cloudbuild UI and Buddy would then hide Bluetooth for every radio when v2.8.5 or v2.9.4 is selected, including the Boxer.Not build-tested: I haven't compiled a Zorro build with
BLUETOOTH=YES.Closes EdgeTX/buddy#119
🤖 Generated with Claude Code