Relocating Data into RAM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Relocating Data into RAM

1,299 次查看
yujinsheng
Contributor I

I want to fix the variable in the function to the fixed RAM address, but it does not clear after reset, but it has not been realized. Could you provide an example or method

Using hardware: s32k116

0 项奖励
回复
3 回复数

1,231 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

please take a look at this thread:

https://community.nxp.com/thread/479342 

Regards,

Lukas

0 项奖励
回复

1,231 次查看
yujinsheng
Contributor I

thanks for your reply!

  • I want to set all of the.c file variables to a fixed segment

    Your method is to solve a variable that I have set successfully

0 项奖励
回复

1,231 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

In this case, see please this one:

define linker section for entire file 

or

https://community.nxp.com/thread/331043 

Regards,

Lukas

0 项奖励
回复