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

 

快乐虾

http://blog.csdn.net/lights_joy/

lights@hb165.com

 

本文适用于

ADI bf561 DSP

优视BF561EVB开发板

uclinux-2008r1.5-rc3

Visual DSP++ 5.0(update 5)

 

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

 

Head.s中有一行:

ENDPROC(__start)

其错误为:

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

.type __start, @function; .size __start, .-__start

syntax error is at or near text '@'.

Attempting error recovery by ignoring text until the ';'

查了下ENDPROC的定义,在include/linux/linkage.h中:

#ifndef END

#define END(name) /

  .size name, .-name

#endif

 

#ifndef ENDPROC

#define ENDPROC(name) /

  .type name, @function; /

  END(name)

#endif

VDSP不需要使用

.size name, .-name

这样的定义,因此直接修改为:

#ifndef ENDPROC

#define ENDPROC(name) /

     name##.end:

#endif

 

1       参考资料

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(1):前言( 2009-1-12 )

uclinux-2008R1.5-RC3(bf561)VDSP5移植(2):代码注释( 2009-1-12 )

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(3)vdsp项目创建( 2009-1-12 )

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(4):目录差异( 2009-1-12 )

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(5)'bf561.h'的问题( 2009-1-12 )

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(6)CONFIG_BFIN_KERNEL_CLOCK( 2009-1-12 )

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(7)CONFIG_MEM_MT48LC16M16A2TG_75( 2009-1-12 )

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(8)CONFIG_CLKIN_HZ( 2009-1-12 )

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(9)CONFIG_MEM_SIZE( 2009-1-12 )

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(10)CONFIG_FLASH_SPEED_BTT( 2009-1-13 )

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(11)__INIT( 2009-1-13 )

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(12)trace_buffer_init( 2009-1-13 )

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

嵌云阁主

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值