AnsweredAssumed Answered

Suggestions for organizing memory on RT1050 with linker template scripts

Question asked by Ryan Shuttleworth on Nov 23, 2017
Latest reply on Dec 8, 2017 by Ryan Shuttleworth

Hello I am using MCUXpresso IDE, version v10.1.0 [Build 589] [2017-11-14] with an RT1050 SDK, version  2.3.0 (2017-11-16).  I have been working with some of the demo applications but have found that I quickly run out of SRAM_DTC when making simple additions to demo projects.  Upon examining the linker files I have found this to be due to the default behavior of the linker files which seems to be to place the majority of code and data into SRAM_DTC.

 

I have reviewed the FreeMarker linker script templates and the examples and have managed to move some code and data to the point where I can get these modified projects to run.  I am, however, wondering if someone could provide examples of moving an entire module or file tree to specific banks or RAM.  The examples provided tend to be file oriented, i.e. placing specific object files into certain RAM banks and this approach would be tedious for an entire tree or module.

 

Any insight would be appreciated, thanks.

Outcomes