Hello, Gustavo!
The alternative you can try is to export the Processor Expert components of one project and import it on the other one. For that, you may follow those steps:
- Export the Processor Expert Component Settings:
- On the Project Explorer Panel, right click on the project to be cloned and select the option Export.
- On the Export Tab, select the Export Component Settings option.
- On the Export Processor Expert Component Setting Tab:
- Select the project you want to export;
- Select all the processors and components desired;
- Chose the file’s location and name;
- Click on Finish.
- Create a new project (or use one of the projects you want to merge):
- Click on File->New->S32DS Application project.
- Define the name of the new project, chose the corresponding processor for your application, and proceed to the next tab.
- On the New S32DS Project tab, chose the ProcessorsName_SDK_gcc on the SDKs option.
- Import the Processor Expert Component Settings:
- On the Project Explorer Panel, right click on the created projected and select the option Import…
- On the Import Tab, select Component Settings to Project.
- On the Import Processor Expert Component Settings Tab:
- Select the file created previously;
- Select the new project;
- Verify the list of components to be imported and their respective modes. Note that this component list varies accordingly to the original project.
- On the Components Tab click on the Generate Processor Expert Code icon.
After those steps, the file ProcessorExpert.pe should appear on the file list of the new project on the Project Explorer Panel. And all the components should be available on the Processor Expert. However, in some cases, conflicts between different dialects of the programming language used and the optimization parameters set could appear. To fix these issues, go to Project->Properties and:
- C/C++ Build -> Settings -> Standard S32DS C Compiler -> Dialect, and chose the corresponding language standard.
- C/C++ Build -> Settings -> Standard S32DS C Compiler -> Optimization, and chose the desired optimization settings.
After applying those changes, a pop-up will ask if you want to rebuild it now. After confirming it, the project is ready, and you can import the second project.
I hope my answer helps you.
Regards,
Kamilla