Skip to main content
Lynn Linse
Associate III
August 19, 2020
Solved

In STM32CubeIDE, can I add python script to auto-run before compiler runs? To increment a BUILD number in *.H file.

  • August 19, 2020
  • 1 reply
  • 3077 views

In old AC6 workbench, I could add such python script as external tool to auto-build always before compiler runs. Now with STM32CubeIDE, I've found how to do manually with 'external tools' button. Can I add back to project to auto-run again?

This topic has been closed for replies.
Best answer by TDK

You can add pre-build steps within the project properties.

STM32CubeIDE (Eclipse) support some global and project-level variables which can help here. But you could always just use absolute paths instead.

0693W000003Pp3DQAS.png

1 reply

TDK
TDKBest answer
August 19, 2020

You can add pre-build steps within the project properties.

STM32CubeIDE (Eclipse) support some global and project-level variables which can help here. But you could always just use absolute paths instead.

0693W000003Pp3DQAS.png

"If you feel a post has answered your question, please click ""Accept as Solution""."