arm 变量或数组放置在指定地址(2012-04-16 09:12:38)语法__attribute__((at(address))) 其中:
const int x1 __attribute__((at(0x10000))) = 10; int x2 __attribute__((at(0x12000))) = 10; int x3 __attribute__((at(0x14000))) = 0; int x4 __attribute__((at(0x16000)));
或者加入:
#include <absacc.h> |
|
来自: BeautymengRoom > 《嵌入式系统》