Hallo.
I have a question about Concerto variable declaration.
We have a CANopen driver and have a number of variables for M35 and C28 cores. I need to have an access to any of these variables via CAN. So I have to declare all C28 variables in the M35 core to include them into CANopen dictionary file.
Is there any simple method to do so?
PS:
Today I have found some solutions.
The first one is to declare all variables of C28 in a huge struct and place it via PRAGMA to the shared memory. Then to declare the same struct in M35 memory. But there will be problems with some existing software modules where global variables already declared inside the module. They have to be rewritten to indirect addressing mode or rewritten for new variable names.
The second solution is to make a program that converts .map-file of C28 project into the file for M35 with pointers declarations. The problem is that I have to remember to convert this file every time I insert or delete variables to C28 project.
What do you recomend to do?