Skip to content

Conversation

gangheivt
Copy link

No description provided.

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) ❌ Impostor SHA: zephyrproject-rtos/hal_sifli@f457f7b zephyrproject-rtos/[email protected]

DNM label due to: 1 impostor SHA

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

@github-actions github-actions bot added manifest manifest-hal_sifli DNM (manifest) This PR should not be merged (controlled by action-manifest) and removed manifest manifest-hal_sifli DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Oct 4, 2025
@github-actions github-actions bot added manifest manifest-hal_sifli DNM (manifest) This PR should not be merged (controlled by action-manifest) and removed manifest manifest-hal_sifli DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Oct 4, 2025
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.

fix all compliance issues as well

Comment on lines 109 to 112
#ifndef CONFIG_SIFLI_LXT_DISABLE
/* Enable LXT32K */
HAL_PMU_EnableXTAL32();
if (HAL_PMU_LXTReady() != HAL_OK) {
HAL_ASSERT(0);
}
/* RTC/GTIME/LPTIME Using same low power clock source */
HAL_RTC_ENABLE_LXT();
#endif
Copy link
Member

Choose a reason for hiding this comment

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

any clock stuff should be handled by Zephyr clock driver

- hal
- name: hal_sifli
revision: 7be421088b6fa2910917f3f8b656ded01e21b4e8
revision: f457f7bea184d5ee4ec4ca45bffe49dd5e72ab1a
Copy link
Member

Choose a reason for hiding this comment

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

for bisectability, pull changes from modules before using them, this also needs to point to open PR (pull/X/head), this SHA does not exist in the repo.

Gang He added 9 commits October 6, 2025 21:55
Mbox is hardware interface between Application HCPU and Bluetooth LCPU.

Signed-off-by: Gang He <[email protected]>
Add SiFli Bluetooth HCI driver configurations.

Signed-off-by: Gang He <[email protected]>
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 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

sonarqubecloud bot commented Oct 6, 2025

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.

5 participants