cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

HuEl_264296
New Contributor II

Hi,

   

I'm enjoying the new features of PSoC Creator 4.0, but I would happily give them all up for something which would be so useful to our company: A pre-build step in the build process.

   

Background: We use SVN as a version control system. A nice feature we have in our firmware is that it's possible to ask it which SVN version of the code it has programmed into it. To achieve this, we have a Python script which you can run, which checks the SVN version of the code on disk, and generates a .H file with that number in it. When the code is compiled, that number is included in the code.

   

Ideally, that script would be automatically run every time the code is built, so that it's impossible to forget, and we can guarantee that the correct version number is compiled into the code.

   

Back when we used to use PIC microcontrollers, MPLAB had the option to add a pre-build step, and we'd put the python script into that. And so we could be sure that every MCU knew what version of the code it contained.

   

Problem: PSoC Creator doesn't have a pre-build step, so our engineers have to remember to run the script before each build. As you can imagine, it's possible for them to forget, and so we can never be 100% sure which firmware each MCU contains. 

   

Request: Please, please add a pre-build step option into PSoC creator. It's such a small feature. It's also useful for a range of other things, like running code generators (e.g. Flex and Byson).

   

Many thanks - Hugo

0 Likes
Reply
1 Solution
AnkitaS_51
Employee


The pre-build custom command has been added in PSoC Creator 4.1. It may also be possible to use Subversion's $Id$ substitution to achieve a similar effect.
 

View solution in original post

0 Likes
Reply
5 Replies
AnkitaS_51
Employee


The pre-build custom command has been added in PSoC Creator 4.1. It may also be possible to use Subversion's $Id$ substitution to achieve a similar effect.
 

View solution in original post

0 Likes
Reply
HuEl_264296
New Contributor II
        Woo hoo! Thank you so much. When will it be available for download? Hugo   
0 Likes
Reply
AnkitaS_51
Employee

Within this quarter ,but that is tentative

0 Likes
Reply
Anonymous
Not applicable

Hey ANKS, what is the status of a creator 4.1 release?

0 Likes
Reply
Anonymous
Not applicable

Is there a status update on this?  I also need this pre-build step, for the same exact reason.

0 Likes
Reply