Keil Logo Arm Logo

LARM User's Guide

Discontinued

UNUSED Linker Directive

Abbreviation

UU

Arguments

UNUSED 〚 (REMOVE | KEEP) 〛

Default

UNUSED (REMOVE)

µVision

Options — LA Misc — Unused Functions.

Description

The UNUSED directive allows you to keep or remove unused functions from the executable program.

  • UNUSED (REMOVE) directs the linker to remove functions that are not called or referenced in your program.
  • UNUSED (KEEP) directs the linker to keep all functions.
Example
LA myfile.obj UNUSED (KEEP)

arm-logo-small

Keil logo
Important information

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