How to set up ram in the MCU xpresso ide compilation environment

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

How to set up ram in the MCU xpresso ide compilation environment

614 Views
gaobiao315
Contributor I

hi all:

    Now I use McUxpresso IDE for debugging. The SRAM in MK21DN512AVMC5 chip has 64K, which is divided into 32K for SRAM_U and 32K for SRAM_L. Now my variables exceed 32K, how to allocate variables? Now the compiler prompts the following error:

0 Kudos
2 Replies

545 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello duan jz 

 

I see that the error is caused because all the data is placed in Upper SRAM. To avoid this you can refer to this post: https://community.nxp.com/docs/DOC-335283

 

Let me know if this is helpful, if you have more questions do not hesitate to ask me.

Best regards,

Omar

0 Kudos

545 Views
gaobiao315
Contributor I

希望各位大神,有时间帮助看一下,这边项目着急,谢谢了!

0 Kudos