AnsweredAssumed Answered

How to share code and data between two cores in S32 Studio applications?

Question asked by Cheng FANG on Nov 28, 2016
Latest reply on Dec 2, 2016 by Martin Kovar

Now we try to develop application for MPC5745R in S32 studio. When building the default project for MPC5745R, two binary files (ELF file) are generated respectively. Each contains the code and data for the dedicated core. Then I have the question: how to share code and data between two cores?

 

Define a section for the share code, put all the shared code in this section and compile all the shared core into both ELF files?

 

Or is there any method to generate only one ELF file which contains code and data for both cores?

Outcomes