Keil Logo

BL51: USING WILDCARDS IN SEGMENT NAMES


Information in this article applies to:

  • C51 Version 6.01

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:

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.

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Wednesday, November 17, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.