MPC5674F gcc compiler usage on S32DS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5674F gcc compiler usage on S32DS

156件の閲覧回数
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 返信

81件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

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

0 件の賞賛
返信