Skip to main content
Associate
December 7, 2024
Solved

Error in building BLE_HeartRate_ota or BLE_p2pServer_ota with STM32CubeIDE

  • December 7, 2024
  • 2 replies
  • 1055 views

Env:

  • OS: macOS Monterey 12.7.6
  • IDE: STM32CubeIDE 1.17.0
  • Toolchain:  /Applications/ArmGNUToolchain/13.3.rel1
  • Board: NUCLEO-WBA55CG

 

Step:

1. cloen repo

% git clone https://github.com/STMicroelectronics/STM32CubeWBA.git

git:(main) % git co v1.5.0 -b v1.5.0

git:(heads/v1.5.0) % git submodule update --init --recursive

 

2.Create Projects

  • Open STM32CubeIDE
  • Create Project from exists STM32CubeMX COnfiguration file(.ioc)
  • Choose .ioc file for Project:
    • BLE_ApplicationInstallManager: Projects/NUCLEO-WBA55CG/Applications/BLE/BLE_ApplicationInstallManager
    • BLE_HeartRate_ota: Projects/NUCLEO-WBA55CG/Applications/BLE/BLE_HeartRate_ota
    • BLE_p2pServer_ota: Projects/NUCLEO-WBA55CG/Applications/BLE/BLE_p2pServer_ota
  • uncheck -fcyclomatic-complexity
  • Build

 

3. Result:

  • BLE_ApplicationInstallManager: Build Finished
  • BLE_HeartRate_ota: Build Failed
  • BLE_p2pServer_ota: Build Failed

 

What's the problem?

This topic has been closed for replies.
Best answer by STTwo-32

Hello @HonestQiao 

I suggest you to follow this steps:

  • Clone the repository using this command:
git clone --recursive https://github.com/STMicroelectronics/STM32CubeWBA.git
  • Go to "STM32CubeWBA\Projects\NUCLEO-WBA55CG\Applications\BLE\BLE_p2pServer_ota\STM32CubeIDE" and double-click on the .cproject to open it (make sure the STM32CubeIDE you are using is the last version V1.21.0).

Like that it should be working just fine.

Best Regards.

STTwo-32

2 replies

STTwo-32
STTwo-32Best answer
ST Technical Moderator
January 3, 2025

Hello @HonestQiao 

I suggest you to follow this steps:

  • Clone the repository using this command:
git clone --recursive https://github.com/STMicroelectronics/STM32CubeWBA.git
  • Go to "STM32CubeWBA\Projects\NUCLEO-WBA55CG\Applications\BLE\BLE_p2pServer_ota\STM32CubeIDE" and double-click on the .cproject to open it (make sure the STM32CubeIDE you are using is the last version V1.21.0).

Like that it should be working just fine.

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.
Associate
January 6, 2025

Thank you.

It's the way.