Post build action not invoked

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

Post build action not invoked

886 Views
g_mass
Contributor I

Hello,

i'm trying to run a bat file as a post-build action in S32DS but it seems it is not invoked. I've tried to uncheck parallel build, but nothing happens.

0 Kudos
Reply
6 Replies

832 Views
Mehul_Patel_NXP
NXP Employee
NXP Employee

Hi, @g_mass , 

Please can you share more information related to your question? Please can you share the screenshots, and what device you are using? Please can you provide details what commands you are trying. 

 

Now, for the understanding POST build steps 

--------------------------------------------------------------- 

1. How to Select your project see the option for adding command at 

Please go to as screenshot below 

Properties -> Settings -> Build steps -> Post build-steps 

and write command at

command : 

Mehul_Patel_NXP_1-1690975142513.png

 



Now, you also need to understand that, command that you enter POST build steps check box, will be added to the makefile  which will be specifying the operations to perform POST building the .elf file 

So in the below two screenshots you can see that

1. echo command has been entered into command section, and then 

Mehul_Patel_NXP_0-1690975114679.png

 

2.  the echo command is put in the makefile

Mehul_Patel_NXP_2-1690975241061.png

You can also first try using echo command and printing the test message to be sure that it is working. 

Similarly, You can add the "Valid" command in the POST -build section for your requirement. 

Please let us know about the command you are trying to install.   

Thank you, Kind regards, 

 - Mehul Patel 

0 Kudos
Reply

811 Views
g_mass
Contributor I

g_mass_0-1690985662087.png

This is the screenshot of my setting page. I'm using an SJA1110. I've tried echo command to print a simple screen and i confirm that it is not working either.

 

0 Kudos
Reply

754 Views
Mehul_Patel_NXP
NXP Employee
NXP Employee

Hi, @g_mass , 

 

Please can you share the S32DS workspace from 

C:\Users\Public\[workspace_name]\.metadata 

OR wherever your workspace is located

 

Thank you. Best regards. 

 

- Mehul Patel 

 

0 Kudos
Reply

672 Views
g_mass
Contributor I

Here attached metadata folder as .zip file (except plugin folder, it exceeds maximum size for upload)

0 Kudos
Reply

860 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

How are you creating the post-build step? Also, which S32DS version are you using?

Please, let us know.

0 Kudos
Reply

846 Views
g_mass
Contributor I

Post build creation: Project Properies -> C/C++ Build -> Settings -> Post-build steps

In command, i put "${ProjDirPath}<path to bat file>" "${ProjDirPath}"

S32DS version: 3.5.0.2

0 Kudos
Reply