2.12. When selecting microcontrollers in the STM32WBA series ¶
Regenerating some STM32WBA Bluetooth® Low Energy (BLE) projects with STM32CubeMX, using STM32CubeWBA v1.11.0, can introduce invalid build settings into the STM32CubeIDE project configuration. This issue can lead to compiler warnings or build failures after code generation.
Workaround : Regenerate the project from scratch to create a clean project configuration. Then replace the value of
com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaultsin the original.cprojectfile. After applying either workaround, regenerate the code from STM32CubeMX and rebuild the project in STM32CubeIDE.Creating a new project with an STM32WBA microcontroller, enabling BLE in the STM32_WPAN middleware, and generating the build files using CMake or Makefile may result in a compilation error due to the reversed linking order of the libraries
stm32wba_ble_stack_full.aandWBA5_LinkLayer_BLE_Full_lib.a.To solve the issue, reverse the order of the two libraries in the Makefile or CMake configuration.
The execution in EWARM or KEIL IDEs of an STM32WBA project enabling TrustZone and configuring GTZC/SAU may fail due to a linker files mismatch.
To resolve this issue, manually update the RAM address definitions in the linker files for WBA5/WBA5M and WBA6/WBA6M devices.
Some unexpected behaviors might appear during the creation of an STM32WBA63 project: a non-updated STM32_WPAN Advertising elements menu, erroneous warnings at the peripheral configuration, and failures of IOC file reopening that lead to STM32CubeMX’s home screen.
When the selected middleware is STM32WPAN for Bluetooth® Low Energy with the parameter
CFG_BLE_NUM_LINKset above 8, use the Bluetooth® Low Energy link layer libraryLinkLayer_BLE_Basic_20_links_lib.awith the corresponding header file.When building the BLE_Audio_TMAP_Central example for the STM32WBA55G-DK1 in STM32CubeIDE after being processed by STM32CubeMX, some library files might be missing or incorrectly referenced, leading to build errors.
To ensure proper library inclusion after installing the example: - Enable Library Copying. - Or manually update paths in the
.extSettingsfile.