9

是否可以使用带有开关的 vanilla GCC 为 ARM Cortex M3 (LPC1768) 编译 C/C++ 代码--target,还是我需要编译 GCC、binutils 等来执行此操作?

4

3 回答 3

10

如前所述,这些不是您唯一的两个选择。我建议尝试 ARM 工程师准备的这个工具链:GNU Tools for ARM Embedded Processors。它专为 Cortex-M 和 Cortex-R 内核量身定制,无需注册即可下载。

于 2012-11-14T11:03:41.227 回答
4

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

于 2012-11-03T20:10:09.277 回答
3

CodeSourcery G++支持广泛的 ARM 处理器,包括 Cortex-M3。除非您需要专业支持,否则它也是免费的。

于 2011-01-17T19:00:13.853 回答