add notes about building stlink too, assuming I move it to git.gag.com
authorBdale Garbee <bdale@gag.com>
Thu, 2 May 2013 16:49:59 +0000 (10:49 -0600)
committerBdale Garbee <bdale@gag.com>
Thu, 2 May 2013 16:49:59 +0000 (10:49 -0600)
AltOS/building.mdwn

index 83289953e1fac87b6e6c05c474de3502de15f45f..94fe7b9af7b9b29bc5d4f78c4cda4acd398106e3 100644 (file)
@@ -64,3 +64,14 @@ toolchain in /opt/cortex:
 
 That's it!  You should now have an ARM toolchain targetting bare metal for
 both Cortex M0 and M3 variants including a minimal C runtime library.
+
+If you're using a debug/programming interface from ST (either an STlinkV2 USB
+dongle or something like a Discovery board) then you may also want to build
+and install tools for that as follows:
+
+* clone our fork of the [stlink](http://git.gag.com/?p=fw/stlink;a=xummary) 
+  reposirtory with `git clone git://git.gag.com/fw/pdclib`
+* cd into the stlink directory, and build using 
+  './configure --prefix=/opt/cortex; make ; make install'.  This will install
+  the stlink library and related utilities in /opt/cortex.
+