Skip to content

stm32wb0: HAL and BLE lib version update to STM32CubeWB0 1.4.0#332

Merged
erwango merged 12 commits intozephyrproject-rtos:mainfrom
etienne-lms:hal-update-wb0
Mar 16, 2026
Merged

stm32wb0: HAL and BLE lib version update to STM32CubeWB0 1.4.0#332
erwango merged 12 commits intozephyrproject-rtos:mainfrom
etienne-lms:hal-update-wb0

Conversation

@etienne-lms
Copy link
Copy Markdown
Collaborator

Update HAL and BLE library for stm32wb0 from STM32CubeWB0 version 1.0.0 to version 1.4.0.

This P-R updates update_stm32_package.py script to consider stm32wb0 whereas it was previously ignored, stm32wbxx being processed instead.

The HAL/BLE lib version update is done in 2 steps. First commits perfom a hand made update to STM32Cube v1.1.0 in order to handle some file paths changes in STM32CubeWB0 file tree. Last commit uses update_stm32_package.py script to bump from STM32CubeWB0 veresion 1.1.0 to version 1.4.0.

@etienne-lms
Copy link
Copy Markdown
Collaborator Author

Rebased and resolved conflicts related to integration of commit e05bb47 (P-R #337).

@etienne-lms etienne-lms changed the title [RFC] stm32wb0: HAL and BLE lib version update to STM32CubeWB0 1.4.0 stm32wb0: HAL and BLE lib version update to STM32CubeWB0 1.4.0 Mar 13, 2026
etienne-lms and others added 12 commits March 13, 2026 16:21
STM32WB0 series is a bit specific among other SoC series in that the
HAL/LL resources has a single x suffix (stm32wb0x_...) while all other
series have 2 x's (e.g. stm32f4xx). Also, the CMSIS device drivers
directory name in STM32Cube has a single uppercase X suffix
(Drivers/CMSIS/Device/ST/STM32WB0X/) while other series have 2
lowercase x's suffixes (e.g. Drivers/CMSIS/Device/ST/STM32F4x/).

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Update Cube version for STM32WB0x series
on https://github.com/STMicroelectronics
from version v1.0.0
to version v1.1.0

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Re - generate common_ll headers after Cube updates

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Some common source and header files have moved in STM32CubeWB0
from a project specific directory to a common Common/BLE/ directory.
Update local files paths to ease later update using
update_stm32_package.py script.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Replace tabulation indentation with space char indentation
in CMakeLists.txt to betteer conform with CMake files convention.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Update stm32wb0 wireless library from STM32CubeWB0 release tag v1.0.0
to release tag v1.1.0 with Zephyr STM32 HAL local patches re-applied.

This update was done manually, not using scripts/update_stm32_package.py
that won't work due to major source/header file paths changes between
STM32CubeWB0 release tags v1.0.0 and v1.1.0. Later updates will be
able to be handled by the script.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Add wireless library update from STM32CubeWB0.

Factorize use of ble_library.update() for the 3 series (wb, wba, wb0)
in serie_update.py script for sakee of simplicity.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Update Cube version for STM32WB0x series
on https://github.com/STMicroelectronics
from version v1.1.0
to version v1.4.0

While updating, consider changes from commit e05bb47 ("stm32cube:
stm32wb0x: drivers: Fix HAL radio timer for WB07/WB05") regarding
radio timer updates when embedded in a Zephyr application (conditioned
by directive __ZEPHYR__).

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Update Cube version for STM32WB0x series
on https://github.com/STMicroelectronics
from version v1.1.0
to version v1.4.0

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Consider dtm_cmds.h header file added in STMB32CubeWB0 v1.4.0.
Disable build of DTM_CMDS_TxTestStopRequest() in Zephyr context.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Re - generate common_ll headers after Cube updates

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Fix connection issue with some iOS devices.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
@etienne-lms
Copy link
Copy Markdown
Collaborator Author

Rebased.

@etienne-lms etienne-lms requested a review from erwango March 13, 2026 15:25
@erwango erwango merged commit b0dc137 into zephyrproject-rtos:main Mar 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants