I am currently working on the Cortex-M7 core of the i.MX8MP platform and am trying to place all the code and data sections into TCM (ITCM and DTCM) to ensure optimal performance. However, I have not been successful in modifying the linker script accordingly, as the existing memory configuration and placement logic are a bit unclear to me.
Could you kindly provide a working linker script or an example configuration that correctly places all code and data segments into the TCM regions for the Cortex-M7 on this platform?
This would greatly help me proceed with development and ensure the application runs from the fastest available memory.
Thank you in advance for your support.