Hello Stanislav,
thank you - this solves the error.
Maybe you can help me with the 2nd issue too ...
The variable "TableStruct" is used in several (shared) files.
To access the variable I use the following code in each C-source file:
extern volatile tTableStruct* TableStruct;
But to be able to use these files with CW and other compilers I have to change it to:
#if defined(__COMPILER_CODEWARRIOR_ECLIPSE__)
#pragma push
#pragma section sdata_type ".ptrTableStruct" ".ptrTableStruct"
extern volatile tTableStruct *TableStruct;
#pragma pop
#else
extern volatile tTableStruct* TableStruct;
#endif
Do you think there is a better solution ?
Thank you for your time,
Markus