cancel
Showing results for 
Search instead for 
Did you mean: 

Error in building BLE_HeartRate_ota or BLE_p2pServer_ota with STM32CubeIDE

HonestQiao
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

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.

View solution in original post

2 REPLIES 2
STTwo-32
ST Employee

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.

Thank you.

It's the way.