diff options
| author | Bdale Garbee <bdale@gag.com> | 2013-05-02 10:49:59 -0600 |
|---|---|---|
| committer | Bdale Garbee <bdale@gag.com> | 2013-05-02 10:49:59 -0600 |
| commit | 4147a76ae2016ff8fe1ae3923b0a18009dd65b2e (patch) | |
| tree | 2b2b817363facdd7c3bd4a805666b7cbc7067fa5 /AltOS | |
| parent | 4d2b55d61a5ffdef1da567ebfa0da604d14e7012 (diff) | |
add notes about building stlink too, assuming I move it to git.gag.com
Diffstat (limited to 'AltOS')
| -rw-r--r-- | AltOS/building.mdwn | 11 |
1 files changed, 11 insertions, 0 deletions
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. + |
