You copied the Doc URL to your clipboard.

--device=name

Selects a specific microcontroller or System-on-Chip (SoC) device.

Syntax

--device=name where name is a specific device name.

To get a full list of the available devices, use the --device=list option.

Usage

The link phase fails if any of the component object files rely on features that are incompatible with the selected processor. The linker also uses this option to optimize the choice of system libraries and any veneers that need to be generated when building the final image. The default is to select a device that is compatible with all of the component object files.

Note

This option is deprecated.

Related reference

Was this page helpful? Yes No