Post build action not invoked

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Post build action not invoked

608件の閲覧回数
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 件の賞賛
返信
6 返答(返信)

554件の閲覧回数
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 件の賞賛
返信

533件の閲覧回数
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 件の賞賛
返信

476件の閲覧回数
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 件の賞賛
返信

394件の閲覧回数
g_mass
Contributor I

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

0 件の賞賛
返信

582件の閲覧回数
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 件の賞賛
返信

568件の閲覧回数
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 件の賞賛
返信