Skip to main content
Visitor II
January 29, 2021
Question

OpenAMP_TTY_echo example with stm32mp15xx_sram.icf

  • January 29, 2021
  • 1 reply
  • 863 views

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?

    This topic has been closed for replies.

    1 reply

    ST Employee
    March 16, 2021

    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.