3.2. Specifying the Compilation Target

The following command-line options specify the device being used and other characteristics about the hardware environment that the compiler should assume during compilation. These options determine which instruction set is used by the compiler and whether or not the compiler can assume the availability of floating-point hardware.

cl2000 Option (and alias)

c29clang Option

--silicon_version=28 (-v28)

-mcpu=<processor variant>

The cl2000 compiler supports only the “28” value for the --silicon_version command-line option. For the c29clang compiler, use the -mcpu=c29.c0 option, which is also the default.

cl2000 Option

c29clang Option

--float_support=<float hardware ID>

-mfpu=<float hardware ID>

The cl2000 compiler uses the --float_support option to indicate whether floating-point hardware is available and if it is available, which floating-point hardware it is.

Native support for 32-bit floating-point operations is always provided for C29. Optionally, you can also enable 64-bit hardware instructions for floating-point operations using the -mfpu option, which can have either of the following settings:

  • -mfpu=none - Use native 32-bit floating-point hardware operations, but emulate 64-bit floating-point operations in software.

  • -mfpu=f64 - Use native 32-bit and 64-bit floating-point hardware operations.

For additional information about options that can be used to manage compiler behavior with respect to floating-point support, please see Managing Floating Point Support.

cl2000 Option (and alias)

c29clang Option

--abi={coffabi|eabi}

only EABI is supported

The COFF ABI output format, which is supported by the proprietary TI C28x compiler, is not supported for TI C29x targets. The C29x Embedded Application Binary Interface (EABI) is always used.

cl2000 Option (and alias)

c29clang Option

--cla_support

Not supported

The TI C29x CPU provides improved processing performance, so separate hardware accelerators are not needed. See Migrating CLA Code for information about migrating C code that was intended for use with the CLA compiler.

cl2000 Option (and alias)

c29clang Option

--idiv_support

Not supported

The TI C29x CPU provides improved processing performance, so separate hardware accelerators are not needed.

cl2000 Option (and alias)

c29clang Option

--tmu_support

Not supported

The TI C29x CPU provides improved processing performance, so separate hardware accelerators are not needed.

cl2000 Option (and alias)

c29clang Option

--vcu_support

Not supported

The TI C29x CPU provides improved processing performance, so separate hardware accelerators are not needed.

cl2000 Option (and alias)

c29clang Option

--lfu_reference_elf=path

Not supported

-lfu_default[=none | preserve]

Not supported

Live Firmware Updates are not currently supported for TI C29x.