Skip to content

Conversation

HoZHel
Copy link
Collaborator

@HoZHel HoZHel commented Aug 12, 2025

Provide support for using the radio timer as the system clock when CONFIG_STM32_RADIO_TIMER is set.

Transfer BLEPLAT_SetRadioTimerValue function to the Bluetooth HCI driver in Zephyr.

Supplementary PR #94402

Provide support for using the radio timer as the system clock when
CONFIG_STM32_RADIO_TIMER is set.

Transfer BLEPLAT_SetRadioTimerValue function to the Bluetooth HCI driver
in Zephyr.

Signed-off-by: Ali Hozhabri <[email protected]>
@@ -8,5 +8,7 @@
if(CONFIG_HAS_STM32LIB)
add_subdirectory_ifdef(CONFIG_BT_STM32_IPM stm32wb)
add_subdirectory_ifdef(CONFIG_BT_STM32WBA stm32wba)
add_subdirectory_ifdef(CONFIG_BT_STM32WB0 stm32wb0)
if(CONFIG_BT_STM32WB0 OR CONFIG_STM32_RADIO_TIMER)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implicit assumption here is that radio timer is only available on wb0.
You could also check if we are in wb0.
But it's really a detail.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean as an extra check? Or instead of this line?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had the same thought. Would be fine if the Kconfig symbol was WB0-tainted (e.g., CONFIG_STM32WB0_RADIO_TIMER)

@erwango erwango added the DNM label Aug 22, 2025
@erwango
Copy link
Member

erwango commented Aug 22, 2025

DNM untill zephyrproject-rtos/zephyr#94402 is approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants