Linker script with detailed sections
Hello. I'm using STM32CubeMX with STM32f777ZI MCU to create a CMAKE project.
The generated linker script file (STM32F777XX_FLASH.ld) has a really simple definition of RAM memory regions:
/* Specify the memory areas */
MEMORY
{
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 512K
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 2048K
}
There is no separation of SRAM1, SRAM2, DTCM and etc. For example - I want to enable cache in SRAM1 and I need to have a proper section definitons. I want to use in my code something like:
__attribute__((aligned(sizeof(uint32_t)), section ... and etc.
Is it possible to force STM32CubeMX to generate more detailed RAM segmentation for F7 cores?
