[cfe-commits] [PATCH] Add support for cortex-m0 cpu

James Orr jorr at apple.com
Thu Mar 17 17:04:28 PDT 2011


Hi,

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

-James


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cortex-m0-cpu-flag-support.diff
Type: application/octet-stream
Size: 1861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110317/63d56562/attachment.obj>


More information about the cfe-commits mailing list