Command-Line RTD Code Generation for S32K3xx

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

Command-Line RTD Code Generation for S32K3xx

356 Views
leo_Z
Contributor III

Hello NXP Community,
We are developing a project with S32K3xx MCUs using S32 Design Studio. Our workflow uses RTD to configure clocks and peripherals, which generates a large amount of auto-generated code. Our project has ~400 files, and we want to avoid committing these generated files.
Goal:
Automate RTD code generation from .mex and clock files via command line in Linux, instead of manually using the IDE. We also want to integrate this into our existing Makefile.

Request:
Any guidance or examples for:
* Running Auto generation of code from command line
* Integrating it with Makefile
* Best practices for managing auto-generated code
Thanks!

 

S32K3 

0 Kudos
Reply
1 Reply

314 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @leo_Z 

For more information related to the S32 Design Studio Command Line Interface, please refer to the following PDF document:

C:\NXP\S32DS.3.6.2\S32DS\help\resources\howto\HOWTO_S32_Design_Studio_Command_Line_Interface.pdf

Please note that the path may vary depending on the version of the IDE and your installation directory.

 

BR, VaneB

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2193335%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECommand-Line%20RTD%20Code%20Generation%20for%20S32K3xx%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2193335%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20NXP%20Community%2C%3CBR%20%2F%3EWe%20are%20developing%20a%20project%20with%20S32K3xx%20MCUs%20using%20S32%20Design%20Studio.%20Our%20workflow%20uses%20RTD%20to%20configure%20clocks%20and%20peripherals%2C%20which%20generates%20a%20large%20amount%20of%20auto-generated%20code.%20Our%20project%20has%20~400%20files%2C%20and%20we%20want%20to%20avoid%20committing%20these%20generated%20files.%3CBR%20%2F%3EGoal%3A%3CBR%20%2F%3EAutomate%20RTD%20code%20generation%20from%20.mex%20and%20clock%20files%20via%20command%20line%20in%20Linux%2C%20instead%20of%20manually%20using%20the%20IDE.%20We%20also%20want%20to%20integrate%20this%20into%20our%20existing%20Makefile.%3C%2FP%3E%3CP%3ERequest%3A%3CBR%20%2F%3EAny%20guidance%20or%20examples%20for%3A%3CBR%20%2F%3E*%20Running%20Auto%20generation%20of%20code%20from%20command%20line%3CBR%20%2F%3E*%20Integrating%20it%20with%20Makefile%3CBR%20%2F%3E*%20Best%20practices%20for%20managing%20auto-generated%20code%3CBR%20%2F%3EThanks!%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FS32K3%2Fpd-p%2FS32K3%22%20class%3D%22lia-product-mention%22%20data-product%3D%221688-1%22%20target%3D%22_blank%22%3ES32K3%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2194564%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Command-Line%20RTD%20Code%20Generation%20for%20S32K3xx%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2194564%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F252204%22%20target%3D%22_blank%22%3E%40AntoZ%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20more%20information%20related%20to%20the%20S32%20Design%20Studio%20Command%20Line%20Interface%2C%20please%20refer%20to%20the%20following%20PDF%20document%3A%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3EC%3A%5CNXP%5CS32DS.3.6.2%5CS32DS%5Chelp%5Cresources%5Chowto%5CHOWTO_S32_Design_Studio_Command_Line_Interface.pdf%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3EPlease%20note%20that%20the%20path%20may%20vary%20depending%20on%20the%20version%20of%20the%20IDE%20and%20your%20installation%20directory.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%2C%20VaneB%3C%2FP%3E%3C%2FLINGO-BODY%3E