导航: 老古网老古论坛XMOS公共讨论区XMOS开源项目区单片机程序设计嵌入式系统广告区域
→BL51 myfile.obj CODE (?pr?*?my

* 36547: 我想没人能回答的问题

   shangdawei 
shangdawei发表的帖子 

 BL51 myfile.obj CODE (?pr?*?myfile (0x100))
使用通配符解决这个问题 :
-------------------------------------------------------------------------------------

QUESTION

Is there a way to use wildcards in the CODE and XDATA directives in the BL51 linker? 

ANSWER

Yes. In C51 V6.01, wildcard support was added to BL51 for the segment location directives (CODE, XDATA, DATA, and so on). For example: 

BL51 myfile.obj CODE (?pr?*?myfile (0x100))


in uVision2: Under the options for target, select the BL51 Locate tab and in the code section put this: 
 ?pr?*?myfile (0x100)


locates all program segments (functions) found in the myfile.obj OMF file starting at address 0100h. 

-------------------------------------------------------------------------------------


发表时间:2003年7月8日23:24:36

  
回复该帖

本主题共有 8 帖,分页:>>>>>该主题的所有内容[8]条

 *树形目录 只列出部分跟帖的标题以及简单的摘要信息 该主题的部分跟帖如下:

  36604.[详细]thanks very much.may i become..
摘要:thanks very much. may i become your good friend ? my name is......(95字)
- [HFC][997次] 2003年7月9日

[上一篇帖子]:购买时指定厂家和型号,特别注意全称(带尾部标号)
[下一篇帖子]:RE:每次循环都把SDA置1,主要是避免单片机IO口影响SDA