S32DS_3.4 _ Command Line compiling

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

S32DS_3.4 _ Command Line compiling

S32DS_3.4 _ Command Line compiling

****************************************************************************************

IDE: S32 Design Studio Version 3.4

Workspace: C:\Projects\S32DS_3_4

Project name: S32K314_00_blank_00

Project location: C:\Projects\S32DS_3_4\S32K314_00_blank_00

****************************************************************************************

1. After you finish the edit on your codes, please close S32DS

2. Input the command(as below) at your clean_and_build_s32k3_commandLine.bat

clean_build.png

3. Run command prompt with Administrator right.

4. Run clean_and_build_s32k3_commandLine.bat at command prompt

 

You will get the *.elf under the folder of C:\Projects\S32DS_3_4\S32K314_00_blank_00\Debug_FLASH


Cheers!

Oliver

Comments

Hi, 

   If you use RTD to generate your project,  then, you need add all the libraries with option -I, like 

   '-I C:\NXP\S32DS_3_4\S32DS\software\SW32K344_RTD_x_x_xx_xxxx\include'

   '-I C:\NXP\S32DS_3_4\S32DS\software\SW32K344_RTD_x_x_xx_xxxx\header'

  Otherwise, error will be happened. 

  Hope you will be successful!

Cheers!

Oliver

 

Dear Team, 

I am getting the error when I am trying to call the eclipse command 

shrey2415_0-1667987465173.png

Do you know if I am missing anything ? 

Hi, 

   You should use "eclipsec.exe".

   

Oliver

Hey @OliverTian 
Thanks 

Dear @OliverTian, I am getting following error while trying to build from command line. 

please support me to resolve, Thanks in advance

prakashkaruppannan_0-1722591546837.png

 

%3CLINGO-SUB%20id%3D%22lingo-sub-1236995%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32DS_3.4%20_%20Command%20Line%20compiling%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1236995%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%3CP%3E****************************************************************************************%3C%2FP%3E%0A%3CP%3EIDE%3A%20S32%20Design%20Studio%20Version%203.4%3C%2FP%3E%0A%3CP%3EWorkspace%3A%20C%3A%5CProjects%5CS32DS_3_4%3C%2FP%3E%0A%3CP%3EProject%20name%3A%20S32K314_00_blank_00%3C%2FP%3E%0A%3CP%3EProject%20location%3A%20C%3A%5CProjects%5CS32DS_3_4%5CS32K314_00_blank_00%3C%2FP%3E%0A%3CP%3E****************************************************************************************%3C%2FP%3E%0A%3CP%3E1.%20After%20you%20finish%20the%20edit%20on%20your%20codes%2C%20please%20%3CFONT%20color%3D%22%233366FF%22%3E%3CSTRONG%3Eclose%20S32DS%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E2.%20Input%20the%20command(as%20below)%20at%20your%20clean_and_build_s32k3_commandLine.bat%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22clean_build.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22clean_build.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F138198i959904ACA8E0228C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22clean_build.png%22%20alt%3D%22clean_build.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E3.%20Run%20command%20prompt%20%3CSTRONG%3E%3CFONT%20color%3D%22%233366FF%22%3Ewith%20Administrator%20right%3C%2FFONT%3E%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E4.%20Run%20clean_and_build_s32k3_commandLine.bat%20at%20command%20prompt%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EYou%20will%20get%20the%20*.elf%20under%20the%20folder%20of%20C%3A%5CProjects%5CS32DS_3_4%5CS32K314_00_blank_00%5CDebug_FLASH%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3ECheers!%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%0A%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1923878%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32DS_3.4%20_%20Command%20Line%20compiling%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1923878%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F53972%22%20target%3D%22_blank%22%3E%40OliverTian%2C%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EI%20am%20getting%20following%20error%20while%20trying%20to%20build%20from%20command%20line.%26nbsp%3B%3C%2FP%3E%3CP%3Eplease%20support%20me%20to%20resolve%2C%20Thanks%20in%20advance%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22prakashkaruppannan_0-1722591546837.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22prakashkaruppannan_0-1722591546837.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F291670iC3AA399EDBE36796%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22prakashkaruppannan_0-1722591546837.png%22%20alt%3D%22prakashkaruppannan_0-1722591546837.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1550971%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32DS_3.4%20_%20Command%20Line%20compiling%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1550971%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHey%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F53972%22%20target%3D%22_blank%22%3E%40OliverTian%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EThanks%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1550965%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32DS_3.4%20_%20Command%20Line%20compiling%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1550965%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%20%26nbsp%3BYou%20should%20use%20%22eclipsec.exe%22.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%20%26nbsp%3B%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1550961%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32DS_3.4%20_%20Command%20Line%20compiling%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1550961%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20Team%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20am%20getting%20the%20error%20when%20I%20am%20trying%20to%20call%20the%20eclipse%20command%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22shrey2415_0-1667987465173.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22shrey2415_0-1667987465173.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F199691iBF31863443E14CA9%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22shrey2415_0-1667987465173.png%22%20alt%3D%22shrey2415_0-1667987465173.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EDo%20you%20know%20if%20I%20am%20missing%20anything%20%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1237800%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32DS_3.4%20_%20Command%20Line%20compiling%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1237800%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%20%26nbsp%3BIf%20you%20use%20RTD%20to%20generate%20your%20project%2C%26nbsp%3B%20then%2C%20you%20need%20add%20all%20the%20libraries%20with%20option%20-I%2C%20like%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%20%26nbsp%3B'-I%26nbsp%3BC%3A%5CNXP%5CS32DS_3_4%5CS32DS%5Csoftware%5CSW32K344_RTD_x_x_xx_xxxx%5Cinclude'%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%20%26nbsp%3B'-I%26nbsp%3BC%3A%5CNXP%5CS32DS_3_4%5CS32DS%5Csoftware%5CSW32K344_RTD_x_x_xx_xxxx%5Cheader'%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%20Otherwise%2C%20error%20will%20be%20happened.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%20Hope%20you%20will%20be%20successful!%3C%2FP%3E%0A%3CP%3ECheers!%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
100% helpful (1/1)
Version history
Last update:
‎02-25-2021 09:02 PM
Updated by: