How do I export or import a Synergy Project?.
After following the steps below you will be able to export and import projects in small and portable packages that you can distribute in compliance with your Renesas Synergy software license.
Exporting project into custom archive
Before you start, open e2studio ISDE and make sure your project is visible in the Project Explorer (on the right-hand side of the window by default)
- Right-click the project you wish to export and choose Export.
- In the new window, select General > File System and proceed to the next step.
- Use Deselect All button to clear the selection
- Click the checkboxes by the following entries in the left pane:
- src directory (but deselecting synergy_gen folder inside it)
- script directory (only in case project is using a modified linker script)
- In the right pane, select the project folder and click the checkboxes next to the following entries in the right pane:
- configuration.xml file (this will allow the user to re-generate all the other content missing from the archive)
- *.pincfg file (name will vary by project; used by the Synergy Configurator to create the pin configuration)
- optionally, you may choose to include .jlink and .launch files in case debug setup is different from default
- Click Browse button and pick an appropriate directory name.
- Make sure the option Create directory structure for files is selected.
- Click Finish to export project content.
- Navigate to the export folder using Windows Explorer or other file manager. Make sure you're inside the folder that is named based on the project exported from and that files listed above can be seen on the current screen.
- Select all items in the visible folder and right-click on any one of them.
- In the context menu, go to Send to/Compressed (zipped) folder.
Congratulations, you have now exported all the files necessary to re-create your project into a single .zip archive.
Importing project from custom archive
- Before you can import your exported project, you need to create a new Synergy project from the BSP template.
- Select your newly created BSP project and click File > Import.
- In the popup window, select General > Archive File and click Next.
- Browse to the location of the previously exported archive file and select it.
- Make sure the Into folder field holds the name of your target project.
- At the bottom of the window, tick Overwrite existing resource without warning checkbox.
- Click finish to import the archive contents into the workspace.
- Close and re-open configuration.xml in your new project and select Generate Project Content in the top-right corner.
- Proceed to build the source to allow running and debugging of the project.
- The user has to make sure that all of the packages included in the old project are present on the machine where the project is imported.
- Projects exported using this method cannot be ported onto different target boards without making changes. The user will be required to create a new pin configuration file matching the pin layout for the microcontroller used by that board.