cancel
Showing results for 
Search instead for 
Did you mean: 

Pre build step in STVD

martonmiklos
Senior
Posted on June 18, 2018 at 15:46

Hello all,

I would like to run a script when building a project in STVD before the preprocessor (the script generates a header).

Is there any way of doing this?

#stm8 #stvd
6 REPLIES 6
henry.dick
Senior II
Posted on June 18, 2018 at 16:22

Before someone gives you an answer, you would have found it in the user guide or simply playing around the ide.

Posted on June 19, 2018 at 12:08

aren't you the guy who has trouble getting ST to respond to you? 

with that kind of attitude, no wonder no one wants to help you.

Posted on June 19, 2018 at 14:09

Correct, I am the one who opened the registermap topic.

I think the problem is not with my attitude, but with your lack of sense to the humor.

Of course I have checked the manual, and the STVD before opened this issue.

The only way what I found is to create a script which overwrites the contents of an object file and add it as a pre link step.

But that is a HACK what I would like to avoid. (Similarly to generate the headers from the IAR files.) I apologize that you have not been able to understand this issue too.

Posted on June 19, 2018 at 16:11

'

I think the problem is not with my attitude, but with your lack of sense to the humor.'

When everyone has wronged you, it is time for you to have some self introspection.

Best of luck.

Posted on June 22, 2018 at 13:50

When everyone has wronged you,

If you talk about the regmap topic, the most of the commenters given constructive feedback unlike you.