OpenAMP_TTY_echo example with stm32mp15xx_sram.icf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-29 1:57 AM
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?
- Labels:
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-03-16 2:33 AM
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.
