This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

__at keyword does not work

Compiler complains when using that attribute as in example : const char MyText[] __at (0x1F00) = "TEXT AT ADDRESS 0x1F00";

Any idea ?

Parents
  • Not an ARM user, but:

    The examples in the manual do not have parens around the address. It may not be a general expression, but rather just a literal.

    (Meanwhile, I'll return to the lowly 8051 compiler, where you can have either the _at_ keyword or an initializer, but not both. So this problem can't come up :))

Reply
  • Not an ARM user, but:

    The examples in the manual do not have parens around the address. It may not be a general expression, but rather just a literal.

    (Meanwhile, I'll return to the lowly 8051 compiler, where you can have either the _at_ keyword or an initializer, but not both. So this problem can't come up :))

Children