Hi,
We are currently using S32 Design Studio for S32 Platform(Version: 3.5) to compile the s32k312 project. As follows :build CTRL+B, clean ALT+B,L.
But We now need to autobuild the compilation of s32k312 code projects on the server-side.
Can you provide me with some build commands instead of compiling s32k312 code projects through visual interfaces.
Thanks.
philip
Hi @philip20200426,
You can use command line to generate configuration tools code and to build the project, please refer to the following community posts:
Hope this helps. Best regards,
Julián
Hi,
Firstly, thank you for your reply, but this method requires S32DS. 3.5 to be disabled.
Is there a way to directly compile project code into bin using a compilation tool? For example, using gcc or link, etc.
Thanks.
Hi @philip20200426,
I am not following your question. Do you need to compile the project through S32DS IDE? The command line method does require S32DS to be closed, but you can generate the config tools code separately, build the project, and open the source code with external text editors.
There is also a section in the "Help" menu titled "Command Line Interface" for different commands within S32DS:
Please clarify your end goal using commands without visual indications.
Also, the compilation tool is GCC, you can find the build command and C compiler inside "Project Settings":
Best regards,
Julián
Hi Julian,
Thank you for your reply.
Is there a makefile for compiling the project? I can call the makefile in my script to complete the project compilation.
Best regards,
13220581559@163.com
philip
You can generate the makefile automatically when building the project:
Or create a Makefile from an existing code. Please refer to this post: HOWTO: Create A New Makefile Project With Existing Code From NXP Vision SDK Example Project - NXP Co....
Best regards,
Julián
Hi Julián,
The makefile you mentioned is in the Debug_Flash folder and can be used for incremental compilation, but if it is lost after cleaning, it cannot be fully recompiled.
When recompiling after cleaning, there is no debug directory available.
Best regards,
Philip
You can also create a makefile project from S32DS. You can either use the previous community post I've shared, or refer to these posts:
Hope this helps.