2023-12-21 12:34 AM
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.
Solved! Go to Solution.
2024-04-19 07:46 AM
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.
2024-02-02 11:17 AM
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.
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.
2024-04-19 07:46 AM
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.