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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

412件の閲覧回数
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 件の賞賛
1 返信

375件の閲覧回数
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 件の賞賛