Addressmod Capability To Create User Defined Address Spaces In Any Kind Of Memory Device
Part of the IEEE Embedded C standard (ISO/IEC TR 18037), addressmod allows you to create custom qualifiers to create variables in any kind of memory device. The identifier can be used with any data types, including structures, unions, arrays, and pointers. Review the following example, which uses addressmod to create variables that are located in external memory:
From CCS compiler page. It works (bug in latest versions). Would be great to have this feature with arduino as well. .