How to place a variable on a specific address in flash?

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

How to place a variable on a specific address in flash?

跳至解决方案
399 次查看
vegetarian1
Contributor III

Hello,

I want to place a variable on a specific address in flash. Chip is S32K312 and I'm using S32DS.

Is '_at_' command effect in S32DS? How to do that?

Thanks for your attention!

0 项奖励
回复
1 解答
380 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@yangbo1

You can use key words "attribute" to place a variable or function on a specific address.

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Run-a-routine-from-RAM-in-S32-De...

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
282 次查看
vegetarian1
Contributor III

Thank you very much!

0 项奖励
回复
381 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@yangbo1

You can use key words "attribute" to place a variable or function on a specific address.

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Run-a-routine-from-RAM-in-S32-De...

 

0 项奖励
回复