How to define global variables with initial values in different RAM regions of STM32H743 in CubeIDE
Hello, I'm new in STM32CubeIDE.
I want to define global variables with initial values in different RAM regions (e.g., RAM_D1, RAM_D2) using STM32CubeIDE for STM32H743.
In Keil, I can usually achieve this by modifying the SCT file as shown in the diagram below.


However, simply adding a section in the LD file does not ensure that variables will have initial values.
So how can I, like in Keil, achieve the definition of global variables with initial values in different RAM regions of STM32H743 using a simple method such as __attribute__ in the code or any other straightforward approach?
Anyone can help me?
By the way, I'm not a native English speaker, so I apologize for any mistakes in my expression
Many thanks,
Florenc_Rain