Dejan Levec

STM32F4 Discovery board

I bought STM32F4 Discovery board from Farnell two months ago, but I got to it only two days ago. After testing some examples and trying to interface with ENC28J60 Ethernet Controller, I quiclky found out, that free versions of development tools cannot build executables bigger than 32KB. So I decided to install toolchain on Ubuntu 12.04.

I found installation procedure for 11.04 at, but some things have changed since than, so here is installation guide for latest Ubuntu version:

$ sudo apt-get install flex bison libgmp-dev libmpfr-dev libncurses5-dev libmpc-dev autoconf texinfo build-essential libftdi-dev zlibc libmpc-dev
$ git clone
$ cd summon-arm-toolchain
$ sudo ./summon-arm-toolchain
$ cd ..
$ sudo apt-get install libsgutils2-dev libusb-1.0-0-dev
$ git clone
$ cd stlink
$ ./
$ ./configure
$ make

More info about using ChibiOS on it:

My first project? Internet radio player. More about it soon.

Leave a Reply

Your email address will not be published. Required fields are marked *