I know there is a way to store extern variables in a section defined in ld file as below:
__attribute__ ((section(".ccp_database1"))) struct stDataCache stDataRamCacheA;
__attribute__ ((section(".ccp_database1"))) struct stDataCache stDataRamCacheB;
But it is quite inconvenient if there are many extern variables in source files. Some compiler can do it by writing it in link file, for example TI CCS. Could S32 IDE also have this feature?
My platform is: S32 IDE V1.1 + MPC574x