开发者

Compile for ARM Cortex M3 using standard GCC?

Is it possible to compile C/C++ code for the ARM Cortex M3 (LPC1768) using vanilla GCC with the --target switch, or will I need to compile GCC, binutils, etc to do this?开发者_JAVA百科


As already said, those are not your only two options. I suggest trying this toolchain prepared by ARM engineers: GNU Tools for ARM Embedded Processors . It's specifically tailored for Cortex-M and Cortex-R cores, and it doesn't require registration to download it.


You can find an excellent series of tutorial style blog posts here, for example this one about bare metal programming for the M3.


CodeSourcery G++ supports a wide range of ARM processors including Cortex-M3. Its also free unless you need professional support.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜