6 Replies Latest reply on Mar 19, 2018 11:43 PM by geon

    is there Easy way to Copy Project from PRoC to CYBLE-022001

    user_485795501

      I have developed my custom project on CYBLE-042 Kit on PRoC,   I now want to transfer my project to run on CYBLE-022001-00,  is there an easy way to switch the hardware,    in stead of totally recreating the project from scratch and manually adding all the .c and .h source files and manually configuring the BLE component, Uart component, I2C component, etc...

        • 1. Re: is there Easy way to Copy Project from PRoC to CYBLE-022001
          odissey1

          Try Project-> device selector-> find your silicon on the list

          • 2. Re: is there Easy way to Copy Project from PRoC to CYBLE-022001
            waltonj_2069041

            1000 kudos to odissey1

               

            Your ROCK!!!! this helps a ton!!!!!

            • 3. Re: is there Easy way to Copy Project from PRoC to CYBLE-022001
              user_485795501

              Yes this is helpful, unfortunately not what I 'm looking for.   I want an easy way to run the same firmware on two different sets of hardware.  the code is exactly the same,  the underlying hardware API or BSP(what ever you want to call it) is different.

               

              Same firmware, on hardware with different pin/port configurations.    I tried copying a project and renaming it, but the tool somehow encodes/includes the original file names into the project and I get compile errors saying cant find code named as the previous project.

               

              Do I create one workspace with multiple projects,  each project points to different hardware setup?   It takes a lot of effort to manually go and set up a bunch of project stuff.  so I just wanted to copy a project, rename it, then go into the silicon selector as you have described and just pick a different chip.   however this does not work when I compile the new project that was renamed from the old still some how references the old project.

               

              For instance the Development board CYBLE-042-BLE  this so called EZ-BLE has multiple different chips and modules that plug into it.  and the Development board, has a set up configuration based on the pins/ports because how it is attached to the Pioneer board (base board or mother board)  and there is about 18 other modules you can buy to plug into the Pioneer base board.  This pioneer base board setup is different from my actual hardware setup.  for instance on Poineer board,  port 3[0] is actually the port 3[5] on my real hardware.  etc.. etc..    On my hardware all the switches, UART, LED, and AtoD Converter pins are all swapped around.

               

              how do I set up the PSoC creator workspace environment to use the same source code.  but on several different hardware configurations?

              • 4. Re: is there Easy way to Copy Project from PRoC to CYBLE-022001
                bob.marlowe

                "how do I set up the PSoC creator workspace environment to use the same source code.  but on several different hardware configurations?"

                Best will be to make a library project with the common sources. Next best is to create a (software) component which you include into any project that make use of that.

                Also, you may use a repository of code. From there you can import the files into your project by right-clicking in workspace explorer on "Source files", select "add existing file". Same for the headers required. The downgrade of this way is that any changes you apply to the files will affect all other projects.

                 

                Bob

                1 of 1 people found this helpful
                • 5. Re: is there Easy way to Copy Project from PRoC to CYBLE-022001
                  e.pratt_1639216

                  The benefit is... any changes you apply to the files will affect all projects

                  • 6. Re: is there Easy way to Copy Project from PRoC to CYBLE-022001
                    geon

                    You can also make use of this link for creating library project Creating a Library Project as an Object Code – KBA90606

                     

                    Best Regards,

                    Geona Mary