Skip to content

simplelink: cc13x2/cc26x2: link Bluetooth 5 CPE patches for BLE builds - #93

Open
kenthauser wants to merge 1 commit into
zephyrproject-rtos:masterfrom
kenthauser:ble5-cpe-patches
Open

simplelink: cc13x2/cc26x2: link Bluetooth 5 CPE patches for BLE builds#93
kenthauser wants to merge 1 commit into
zephyrproject-rtos:masterfrom
kenthauser:ble5-cpe-patches

Conversation

@kenthauser

Copy link
Copy Markdown
Contributor

CONFIG_BLE_CC13XX_CC26XX links only rf_patch_cpe_multi_protocol.c today. 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.c and rf_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).

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 vaishnavachath self-assigned this Aug 6, 2026
@vaishnavachath
vaishnavachath self-requested a review August 6, 2026 14:02
@ssekar15

ssekar15 commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

@kenthauser could you create or link the Zephyr PR for this to ensure CI happy?

@kenthauser

Copy link
Copy Markdown
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.

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.

3 participants