You copied the Doc URL to your clipboard.

--device=name

This option enables you to compile code for a specific microcontroller or System-on-Chip (SoC) device.

Note

This option is deprecated.

Syntax

--device=name

Where:

name

is the name of a target microcontroller or SoC device.

Usage

When you specify a particular device name, the device inherits the default endianness and floating-point architecture from the corresponding CPU. You can use the --bi, --li, and --fpu options to alter the default settings for endianness and target floating-point architecture.

See also

Was this page helpful? Yes No