2026-04-27 5:55 PM
Hello,
I am trying to port the official BLE_Ota example from STM32CubeWB (WB55 project) to an STM32WB30 device, but I am facing multiple compilation issues after importing the project into STM32CubeIDE.
After configuring STM32_WPAN and generating the project for STM32WB30, I get many errors such as:
RTC_HandleTypeDef unknown type
IPCC undeclared
FLASH_ECCR_* undeclared
SCB_* undeclared
LL_* functions not declared
HAL and LL drivers missing or inconsistent
It seems like the project is not correctly recognizing the STM32WB30 device definition, and many peripherals (RTC, IPCC, FLASH, RCC) are not properly included or enabled.
I already tried:
Adding STM32WB30xx define in the compiler preprocessor
Enabling STM32_WPAN middleware (BLE stack full mode)
Checking stm32wbxx_hal_conf.h
However, the issues persist and the project still behaves as if it is partially configured for STM32WB55.
My questions are:
Is the BLE_Ota example officially supported for STM32WB30, or only for WB55?
Are there any specific limitations or required modifications when porting BLE OTA to WB30 (especially memory and linker script changes)?
Is there an official minimal configuration or reference project for BLE OTA on WB30 devices?
Any guidance would be appreciated.
Thank you.
Solved! Go to Solution.
2026-04-28 4:59 AM
Hello @Rodrigo_Furquim and welcome to the Community,
When porting BLE OTA to STM32WB30, pay special attention to Flash memory mapping and SRAM changes.
I recommend this application note: AN5451 Migrating from STM32WB3x/5x to STM32WB3x/5x MCUs microcontrollers for guidelines about migration between STM32WB30 and STM32WB55 microcontrollers on hardware/software, peripheral availability, firmware and tools migration.
2026-04-28 4:59 AM
Hello @Rodrigo_Furquim and welcome to the Community,
When porting BLE OTA to STM32WB30, pay special attention to Flash memory mapping and SRAM changes.
I recommend this application note: AN5451 Migrating from STM32WB3x/5x to STM32WB3x/5x MCUs microcontrollers for guidelines about migration between STM32WB30 and STM32WB55 microcontrollers on hardware/software, peripheral availability, firmware and tools migration.
2026-04-29 6:55 AM
Hi Imen. Thank you so much.
Rodrigo.