ARM Cortex M4 Toolkit

Is there a way to configure Eclipse + gnu gcc + debuger for ARM Cortex M3 / M4 microcontrollers (Stellaris, Kinetis)?

Regards, Peter

+4
source share
4 answers

If the toolchain is based on gcc and the gdb debugger, then probably yes. Just use eclipse with CDT, set up a cross-compilation project, enter the toolchain prefix (for example, arm-eabi or something else), etc .... When using compiled use create the “gdb hardware debugging” startup configuration, enter the correct command gdb to use (maybe something-gdb), and you'll probably be fine.

+2
source

There is a fairly detailed guide to creating an Eclipse + GNU toolchain for ARM here:

http://www.stf12.org/developers/ODeV.html

This gives a good tweak to the Big Three (Mac / Win / Lin), and is pretty easy to track. However, some intuition is required when integrating OpenOCD into Eclipse.

+2
source

I believe what you are looking for: http://www.yagarto.de/

0
source

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

I am also looking for a suitable toolchain, but I will not touch Eclipse or any dirty installers. For this path, you can see CodeSourcery . Eclipse comes with a trial version. I'm not looking for Kinetis right now. There are also Yagarto for mswin and OSX.

There is some talk about interacting with the Stellaris debugger . lmicdiusb, "The TCP / USB bridge created by T" I should allow GDB to communicate with the Stellaris Launchpad ICDI. I'm still not sure how attached to a particular board or chip.

Update: I found that the Emdebian software chains work fine for Cortex (Thumb) purposes. Stellarisware and CMSIS are built mostly out of the box (with the correct set of compiler names). They are integrated and (for Debian), thus, the cleanest way to get the tool chain. I believe in Ubuntu, you have the same command compilers basically.

Update: The Debian main distribution now has a bare metal compiler . works well for me and should have the fastest integration with other tools.

0
source

Source: https://habr.com/ru/post/1382657/


All Articles