How to view the memory allocation in s32DS for S32 platform

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

How to view the memory allocation in s32DS for S32 platform

995 次查看
ssattva1
Contributor III

Hey everyone, I am using s32DS for s32 platform and I would like to view the memory allocation of my project. I would like to know the memory allocated to objects and where have they been allocated like SRAM or ROM etc. However , I cant find such a viewer in S32DS, I have seen similar viewer in CCS. Can anyone help me with this?

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

978 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @ssattva1,

You can use the "-print-memory-usage" option to enable the memory usage for each section:

Julin_AragnM_0-1739565053908.png
Julin_AragnM_1-1739565061933.png

Unfortunately, S32DS does not support the printout for individual file sizes, but you can use the map file to map each section. You can refer to the workaround John Russo shared in the following post: get memory size of each individual file using compiler flags in s32 design studio ide - NXP Communit....

Best regards,
Julián

0 项奖励
回复