Why do I need to change the order of memory zones to make my program link?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why do I need to change the order of memory zones to make my program link?

387 Views
tamir_michael
Contributor IV

Hello,

I have a program based upon i.MXRT1064 that can only use internal RAM. If I allocate a large buffer (>600KB), in order to avoid linker errors due to a placement failure I must also move the SRAM_OC region to the top of the list of memory regions.

Why is this needed?

0 Kudos
1 Reply

350 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello, Tamir 

By default, global data items are located at run time in the ‘default’ memory region (i.e. the first
RAM block displayed in the memory configuration area).


Have a great day,
Victor

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos