cancel
Showing results for 
Search instead for 
Did you mean: 

How to develop a project for NUCLEO-WBA25CE1

gocchan
Associate III

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 8
Ozone
Principal III

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.

Mahmoud Ben Romdhane
ST Employee

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

@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
Associate III

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?

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
Associate III

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....

 

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
Associate III

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.