Skip to main content
gocchan
Associate III
May 8, 2026
Question

How to develop a project for NUCLEO-WBA25CE1

  • May 8, 2026
  • 8 replies
  • 297 views

Hello, 

I tried developing for the NUCLEO-WBA25CE1 using BLE_HeartRate, but even after selecting it, the Next button is disabled.

gocchan_0-1778218785251.png

Could you please suggest a good way to develop for this board?

 

8 replies

Ozone
Principal
May 8, 2026

I suppose this could be the reason :

 

Ozone_1-1778225294699.png

Perhaps some ST staff can comment on that, I am not a CubeIDE user.

Technical Moderator
May 8, 2026

Hello @gocchan 

Let me thank you for posting.

I reproduced the behavior described and I was able to generate the example mentioned through STM32CubeMX 6.17.

MahmoudBenRomdhane_0-1778227527719.png

MahmoudBenRomdhane_1-1778227554508.png

Thanks.

Mahmoud

 

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.
Andrew Neil
Super User
May 8, 2026

@gocchan Note that CubeMX and CubeIDE are now separate applications (since IDE v2.0.0).

Project creation & configuration is done in CubeMX - no longer in CubeIDE.

See: STM32CubeIDE 2.0.0 New workflow tutorial.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
gocchan
gocchanAuthor
Associate III
May 11, 2026

Thank you everyone.

I installed CubeIDE 2.1.1 and CubeMX 6.17.0.

I was able to create a project in CubeMX and load it into the IDE, but I can't build it (the build button is not active).

gocchan_0-1778479184289.png

Do you know the reason for this?

Technical Moderator
May 11, 2026

Hello @gocchan 

Based on your comment and the screenshot you shared, it appears that you have imported the EWARM, MDK-ARM and STM32CubeIDE folders.

I recommend that you delete the [ BLE_HeartRate Example] and regenerate it with STM32CubeMX.

MahmoudBenRomdhane_0-1778488853703.png

Thanks.

Mahmoud

 

 

 

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.
gocchan
gocchanAuthor
Associate III
May 12, 2026

Hello, 

I tried generating a sample project from CubeMX again. I can now press the build button, but I don't know how to resolve the build errors.

The steps I took are as follows:

On the home screen, select ACCESS TO EXAMPLE SELECTOR, choose BLE_HeartRate/NUCLEO-WBA25CE1, and press Start Project.

gocchan_0-1778563636915.png

 

Set Open with: to STM32CubeMX and press Install.

gocchan_1-1778563685593.png

 

The Pinout view is displayed. At this point, LEDs 1-3 and Buttons 1-3 do not appear to be assigned (how can I assign them?).

gocchan_2-1778563732884.png

 

Set Toolchain/IDE to STM32CubeIDE and press GENERATE CODE.

gocchan_3-1778563876568.png

 

I can now press the build button, but I'm getting build errors.

gocchan_4-1778563938118.png

Error message:

 

make: *** No rule to make target 'C:/Works/STM32/WBA25CE1/BLE_HeartRate/Drivers/STM32WBAxx_HAL_Driver/Src/stm32wbaxx_ll_dma.c', needed by 'Drivers/STM32WBAxx_HAL_Driver/stm32wbaxx_ll_dma.o'. Stop.

make: *** Waiting for unfinished jobs....

 

Technical Moderator
May 12, 2026

Hello @gocchan 

The issue has already been reported to the dedicated team under this internal ticket (Ticket Number: CDM0060308).

Solved: Missing file after file generation - STMicroelectronics Community

Solved: Re: [BUG] BLE_p2pServerThreadX RAM Overflow on NUC... - STMicroelectronics Community

Thanks.

Mahmoud

 

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.
gocchan
gocchanAuthor
Associate III
May 14, 2026

Hello @Mahmoud Ben Romdhane 

I tried one of the solutions suggested in the ticket, setting the RAM size in the linker script to 128K, but the build error persisted. The flag (-z noexecstack) is also set.

gocchan_0-1778722608186.png

The build error seems to indicate that some necessary source files are missing, so I think the other ticket is important. Has CDM0060308 been resolved?

When I created another project (BLE_p2pServerThreadX), stm32wbaxx_ll_adc.c was present, so I copied it to BLE_HeartRate, but then I got an error indicating that another file (Common/WPAN/Interfaces/app_bsp.c) was missing.

gocchan
gocchanAuthor
Associate III
May 19, 2026

I was able to build the project by selecting BLE_Beacon and NUCLEO-WBA25CE1 in the CubeMX Example Selector.

However, I still get the same build error with BLE_HeartRate.

 

If I select NUCLEO-WBA25CE1 using the Board Selector instead of the Example Selector, a .ioc file will be generated that reflects the LEDs and buttons on the board.

gocchan_0-1779164915769.png

However, the .ioc files generated by Example Selector do not seem to have these features.

gocchan_1-1779165110513.png

 

How can I apply the pin assignments of the NUCLEO-WBA25CE1 to BLE_HeartRate and BLE_Beacon?

gocchan
gocchanAuthor
Associate III
May 21, 2026

Even after generating code in CubeMX, CubeIDE does not launch. This issue has been mentioned in someone else's support ticket, but uninstalling MX and IDE and reinstalling the latest versions did not change the situation.

Even after launching the IDE and specifying a workspace, nothing appears in the Project Explorer.

gocchan_0-1779336953888.png

 

The file structure when generating a code using the MCU Selector or Board Selector is as follows. Is this correct?

gocchan_1-1779337059380.png

 

The file structure when generating a code using the Example Selector is as follows:

gocchan_2-1779337217559.png

However, even after setting the workspace to this folder in the IDE, nothing appears in the Project Explorer.