S32DS Post-build step

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32DS Post-build step

2,928 次查看
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

标签 (1)
0 项奖励
回复
2 回复数

2,464 次查看
huigangshi
Contributor I

same question@07-30-2021

0 项奖励
回复

2,661 次查看
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 项奖励
回复