../applications/main.c:31:1: warning: 'at' attribute directive ignored [-Wattributes] const unsigned char LVCC_Flag[4] __attribute__((at(0x08004000))) = "LVCC";
../applications/main.c:31:1: warning: 'at' attribute directive ignored [-Wattributes]
const unsigned char LVCC_Flag[4] __attribute__((at(0x08004000))) = "LVCC";
这种错误是什么意思?一般是怎么形成的?
查看更多
gcc 听不懂 attribute at 是啥意思
@Shadows丶HY 这里有总结好的,建议收藏下,哈哈RTT Studio中怎么指定某个数组存放在设定的地址上
欢迎发表与嵌入式相关的技术分享、开发技巧、工具介绍、技术设想、职业心得、行业评论等对他人有启发,排版优雅的文章
回到 顶部
发布 问题
分享 好友
手机 浏览
投诉 建议
回到 底部
有没有哪个是和attribute at作用一样gcc还听得懂的来替换?
@Shadows丶HY 搞个数组指针 强制指向这个地址
可以参考下 这个 https://club.rt-thread.org/ask/question/431696.html
@chenyaxing 非常感谢
@HappyTime 嗯嗯,非常感谢