S32DS Post-build step

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

S32DS Post-build step

1,793 Views
koehlerl
Contributor IV

Hi,

I want execute a *.bat file after building the *.hex image.

When I use the the *.bat file in the Post-build steps, then the *.bat file is executed before the hex-file is created.

How can I start the *.bat file after building the *.hex image automatic in the build process?

BR Lutz

Labels (1)
0 Kudos
2 Replies

1,329 Views
huigangshi
Contributor I

same question@07-30-2021

0 Kudos

1,526 Views
jiri_kral
NXP Employee
NXP Employee

Hi Lutz, 

I didn't find way how to execute post-build after .hex file dump. I'll put feature request for S32DS - In my opinion the post-build step should be really "post-build". 

As a workaround you can include hex file dump into your post build .bat file like this (I'm not sure if you are using ARM S32DS - for Power it is similar):

arm-none-eabi-objcopy -O ihex  project.elf   project.hex

your_post_build_commands

.

.

Jiri

0 Kudos