-
Notifications
You must be signed in to change notification settings - Fork 7.8k
boards: silabs: Add support for Silabs EFR32ZG28 SoC #89597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Hello @shontal1005, and thank you very much for your first pull request to the Zephyr project! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is missing a documentation page
see https://github.com/zephyrproject-rtos/zephyr/blob/76e1fc7713a4a3f2b50c497afddec0364a34c10b/doc/templates/board.tmpl or other SiLabs boards for examples
Thanks!
The commit is large. Would you mind to split it in two parts (or more)? Maybe one commit for the soc and one commit for the board? BTW, don't this PR require any change on the hal? If yes, you need to update |
dts/arm/silabs/efr32xg28.dtsi
Outdated
compatible = "fixed-factor-clock"; | ||
clocks = <&lfrco>; | ||
}; | ||
wdog0clk: wdog0clk { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
peripherals need to be disabled in the base dts file, then enabled as-needed by boards
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that on all other platforms the peripherals are not disabled
config SOC_GECKO_SDID | ||
default 235 if SOC_SERIES_EFR32ZG28 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this is an existing symbol, put it in Kconfig.defconfig
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand, it seems like all the other platforms do the same thing as I did
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then they need to move Kconfig
adds new symbols, if you are changing the default of an existing symbol then it goes in Kconfig.defconfig
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shontal1005, do you want to carry this change or you prefer I open a PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the change I made is what you meant, I can open another PR.
ed4d2bf
to
9e2c4e5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! The HAL PR is merged, please update west.yml to the new revision (c4d2f7bcfb591bc59b7b9f800a10017f62de23cf
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rewrite the commit that changed the west.yml hal_silabs reference instead of adding an additional commit. References to PRs in the HAL tree shouldn't remain in the history after the merge. See https://docs.zephyrproject.org/latest/contribute/contributor_expectations.html#pr-requirements.
west.yml
Outdated
@@ -235,7 +235,7 @@ manifest: | |||
groups: | |||
- hal | |||
- name: hal_silabs | |||
revision: 13343bccf850eb7b6541f6e71a8d2a880209850b | |||
revision: 0b58229357750b8bd0ce52e514c54ace6abcfeba |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You no longer need to update the hal pointer, since this revision has already been included through another PR. You would notice if this PR was rebased. But as long as it's the same, it doesn't hurt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have rebased the PR since the revision was changed
Add support for Silicon Labs EFR32ZG28 SoC. Signed-off-by: Shontal Biton <[email protected]>
Add support for Silicon Labs BRD4401C (a.k.a xG28-RB4401C) Radio Board. Signed-off-by: Shontal Biton <[email protected]>
Added support for xg28 in eeprom test. Signed-off-by: Shontal Biton <[email protected]>
|
Adds support for Silicon Labs EFR32ZG28 SoC and BRD4401C Radio Board.