这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 大虾看看用ADS1.2编译移植到XSCALED的UCOS的OS_CPU_A.S遇

共6条 1/1 1 跳转至

大虾看看用ADS1.2编译移植到XSCALED的UCOS的OS_CPU_A.S遇到的问题

菜鸟
2005-06-27 19:40:43     打赏

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 60

60 00000028 MSREQ SPSR,r12 ; restore the SPSR

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 86

86 00000044 MSR CPSR,r1 ; and change to that mode

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 94

94 00000058 MSR CPSR,r0 ; return to IRQ mode

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 97

97 0000005c MSR SPSR,r12 ; restore SPSR_irq ready for return

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 107

107 0000007c MSR SPSR,lr ; recover the SPSR when the thread

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 110

110 00000084 MSR CPSR,lr ; recover the CPSR when the thread

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 124

124 00000094 MSR CPSR, r12

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 131

131 000000a4 MSR CPSR, r12

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 176

176 000000f0 MSR SPSR, r4 ; YYY+

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 178

178 000000f8 MSR CPSR, r4 ; YYY+

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 199

199 0000011c MSR CPSR, r4 ; CPSR should be SVC32Mode

11 Errors, 0 Warnings




关键词: 大虾     看用     ADS1.2     编译     移植     XSCALE    

菜鸟
2005-06-27 21:17:00     打赏
2楼

把CPSR改成cpsr_cxsf试试


菜鸟
2005-06-27 22:42:00     打赏
3楼

还是不行啊


菜鸟
2005-06-27 22:48:00     打赏
4楼

改之后的错误为

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 60

60 00000028 MSREQ SPSR,r12 ; restore the SPSR

Error : A1261E: MRS cannot select fields, use cpsr directly OS_CPU_A.S line 82

82 00000034 MRS r0,cpsr_cxsf ; get current mode info.

Error : A1261E: MRS cannot select fields, use cpsr directly OS_CPU_A.S line 92

92 0000004c MRS r2,cpsr_cxsf ; copy current cpsr_cxsf

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 97

97 00000054 MSR SPSR,r12 ; restore SPSR_irq ready for return

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 107

107 00000074 MSR SPSR,lr ; recover the SPSR when the thread

Error : A1261E: MRS cannot select fields, use cpsr directly OS_CPU_A.S line 122

122 00000084 MRS r12, cpsr_cxsf

Error : A1261E: MRS cannot select fields, use cpsr directly OS_CPU_A.S line 129

129 00000090 MRS r12, cpsr_cxsf

Error : A1261E: MRS cannot select fields, use cpsr directly OS_CPU_A.S line 151

151 000000a0 MRS r4, cpsr_cxsf

Error : A1450W: Deprecated form of PSR field specifier used (use _cxsf for future compatibility) OS_CPU_A.S line 176

176 000000dc MSR SPSR, r4 ; YYY+

9 Errors, 0 Warnings


菜鸟
2005-06-28 00:34:00     打赏
5楼

晕,没出错的那些行你改它干啥呀。

说仔细点八,MRS后面的不要改,就用CPSR或SPSR;

MSR后面的改成CPSR_cxsf或SPSR_cxsf


菜鸟
2005-06-28 04:02:00     打赏
6楼
多谢版主,终于可以,能不能告诉是什么原因啊

共6条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]