How to place a const into Flash area?

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

How to place a const into Flash area?

1,360 次查看
fedotech
Contributor II

Hi, I need to place a const into Flash area. I do this project on S32K146 with S32DS ARM V2.2.

The following is what I do, failed.

fedotech_0-1631173051985.png

fedotech_1-1631173109288.png

fedotech_2-1631173240738.png

After building, I can't find AppAliveFlag in MAP file.

Anybody can help me? Thanks!

 

 

标记 (1)
0 项奖励
回复
1 回复

1,335 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @fedotech,

I just tested it, it works without the static keyword,

 

BR, Daniel

0 项奖励
回复