TI中文支持网
TI专业的中文技术问题搜集分享网站

你好,IAR下使用了“#pragma location=”和“__persistent”会有错误提示“a __persistent variable may not be const, __no_init, or located ”,请问该怎么处理?

你好,IAR下使用了“#pragma location=”和“__persistent”会有错误提示“a __persistent variable may not be const, __no_init, or located ”,请问该怎么处理?

Seven Han:

参考wiki链接:

http://processors.wiki.ti.com/index.php/Placing_Variables_in_Specific_Memory_Location_-_MSP430?keyMatch=pragma&tisearch=Search-EN

以及the Assembly User's Guide:

http://www.ti.com/lit/ug/slau131q/slau131q.pdf

赞(0)
未经允许不得转载:TI中文支持网 » 你好,IAR下使用了“#pragma location=”和“__persistent”会有错误提示“a __persistent variable may not be const, __no_init, or located ”,请问该怎么处理?
分享到: 更多 (0)