After the Circus

Random Sample
6:55am Eleven Floors Up

contact me
jean at geemoo dot ca

Jun 29, 2014
So, I've started playing around with the STM32 arch again, and got myself an STM32F3Discovery board. I didn't really want to depend on the CodeSourcery toolchain like most websites seem to recommend getting, so my first step was to build a toolchain.

I discovered crosstool-ng, which is totally awesome, and found a site (mirror), on how to configure crosstool.

You'll also need the stlink stuff at, for connecting gdb to the stlink jtag programmer found on the Discovery board.

The one gotcha I had was that zsh seemed to be somehow interfering with how the config file was read. If you get issues with not building the toolchain you configured, I suggest you chsh to bash, and try it again. I didn't figure out exactly what in zsh was causing it to break, but if you do, let me know and I'll add a note here.
Tags: linux