-
Notifications
You must be signed in to change notification settings - Fork 104
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
Introduce the STM32WB0 series #230
Merged
erwango
merged 7 commits into
zephyrproject-rtos:main
from
mathieuchopstm:stm32wb0_cube_introduction
Sep 10, 2024
Merged
Introduce the STM32WB0 series #230
erwango
merged 7 commits into
zephyrproject-rtos:main
from
mathieuchopstm:stm32wb0_cube_introduction
Sep 10, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mathieuchopstm
force-pushed
the
stm32wb0_cube_introduction
branch
3 times, most recently
from
August 30, 2024 15:43
0e092c0
to
106f449
Compare
V2:
|
djiatsaf-st
approved these changes
Sep 3, 2024
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.
LGTM
erwango
reviewed
Sep 5, 2024
erwango
requested changes
Sep 5, 2024
mathieuchopstm
force-pushed
the
stm32wb0_cube_introduction
branch
from
September 5, 2024 12:05
106f449
to
8832190
Compare
v2:
|
erwango
requested changes
Sep 6, 2024
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.
Otherwise LGTM
mathieuchopstm
force-pushed
the
stm32wb0_cube_introduction
branch
from
September 9, 2024 09:22
8832190
to
c4c4a5f
Compare
V3:
|
This commit adds support for the STM32WB0 serie in genpinctrl by providing the serie's pinctrl base address, and modifying the script's configuration file to accept the STM32WB0 names for ADC input pins. Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
Add support for series residing in folders ending with a single 'x', such as the STM32WB0 series (residing in "stm32cube/stm32wb0x"). For these series, the Cube HAL/LL headers are named with a single 'x' at the end, but the SOC_SERIES Kconfig symbol also ends with an X, such as CONFIG_SOC_SERIES_STM32WB0X. Update the genllheaders template to accept such series gracefully. Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
Add documentation in the top-level CMakeLists for the STM32Cube library. Also add support for STM32Cube package where the series' name contains a single `x`, such as the STM32WB0 series. Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
Generated from STM32_open_pin_data repository. (commit f4ec11f00e762e37ffc4020f6d4f20d225bc061d) Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
Add the STM32CubeWB0 package to hal_stm32. Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
Add patches to make the STM32CubeWB0 package compatible with Zephyr. Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
Regenerate generic LL headers after integration of STM32CubeWB0. Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
mathieuchopstm
force-pushed
the
stm32wb0_cube_introduction
branch
from
September 9, 2024 13:58
c4c4a5f
to
dab1b41
Compare
erwango
approved these changes
Sep 9, 2024
gautierg-st
approved these changes
Sep 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduce the STM32CubeWB0 package in hal_stm32 for the upcoming introduction of the STM32WB0 series support in Zephyr.
This PR includes two little hacks to work around a difference in the naming convention between STM32CubeWB0 and other Cube packages, that are clearly annotated with a
HACK:
comment:genllheaders.py
, replace<stm32wb0xx_
with<stm32wb0x_
) after rendering the common LL header to fix wrong filenames being usedstm32cube/stm32wb0xx/CMakeLists.txt
, add-DSTM32WB0n
define in addition to inappropriate-DSTM32WB0nxx
from top-levelCMakeLists.txt
n
here is the SoC number -5
/6
/7
/9
)-DSTM32WB0yxx
define is not removed to avoid modifying top-levelCMakeLists.txt