simplelink: cc13x2/cc26x2: link Bluetooth 5 CPE patches for BLE builds - #93
Open
kenthauser wants to merge 1 commit into
Open
simplelink: cc13x2/cc26x2: link Bluetooth 5 CPE patches for BLE builds#93kenthauser wants to merge 1 commit into
kenthauser wants to merge 1 commit into
Conversation
CONFIG_BLE_CC13XX_CC26XX currently links only rf_patch_cpe_multi_protocol.c. Bluetooth 5 controller features on CC13x2/CC26x2 and the x7 variants (2M and Coded PHY, extended advertising) additionally require the BT5 CPE patches shipped in the SDK: rf_patch_cpe_bt5.c and rf_patch_cpe_multi_bt5_coex.c. Add both to the same gated source list in the cc13x2_cc26x2 and cc13x2x7_cc26x2x7 device trees. The patch objects are const arrays referenced only when an application selects the corresponding patch in its RF setup command; unreferenced objects are dropped at link time, so existing BLE and non-BLE applications are unaffected. Signed-off-by: Kent Hauser <kent@khauser.net>
vaishnavachath
self-requested a review
August 6, 2026 14:02
vaishnavachath
approved these changes
Aug 6, 2026
Collaborator
|
@kenthauser could you create or link the Zephyr PR for this to ensure CI happy? |
Contributor
Author
|
@ssekar15 There is no current Zephyr issue associated with this PR, as there is no current Zephyr BLE controller for CC26xx atm. But if one were to appear, this patch would be required. |
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.
CONFIG_BLE_CC13XX_CC26XXlinks onlyrf_patch_cpe_multi_protocol.ctoday. Bluetooth 5 controller features on CC13x2/CC26x2 (and the x7 variants) — 2M/Coded PHY, extended advertising — require the BT5 CPE patches already shipped in the SDK tree:rf_patch_cpe_bt5.candrf_patch_cpe_multi_bt5_coex.c. This adds them to the same gated source list in both device trees.The patch objects are const arrays referenced only when the application's RF setup command selects them; unreferenced objects are dropped at link time, so existing BLE and non-BLE applications see no size or behavior change.
Exercised extensively on CC2652R7 (Zephyr software link-layer port, PTS-tested).