cancel
Showing results for 
Search instead for 
Did you mean: 

BWB1MPAN1

MST1
Associate

Hi, the problem is very simple, yet I haven't seen any information about this case in the foro or anywhere.

When trying to build the example proyect BLE_HR_p2p_Sensor which I think was already in the B-WB1M-WPAN1 board relesed to start cathing up with the FW I'm not able to do so.

It doesn't mind if i get the example from the "STM32Cube_FW_WB_V1.18.0" or from the STM32CubeMX example BLE_HR_p2p_Sensor generation I always encounter the same errors:

 

C:/ST/STM32CubeIDE_1.11.2/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.100.202309141235/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: BLE_HR_p2p_Sensor.elf section `._user_heap_stack' will not fit in region `RAM1'

C:/ST/STM32CubeIDE_1.11.2/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.100.202309141235/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: region `RAM1' overflowed by 40 bytes

collect2.exe: error: ld returned 1 exit status

make: *** [makefile:74: BLE_HR_p2p_Sensor.elf] Error 1

"make -j12 all" terminated with exit code 2. Build might be incomplete.

 

I don't know if the problem comes form the example itself or maybe there is a problem with some documents,

if you could help that would be great.

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

Hello @MST1 

This issue is fixed on the new release of the STM32CubeWB (Version 1.19.0).

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 @MST1 

I've reproduced the issue and I've escalated this to the appropriate team for correction on the internal ticket ID172512.

(PS: ID172512 is an internal tracking number and is not accessible or usable by customers).

As a momentarily work around, you can reduce the _Min_Heap_Size from 0x300 to 0x299 or the _Min_Stack_Size from 0x900 to 0x899 on the STM32WB1MMCHX_FLASH.ld file of the project.

STTwo32_0-1706901448015.png

thank you for your contribution.

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.

STTwo-32
ST Employee

Hello @MST1 

This issue is fixed on the new release of the STM32CubeWB (Version 1.19.0).

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.