CubeIDE Linker Script wrong?
Hello community,
I'm getting started with the STM32WB55 Nucleo board and worked through some examples. To get a better understanding I chose to start a new project from scratch. I used CubeIDE (came from Atollic TS and CubeMX anyways) and initalised the MCU (as seen in the workshop tutorials). The MCU immidiately dropped into Hard Fault Error. I investigated a bit and compared the code to the p2p_server example. Everything seemed fine, except the linker script. The _estack variable didn't match. As soon as I adapted it, all seemed to work fine but the app_ble_init() was never called. I really invested a lot of time tracking the error down but could not find anything. Then I simply copied the linker script from the p2p_example to my project and suddently everything worked fine.
It seems like a workaround for me. Can anybody enlighten me what is going on there?
Thanks in advance!
Best regards,
Philipp