Skip to content

Conversation

@etienne-lms
Copy link
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.

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 <[email protected]>
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 <[email protected]>
Re - generate common_ll headers after Cube updates

Signed-off-by: Etienne Carriere <[email protected]>
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 <[email protected]>
Replace tabulation indentation with space char indentation
in CMakeLists.txt to betteer conform with CMake files convention.

Signed-off-by: Etienne Carriere <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
Re - generate common_ll headers after Cube updates

Signed-off-by: Etienne Carriere <[email protected]>
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.

1 participant