cancel
Showing results for 
Search instead for 
Did you mean: 

OpenAMP_TTY_echo example with stm32mp15xx_sram.icf

SMang.1
Associate II

I see that the OpenAMP_TTY_echo example uses the stm32mp15xx_retram.icf file in the EWARM. But thereis also an stm32mp15xx_sram.icf file.

Can someone please point out the differences between the two ic files and why the OpenAMP example used the retram and not the sram location?

1 REPLY 1
ArnaudP
Senior

Hello,

The two files correspond to 2 ways of allocating the MCU memories.

I would suggest to read this article: https://wiki.st.com/stm32mpu/wiki/STM32MP15_RAM_mapping#Memory_mapping, to understand the memory mapping.

In brief, you can customize the memory mapping for the code and data allocation. the only constraint is that the vector table must be stored at address 0x00000000 in the RETRAM.