1 Reply Latest reply on Feb 7, 2017 11:37 AM by user_365962704

    Command line build of Bootloader Project

    user_504357455

      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

        • 1. Re: Command line build of Bootloader Project
          user_365962704

          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 :D

             

          Carlos