Command line build of Bootloader Project

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
EnPa_1371286
Level 1
Level 1
5 replies posted 5 questions asked First reply posted

Dear all

   

We have a project based on a PSoC BLE and we build it with PSoC Creator 4.0 on our Build Server: as soon as I commit to SVN, the Build Server starts the PSoC Creator via command line script (as described here http://www.cypress.com/knowledge-base-article/building-psoc-creator-project-command-prompt-kba88169).

   

Now we'd like to add a bootloader to the project, which requires a second project in the same workspace. This won't work when called via command prompt, as stated in 4. at the aforementioned link.

   

Is this limitation still active (the link actually refers to PSoC Creator 2.2)?

   

Can I put the Bootloader in another Workspace in the same Repository and call two different build scripts when I commit or is it mandatory that the Bootloader and the Bootloadable are in the same workspace?

   

Any suggestions on how to solve this problem?

   

Kind regards,

   

Enpa

0 Likes
1 Solution
cadi_1014291
Level 6
Level 6
25 likes received 10 likes received 10 likes given

Hi Enpa,

   

cyprjmgr have a couple of flags that might help you:

   

-prj     Specifies the target project on which all the command line
              options will be targeted. In case target project is not
              specified, Top Project of the workspace becomes the target
              project
-p       Sets the Top Project in the workspace

   

 

   

I haven't test it yet, so maybe you can do a dummy workspace with two projects in it and test it. Here i placed the flags of some tools used by PSoC Creator (including cyprjmgr) http://uciee47.blogspot.mx/2017/01/psoc-creator-tools.html

   

 

   

Let me know if it helps 😄

   

Carlos

View solution in original post

2 Replies
cadi_1014291
Level 6
Level 6
25 likes received 10 likes received 10 likes given

Hi Enpa,

   

cyprjmgr have a couple of flags that might help you:

   

-prj     Specifies the target project on which all the command line
              options will be targeted. In case target project is not
              specified, Top Project of the workspace becomes the target
              project
-p       Sets the Top Project in the workspace

   

 

   

I haven't test it yet, so maybe you can do a dummy workspace with two projects in it and test it. Here i placed the flags of some tools used by PSoC Creator (including cyprjmgr) http://uciee47.blogspot.mx/2017/01/psoc-creator-tools.html

   

 

   

Let me know if it helps 😄

   

Carlos

Hello,

I have three projects, I want to build them in a certain order.

How can I select the compilation order of each one, from 1 to 3 by command line?

0 Likes