MPC5674F gcc compiler usage on S32DS

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

MPC5674F gcc compiler usage on S32DS

155 次查看
EmbUser
Contributor II

hi, 

We are trying to migrate the application code written for MPC5674F on CodeWarrior Power PC compiler to GCC compiler with S32DS IDE.

We were able to successfully compile the code with GCC compiler,  but when compiled with GCC compiler the FLASH memory occupied has increased by 300%. 

Can you please guide us what could be the reason for so much increase in memory usage any hints to analyze would help us understand the root cause and we can try to minimize the memory footprint with GCC compiler which according to us should be same as per codewarrior compiler.

thanks,

Nagesh

0 项奖励
回复
1 回复

80 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

sorry for delay. What optimization type are you using? You can try -Os.  

0 项奖励
回复