2025-03-11 6:13 PM
Hi all, I have an STM32H743 project that I've been working on. I've worked on a fair amount of projects in STM32CubeIDE in the past, but now I have a problem I haven't encountered before: the linker is putting my .bss section in flash as well as RAM. I'm not sure why an uninitialized section would be placed in flash... I've attached the output from the build analyzer as well as my linker script. The script is almost the default, except that I've added D2/D3 RAM and have moved stack & heap to DTCM. I've used very similar scripts in other projects and BSS ends up only in RAM in those projects.
Can anyone find what I'm doing wrong? Thanks!
2025-04-22 4:42 AM
> ALL of them fail to find the issue.
Maybe because they are hard-locked to be polite and abstain from comments about bss on flash? They probably think, well, those humans have unicorns, dragons and Santa, why not bss in flash?
Machines are still "garbage in, garbage out" things.