Question
IDE generates a wrong default project
I'm using the P-NUCLEO-WB55 development board, and I'm using the IDE to auto-generate the project/code.
However, the default linker script is mis-configured.
indeed, the _estack variable is set to 0x2003FFFF instead of 0x20030000.
The first address is wrong for 2 reasons:
- It's odd. It should be 0x20040000;
- The range [0x20030000, 0x2003FFFF] is accessible only by the 2nd core (M0) and not by the 1st one (M4).
For these reasons, the default project will trigger a Hardware Fault when compiled and executed.