Skip to main content
EdGi
Associate II
February 27, 2024
Question

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

  • February 27, 2024
  • 2 replies
  • 2930 views

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

EdGi
EdGiAuthor
Associate II
February 28, 2024

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

lili
Explorer
June 6, 2025

Thank you so much for your post, it really helped me! 

1.17.0

Simon Sq
Associate II
July 1, 2024

Thank EdGi.

This also worked for me using STM32CubeIDE v1.15.1