cancel
Showing results for 
Search instead for 
Did you mean: 

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

Lynn Linse
Associate III

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?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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".

View solution in original post

1 REPLY 1
TDK
Guru

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".