Syntax

-cpu=c

-cpu=list

Description

Specifies the cpu core to generate code for and the libraries to link against.

Example

To force compilation for Cortex-M3 core you would use:

cc -cpu=Cortex-M3 … 

To list supported cores:

cc -cpu=list