контроллер ARM 926ej-s.
Спасибо за ссылку.
Видимо придется использовать вариант предложенный Вами.
А что за архитектура MeP?
Еще на сколько я понял можно использовать атрибут section:
section ("section-name") Normally, the compiler places the objects it generates in sections like data and bss. Sometimes, however, you need additional sections, or you need certain particular variables to appear in special sections, for example to map to special hardware. The section attribute specifies that a variable (or function) lives in a particular section. For example, this small program uses several specific section names:
struct duart a __attribute__ ((section ("DUART_A"))) = { 0 }; struct duart b __attribute__ ((section ("DUART_B"))) = { 0 };
но в случае с section надобно будет указывать перечисленные секции в скрипте линкера, так?
|