cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE 1.14.1 still does not run post-build command *Resolved*

EdGi
Associate III

The bug which was introduced in 1.14.0 which prevents a post-build step command to run, still exists in 1.14.1 with my project.
I have a Windows batch file which should be run after build, and has worked correctly before version 1.14.0

The result of the build post step is:

..\postprocess.bat
make[1]: *** [makefile:97: post-build] Error -1
make: *** [makefile:65: all] Error 2
"make -j4 all" terminated with exit code 2. Build might be incomplete.

@Semer CHERNI 

Resolution in following post.

2 REPLIES 2
EdGi
Associate III

It appears that the post-build command is now intolertant of spaces in project paths.
I was able to resolve the problem in my case by surrounding my batch file name in double-quotation marks as follows:

"..\postprocess.bat" param1 param2

Simon Sq
Associate III

Thank EdGi.

This also worked for me using STM32CubeIDE v1.15.1