Skip to main content
Associate
December 7, 2024
Solved

Error in building BLE_HeartRate_ota or BLE_p2pServer_ota with STM32CubeIDE

  • December 7, 2024
  • 1 reply
  • 1006 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?

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

1 reply

STTwo-32
STTwo-32Best answer
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

Associate
January 6, 2025

Thank you.

It's the way.