你好,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
TI中文支持网



