cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to run a program before or later building process in stm32cubeide like user options in Keil?

GAlpa.1
Associate II
 
6 REPLIES 6
GAlpa.1
Associate II

I saw pre and post-build options in stm32cubeide. But can not make it work.

So what, exactly, have you tried?

And what, exactly, were the results? In what way(s) did it "not work" ?

GAlpa.1
Associate II

${workspace_loc:/${project_name} date_app.exe}

I wrote this command to Pre-Build Steps to be able to run date_app.exe file before building main project.

There is no error, also no change on date file.

Btw exe file is working as manual. The only problem is to be able to run this date_app before building.

> ${workspace_loc:/${project_name} date_app.exe}

You have a mismatched }, should it be ${workspace_loc:/${project_name}/date_app.exe ?

Maybe, wrong working directory. Does the exe complain if it cannot open some file that it expects to be there?

GAlpa.1
Associate II

After i wrote  ${workspace_loc:/${project_name}/date_app.exe}

there is no error also no change.

I would double check that what you are pointing to is actually there and that you have access to it.

If you just add "mspaint" as a pre-build step, does it launch Microsoft Paint before building? Or some other really simple build step just to get a base line of where it fails for you.