BL51: USING WILDCARDS IN SEGMENT NAMES
Information in this article applies to:
Is there a way to use wildcards in the CODE and XDATA directives in the BL51 linker?
Yes. In C51 V6.01, wildcard support was added to BL51 for the segment location directives (CODE, XDATA, DATA, and so on). For example:
In the µVision IDE, go to Project -> 'Options for Target' -> 'BL51 Misc', and in the 'Misc controls' section, enter:
CODE (?pr?*?myfile (0x100))
Or if using a make file, enter this command:
BL51 myfile.obj CODE (?pr?*?myfile (0x100))
These commands locate all program segments (functions) found in the myfile.obj OMF file starting at address 0100h.
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Wednesday, November 17, 2004
of your data.