ARM Cortex-M4 工具链

发布于 2024-12-17 23:43:57 字数 1436 浏览 5 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

热情消退 2024-12-24 23:43:58

如果工具链基于 gcc 并且调试器基于 gdb,那么可能是的。
只需将 Eclipse 与 CDT 结合使用,设置交叉编译项目,输入工具链前缀(如 arm-eabi- 或其他)等...
当编译使用创建“gdb硬件调试”启动配置时,输入正确的gdb命令来使用(可能是something-gdb),你可能会没事。

If toolchain is gcc based and debugger gdb based, then probably yes.
Just use eclipse with CDT, set up cross compile project, enter toolchain prefix (like arm-eabi- or something) etc...
When compiled use create "gdb hardware debugging" launch configuration, enter proper gdb command to use (probably something-gdb) and you will probably be fine.

﹉夏雨初晴づ 2024-12-24 23:43:58

根据 “使用以下命令对 Stellaris Launchpad 进行编程GNU/Linux”,您可以使用 lm4tools
对于目标, summon-arm-toolchain 来获取编译器,甚至使用 Stellarisware。 github 上还有 jsnyder 的 gcc 项目

我也在寻找合适的工具链,但不会接触 Eclipse 或任何混乱的安装程序。对于该路径,您可能需要查看 CodeSourcery。 Eclipse 附带试用版本。我自己目前并没有在寻找 Kinetis。还有用于 mswin 和 OSX 的 Yagarto

有一些有关 Stellaris 调试器接口的讨论lmicdiusb,“T”I 创建的 TCP/USB 桥 应该让 GDB 与 Stellaris Launchpad ICDI 进行通信。我还不确定这与特定的板或芯片有多大关系。

更新:我发现 Emdebian 工具链非常适合 Cortex (Thumb) 目标。 Stellarisware 和 CMSIS 基本上是开箱即用的(使用正确的编译器名称集)。这些是集成的(对于 Debian),因此是获取工具链的最简洁的方法。我相信在 Ubuntu 上,你的 main 中有相同的 arm 编译器。

更新:Debian 现在在主发行版中有一个“裸机”编译器 。它对我来说效果很好并且应该与其他工具有最完美的集成。

According to "Programming the Stellaris Launchpad with GNU/Linux", you can use lm4tools
for the target, summon-arm-toolchain to get the compiler and even use Stellarisware. There's also jsnyder's gcc project on github.

I'm in the process of finding a suitable toolchain as well, but will not touch Eclipse or any messy installers. For that path, you may want to look at CodeSourcery. Eclipse comes with the trial cersion. I'm not looking for Kinetis at the moment myself. There's also Yagarto for mswin and OSX.

There is some talk about interfacing to the Stellaris debugger. The lmicdiusb, "TCP/USB bridge created by T"I should let GDB communicate with the Stellaris Launchpad ICDI. I'm not yet sure how tied that is to the particular board or chip.

Update: I've found that the Emdebian toolchains work perfectly well for Cortex (Thumb) targets. Stellarisware and CMSIS build essentially out of the box (with the right compiler name set). These are integrated and (for Debian) thus the cleanest way to get the toolchain. I believe on Ubuntu, you have the same arm compilers in main.

Update: Debian now has a "bare metal" compiler in the main distribution. It is working well for me and should have the neatest integration into other tools.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文