Using S32M2 motor control examples with AMMCLIB 1.1.44 - optimal performance settings

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

Using S32M2 motor control examples with AMMCLIB 1.1.44 - optimal performance settings

Using S32M2 motor control examples with AMMCLIB 1.1.44 - optimal performance settings

This article concerns the motor control examples for S32M2 and it is recommended to apply the following procedure to all SW examples mentioned in this article, S32M2xx - Motor control use cases, provided they are used with AMMCLIB release 1.1.44 (or later, future version).

This procedure concerns S32M2 motor control examples installed by the installer version 1.2 (or earlier) and will be fixed in the next S32M2 motor control example installer release.

Since AMMCLIB release 1.1.44 uses a slightly different compiler settings compared to the previous version, it is necessary to adjust the settings of the motor control example SW for optimal performance as follows:

JoJa_0-1781701257620.png

 


  1. Right-click on project and choose properties
  2. Navigate to C/C++ Build, choose Settings
  3. Navigate to Standard S32DS C Linker -> Miscellaneous and add the following to Linker flags field:
    -fno-lto
  4. Apply and close
  5. Rebuild the project with these settings

Alternatively, you can use AMMCLIB release 1.1.43 (or earlier) without the above-mentioned procedure.

无评分
版本历史
最后更新:
‎06-17-2026 07:28 AM
更新人: