Skip to main content
Associate
April 28, 2026
Solved

STM32WB30CE BLE OTA

  • April 28, 2026
  • 2 replies
  • 192 views

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.

Best answer by Imen.D

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. 

 

2 replies

Imen.DBest answer
ST Technical Moderator
April 28, 2026

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. 

 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Associate
April 29, 2026

Hi Imen. Thank you so much.

Rodrigo.