unsigned char ary[3] __attribute__((at(0x20000000))) = {0, 1, 3}; //MDK中定义变量指定SRAM地址const unsigned char buf[2] __attribute__((at(0x08035800))) = {9, 7}; //MDK中定义常量指定Flash地址void fun(void) __attribute__((at(0x08075800))); //MDK中定义函数指定Flash地址