How stmicroelectronics/stm32cubewba works
STM32CubeWBA is an embedded firmware package for STM32WBA MCUs, combining reusable drivers and middleware with board projects, examples, and utilities. The principal workflow is an engineer selecting a board project or example, integrating package components, and running firmware on the MCU; the repository also provides standalone libraries and configuration tools. The graph preserves documented product areas and sampled storage and DSP layers. Source excerpts are partial, so links between project applications and individual libraries are omitted where their runtime calls were not shown.
Main entry points: storage_interface.c ITS storage interface · Src/main.c BLE sensor application · Src/main.c TrustZone templates · Src/main.c Low-level examples
Components 15
Drivers and libraries
- CMSIS core headers
Drivers/CMSIS/Core/Include - DSP functions
Drivers/CMSIS/DSP/Source/ControllerFunctions
Middleware
- PSA ITS alternate interface
Middlewares/ST/mbedtls_alt/interfaces/patterns/psa_its_alt.h - Storage interface template
Middlewares/ST/mbedtls_alt/interfaces/patterns/storage_interface_template.c
Firmware projects
- Persistent storage
Projects/Common/WPAN/Modules/PersistentStorage/persistent_storage.c - ITS storage interface
Projects/Common/WPAN/Interfaces/storage_interface.c - BLE sensor application
Projects/B-WBA5M-WPAN/Applications/BLE/BLE_Sensor/Core/Src/main.c - TrustZone templates
Projects/B-WBA5M-WPAN/Templates/TrustZoneDisabled/Src/main.c - Low-level examples
Projects/NUCLEO-WBA55CG/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA_Init/Src/main.c - MbedTLS applications
Projects/NUCLEO-WBA25CE1/Applications/MbedTLS_HW_ALT/Cipher_AES_CBC_EncryptDecrypt_HAL/Src/main.c
Utilities
- Root-of-trust config tool
Utilities/PC_Software/ROT_AppliConfig/AppliCfg/main.py
Other components
- Firmware engineer
- STM32CubeWBA package
- STM32WBA MCU
- Flash hardware
Connections 18
- Firmware engineer → STM32CubeWBA package: selects components
README.md - STM32CubeWBA package → CMSIS core headers: includes drivers
README.md - STM32CubeWBA package → DSP functions: includes libraries
README.md - STM32CubeWBA package → BLE sensor application: provides applications
README.md - STM32CubeWBA package → TrustZone templates: provides templates
README.md - STM32CubeWBA package → Low-level examples: provides examples
README.md - STM32CubeWBA package → MbedTLS applications: provides applications
README.md - STM32CubeWBA package → Root-of-trust config tool: includes utilities
README.md - Firmware engineer → Root-of-trust config tool: configures firmware
- BLE sensor application → STM32WBA MCU: runs firmware
- TrustZone templates → STM32WBA MCU: runs firmware
- Low-level examples → STM32WBA MCU: runs firmware
- MbedTLS applications → STM32WBA MCU: runs firmware
- PSA ITS alternate interface → ITS storage interface: uses interface
Middlewares/ST/mbedtls_alt/interfaces/patterns/psa_its_alt.h - ITS storage interface → Flash hardware: reads and writes
Projects/Common/WPAN/Interfaces/storage_interface.c - Firmware engineer → Persistent storage: uses storage module
- Storage interface template → ITS storage interface: provides pattern
Middlewares/ST/mbedtls_alt/interfaces/patterns/storage_interface_template.c - Firmware engineer → DSP functions: calls functions