MPC5674F gcc compiler usage on S32DS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5674F gcc compiler usage on S32DS

116 Views
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 Kudos
1 Reply

41 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

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

0 Kudos