cancel
Showing results for 
Search instead for 
Did you mean: 

Missing stm32wbxx.h in beacon project

ZAIDS-S23
Associate III

Greetings

 

I have a STM32WB55 P-Nucleo board, with the STM322B55 dongle. I am trying to flash the beacon project onto the nucleo board. 

I have downloaded the STM32WB repo from the github link

I unzipped the file and selected the .project from the following route:

STM32CubeWB-master\Projects\P-NUCLEO-WB55.Nucleo\Applications\BLE\BLE_Beacon\STM32CubeIDE.

I tried building the project but errors are thrown that entails the file stm32wbxx.h is missing. How can I solve this?

Thanks

6 REPLIES 6
STTwo-32
ST Employee

Hello @ZAIDS-S23 

I've answered your question on this FAQ. If it solve your issue, a kudo From you on the wiki will really help to make it visible for others who have the same behavior.

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi 

I've taken your advice and cloned the git repo as per the answer you gave. I opened the .proj file for the Beacon, and tried building the project. I get the following error:


non constant or forward reference address expression for section .ARM.extab 

Any way to solve this error?

Regards

Could you please open .cproject file or call it directly using the import project of the STM32CubeIDE.

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

I tried clicking on the .cproject itself and it did not open in CubeIDE.

Which option should I select to open it from the Import option?

ZAIDSS23_0-1733513008534.png

 

Could you please try to import it using the following Methode:

Go to File > Open Projects from File System... > and select the directory of your project. After that, on the Folder file select the STM32CubeIDE folder. "

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

I've tried this and tried building the application, I still get the same error i.e. non constant or forward reference address expression for section .ARM.extab.

Just for reference, I am using STM32CubeIDE 1.12.1. 

I've tried updating the IDE itself, which then presents the error 

An error occurred while collecting items to be installed
session context was:(profile=STM32CubeIDE, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.antlr.runtime,4.10.1.v20230210-1433

 

Edit: I uninstalled STM32CubeIDE and I am trying to reinstall it. I'm not able to download an installation file for 1.17.0 from the ST website. This was also the case when trying to download STM32CubeWB.