STM32CubeIDE: How to allocate memory to different H7 Memory blocks
I wish to take advantage of the various memory blocks of the H7 processors:
Put the stack and heap in the DTCMRAM
Put DMA buffers in various blocks etc.
In Keil uVision I use scatter (.sct) files which makes it easy.
I cannot find a way of doing it in STM32CubeIDE.
I searched the forum and found I could maybe? do it by manually editing the linker script:
xx_RAM.ld
However this is an auto generated file so any changes I make will at some point be overwritten.
I don't find this a very practical and secure method of allocating memory blocks.
Is there some other way from within STM32CubeIDE?
If not how do I get over the auto-generation issue?
Has anyone come up with a reliable way of allocating memory that works around the problems?
Best regards
Rob
