AC5编译
const char str[] __attribute__((at(0x08010000))) = {"123456789"};
AC6编译
const char str[] __attribute__((section(".ARM.__at_0x08010000"))) = {"123456789"};
确认是否实现功能
总结:通过以上代码成功把内容编译到指定地址
const char str[] __attribute__((at(0x08010000))) = {"123456789"};
const char str[] __attribute__((section(".ARM.__at_0x08010000"))) = {"123456789"};
总结:通过以上代码成功把内容编译到指定地址