This guide is not finished
This guide applies to Ubuntu 12.04 and Mac OS X Lion 10.7, with Eclipse Indigo. Using an ST-Link device requires minimal config compared to using OpenOCD.
this makes updating + installing plugins easier on Ubuntu.
./src Use this as your eclipse workspace ./src/chibios Check out the chibios source code here ./src/proj1 project directory ./src/proj2 project directory ./src/proj1/chibios -> ../chibios symbolic link to chibios ./src/proj1/MakeFile project files ./src/proj1/main.c ./src/proj1/chconf.h ./src/proj1/mcuconf.h ./src/proj1/halconf.h
git clone https://github.com/texane/stlink
$ cd stlink $ ./autogen.sh $ ./configure --prefix=/home/user/apps $ make $ make install
tom@Z77A-GD65:~/projects/rc/src$ st-util 2012-06-26T11:16:13 INFO src/stlink-common.c: Loading device parameters.... 2012-06-26T11:16:13 INFO src/stlink-common.c: Device connected is: F4 device, id 0x20006411 2012-06-26T11:16:13 INFO src/stlink-common.c: SRAM size: 0x30000 bytes (192 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 16384 bytes Chip ID is 00000413, Core ID is 2ba01477. KARL - should read back as 0x03, not 60 02 00 00 init watchpoints Listening at *:4242...