STM32H7 will not fit in region `RAM', wrong RAM location
I am using the STM32H753VIHX. I have a large amount of data that does not all fit in RAM. I am trying to allocate some of it to the other RAM such as RAM_D2 and RAM_D3. I seem unable to. Below is the error message I am getting
c:\st\stm32cubeide_1.6.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\bin\ld.exe: 170093_stm32h753.elf section `.D3data' will not fit in region `RAM'
c:\st\stm32cubeide_1.6.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\bin\ld.exe: region `RAM' overflowed by 9952 bytesit keeps saying region RAM, but I want to allocate to the other location. Does anyone have an example of the proper way to configure the linker file? I added the following to my STM32H753VIHX_RAM.Id file.
.D2data :
{
. = ALIGN(4);
*(.D2data) /* .rodata sections (constants, strings, etc.) */
*(.D2data*) /* .rodata* sections (constants, strings, etc.) */
. = ALIGN(4);
} >RAM_D2
.D3data :
{
. = ALIGN(4);
*(.D3data) /* .rodata sections (constants, strings, etc.) */
*(.D3data*) /* .rodata* sections (constants, strings, etc.) */
. = ALIGN(4);
} >RAM_D3I have only made changes to the linker file. Is there anywhere else that I need to make changes, or is there something else that I need to change?
