How to use TCM memory on the STM32F7 series?
I am working on FreeRTOS on the STM32F777II. Was just curious, how can I configure TCM (CCM) memory for use and how can I force the linker to use this TCM memory only for selected variables declarations?
I am working on FreeRTOS on the STM32F777II. Was just curious, how can I configure TCM (CCM) memory for use and how can I force the linker to use this TCM memory only for selected variables declarations?
There are manuals or online documentation? Perhaps grep the HAL/Cube example trees for .LD examples.
Along the lines of:
Assign_Pot Assign_Element[1000] __attribute__ ((section('.ccm')));
Assign_Pot* Assign_Tab[100] __attribute__ ((section('.ccm')));
MEMORY
{
...
CCMRAM (xrw) : ORIGIN = 0x10000000, LENGTH = 32K
}
...
SECTIONS
{
...
.ccm (NOLOAD) :
{
. = ALIGN(4);
*(.ccm)
*(.ccm.*)
. = ALIGN(4);
} >CCMRAM
...
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.