Skip to content

Conversation

gangheivt
Copy link

@gangheivt gangheivt commented Sep 29, 2025

This PR is to add Bluetooth HCI driver for SiFli SF32LB chipsets. The driver is using SiFli specific IPC mailbox to communicate with SF32LB Bluetooth controller running on LCPU core in the chipset,

Copy link

Hello @gangheivt, and thank you very much for your first pull request to the Zephyr project!
Our Continuous Integration pipeline will execute a series of checks on your Pull Request commit messages and code, and you are expected to address any failures by updating the PR. Please take a look at our commit message guidelines to find out how to format your commit messages, and at our contribution workflow to understand how to update your Pull Request. If you haven't already, please make sure to review the project's Contributor Expectations and update (by amending and force-pushing the commits) your pull request if necessary.
If you are stuck or need help please join us on Discord and ask your question there. Additionally, you can escalate the review when applicable. 😊

Copy link
Member

@gmarull gmarull left a comment

Choose a reason for hiding this comment

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

looks like this is missing a PR in HAL and a manifest update?

@gangheivt
Copy link
Author

looks like this is missing a PR in HAL and a manifest update?
Please refer to this PR.
zephyrproject-rtos/hal_sifli#1
Thanks

@gmarull
Copy link
Member

gmarull commented Sep 30, 2025

looks like this is missing a PR in HAL and a manifest update?
Please refer to this PR.
zephyrproject-rtos/hal_sifli#1
Thanks

Manifest needs to be updated accordingly

@jhedberg
Copy link
Member

jhedberg commented Oct 3, 2025

@gangheivt as requested in #96692 (comment) you need to add the appropriate reference in west.yml to your HAL PR as per https://docs.zephyrproject.org/latest/develop/modules.html#process-for-submitting-changes-to-existing-modules

Additionally, please do a rebase to get rid of the merge commits - those are not allowed in Zephyr pull requests.

Copy link

github-actions bot commented Oct 4, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_sifli zephyrproject-rtos/hal_sifli@7be4210 (main) zephyrproject-rtos/hal_sifli#1 zephyrproject-rtos/hal_sifli#1/files

Additional metadata changed:

Name URL Submodules West cmds module.yml Blobs
hal_sifli 2x 🆕

DNM label due to: 1 project with PR revision, 1 project with metadata changes and 2 blob changes

Note: This message is automatically posted and updated by the Manifest GitHub Action.

Add SiFli Bluetooth HCI driver configurations.

Signed-off-by: Gang He <[email protected]>
@gangheivt gangheivt force-pushed the main branch 3 times, most recently from 4093b68 to 0402d21 Compare October 10, 2025 06:12
@gmarull
Copy link
Member

gmarull commented Oct 13, 2025

0402d21 is still wrong: does not point to a PR, so CI cannot even run. Please add "ble" to the board's "supported" list.

@gangheivt
Copy link
Author

0402d21 is still wrong: does not point to a PR, so CI cannot even run. Please add "ble" to the board's "supported" list.

Done

@gangheivt gangheivt closed this Oct 15, 2025
@gangheivt gangheivt reopened this Oct 15, 2025
@cvinayak cvinayak removed their request for review October 15, 2025 06:43
Gang He added 8 commits October 18, 2025 10:33
Add configuration support for Bluetooth HCI driver.

Signed-off-by: Gang He <[email protected]>
Add mailbox in board devicetree, used in Bluetooth HCI driver.

Signed-off-by: Gang He <[email protected]>
Add configuration for SiFli SF32LB chipset Bluetooth HCI driver.

Signed-off-by: Gang He <[email protected]>
Add CMakefile script needed for Bluetooth HCI driver.

Signed-off-by: Gang He <[email protected]>
SiFli HAL is using HAL_Delay_us to delay for certain microseconds.
This is a weak function. I overwrites this function with Zephyr k_sleep.

Signed-off-by: Gang He <[email protected]>
Add SF32LB IPC zephyr porting header file.

Signed-off-by: Gang He <[email protected]>
Add Bluetooth driver for SF32LB chipsets.

Signed-off-by: Gang He <[email protected]>
- Add Bluetooth HCI driver support for SF32LB chipsets

Signed-off-by: Gang He <[email protected]>
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants