Keil Logo

BL51: DP, DS And DL Directives


Information in this article applies to:

  • C51 Version 5.50 and Later

QUESTION

Somewhere I have seen the DP, DS and DL linker directives mentioned. I cannot find any reference to them in the BL51 users manual. What do they do?

ANSWER

DP is an abbreviation for the DEBUGPUBLICS directive, DS is an abbreviation for the DEBUGSYMBOLS directive and DL is an abbreviation for the DEBUGLINES directive. The directives have the following meanings:

  • DEBUGPUBLICS (DP) - include public symbol information
  • DEBUGSYMBOLS (DS) - include local symbol information
  • DEBUGLINES (DL) - include line number information

These directives are the default settings for the linker, so the following two linker invocations generate an OMF-51 file containing the same information:

BL51 EXAMPLE.OBJ TO EXAMPLE DL DS DP

BL51 EXAMPLE.OBJ TO EXAMPLE

To set up the linker in µVision:

  1. Choose BL51 Code Banking Linker from the Options menu
  2. Click on the Linking tab
  3. Select all three options in the Debug Information box: Include Local Symbols, Include Public Symbols, Include Line Numbers

MORE INFORMATION


Last Reviewed: Thursday, February 25, 2021


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.