uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(12):trace_buffer_init

本文介绍了解决ADSP BF561 DSP在使用VisualDSP++5.0更新版进行编译时遇到的语法错误问题。通过去除trace_buffer_init(p0,r0);语句末尾的多余分号解决了编译错误。

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

快乐虾

http://blog.youkuaiyun.com/lights_joy/

lights@hb165.com

本文适用于

ADI bf561 DSP

优视BF561EVB开发板

uclinux-2008r1.5-rc3

Visual DSP++ 5.0(update 5)

欢迎转载,但请保留作者信息

head.s中有这样一行

trace_buffer_init(p0,r0);

vdsp中编译出错:

[Error ea5004] "..\..\arch\blackfin\mach-bf561\head.S":105 Syntax Error in :

;

syntax error is at or near text ';'.

Attempting error recovery by ignoring text until the ';'

trace_buffer_init的定义,在include/asm/trace.h

#define trace_buffer_init(preg, dreg) \

preg.L = LO(TBUFCTL); \

preg.H = HI(TBUFCTL); \

dreg = BFIN_TRACE_INIT; \

[preg] = dreg;

看着没什么问题,原来在

trace_buffer_init(p0,r0);

这行的末尾多了个分号!去了它,搞定。

参考资料

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(1):前言(<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5移植(2):代码注释(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(3)vdsp项目创建(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(4):目录差异(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(5)'bf561.h'的问题(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(6)CONFIG_BFIN_KERNEL_CLOCK(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(7)CONFIG_MEM_MT48LC16M16A2TG_75(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(8)CONFIG_CLKIN_HZ(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(9)CONFIG_MEM_SIZE(<chsdate w:st="on" year="2009" month="1" day="12" islunardate="False" isrocdate="False">2009-1-12</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(10)CONFIG_FLASH_SPEED_BTT(<chsdate w:st="on" year="2009" month="1" day="13" islunardate="False" isrocdate="False">2009-1-13</chsdate>)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(11)__INIT(<chsdate w:st="on" year="2009" month="1" day="13" islunardate="False" isrocdate="False">2009-1-13</chsdate>)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值