From 4147a76ae2016ff8fe1ae3923b0a18009dd65b2e Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Thu, 2 May 2013 10:49:59 -0600 Subject: [PATCH] add notes about building stlink too, assuming I move it to git.gag.com --- AltOS/building.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/AltOS/building.mdwn b/AltOS/building.mdwn index 8328995..94fe7b9 100644 --- a/AltOS/building.mdwn +++ b/AltOS/building.mdwn @@ -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. + -- 2.30.2