Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Trying to install a toolchain for an STM32F4 Discovery Eval Board. Any hints about doing this?

sudo apt-get install arm-none-eabi-gdb

If at all possible I would like to avoid using an IDE. So that I can get the hang of the basics.

Leaning towards using dfu-util or Texane st-link

share|improve this question

They are actually compliant. gcc Arm tool chain does not compile for cortex-M4, and cortex-M2. (However code for Cortex-M3 is suitable for Cortex-M4) And it gives only ELF output.

I'm currently working at the software able to transform ELF into HEX suitable for at least some programmers. It must be some commercial software, which make sense for free gcc, and openosd apart but not together.

Also it are no available even basic libraries for STM-32. I plan to develop them too. But I plan to do it step by step for each task. (Many years ago I codded for PIC without any libraries, simply giving defining every resource I need. I may share my next job with step by step growing libraries. But it may take some while.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.