[cfe-commits] [PATCH] Add support for cortex-m0 cpu
jorr at apple.com
Fri Mar 18 02:06:06 PDT 2011
On Mar 17, 2011, at 5:04 PM, James Orr wrote:
> Currently clang supports the cortex-m3 cpu and gcc-llvm supports this and cortex-m0. In order to maintain parity between clang and gcc-llvm this patch adds support for the cortex-m0.
> Was able to compile firmware and it ran successfully.
> -arch armv6 -mcpu=cortex-m0 -mthumb
The previous patch was sending the triple "thumb-apple-darwin10.0.0".
Updated it to use: "thumbv6m-apple-darwin10.0.0" for Cortex-M0 and "thumbv7m-apple-darwin10.0.0" for Cortex-M3.
These are the same arch part of the triples as used by llvm-gcc.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1625 bytes
Desc: not available
More information about the cfe-commits