__attribute__ 部分名称更改为特定地址

问题描述

代码示例使用

__attribute__((section (__x__)))

具有不同的部分名称 __x__ 。 (“MB_MEM1”、“MB_MEM2”、“MAPPING_TABLE”、..)

必须将参数更改为特定地址而不是扇区名称

__attribute__((section(".ARM.__at_0x20030000")))

参考:https://developer.arm.com/documentation/100068/0608/compiler-source-code-compatibility/language-extension-compatibility--attributes

通过执行类似的操作寻找一种保留原始扇区名称方法

__attribute__((section(".MB_MEM1.ARM.__at_0x20030000")))

运气不好。

有可能吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)