i use S32DS(Version: 1.1 ) to develop program on MPC5775K, and find it seems there is a compile bug of the code.
The source code and its assemble code lists below. (The program has attached!)
The compile use r31 and r0 for localDW->ISV_RadarEnSwitch_prev and localDW->ISV_RadarEnSwitch_start.
But from previous program r11 store the value of localDW->ISV_RadarEnSwitch_start and r12 store the value
localDW->ISV_RadarEnSwitch_prev.
Can anyone help me for that? Thank you very much!
Original Attachment has been moved to: GccTestProject_Z4.rar
Please update to S32DS for Power 1.2. Along with a lot of IDE fixes it also has a lot of fixes in compiler codegen. Here is a snip from your project with new compiler: