0

源代码示例使用

__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")))

没有运气。

可能吗?

4

0 回答 0