Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:libopencm3 [2022/10/20 20:11] – [Install] darron | tools:libopencm3 [2022/12/18 21:10] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== OpenCM3 | + | ==== libopencm3 |
- | OpenCM3 | + | libopencm3 |
The firmware library was built with [[: | The firmware library was built with [[: | ||
Line 7: | Line 7: | ||
=== Install === | === Install === | ||
< | < | ||
- | mkdir /embedded/ | + | mkdir -p /opt/src |
- | cd /embedded/ | + | cd /opt/src |
git clone http:// | git clone http:// | ||
cd libopencm3 | cd libopencm3 | ||
- | make PREFIX=/embedded/arm-cortex/gcc-arm-none-eabi-5_2-2015q4/bin/arm-none-eabi | + | make PREFIX=/usr/bin/ |
+ | cp -Rpa /opt/src/ | ||
</ | </ | ||
=== Examples === | === Examples === | ||
< | < | ||
- | mkdir /embedded/ | + | mkdir -p /opt/src |
- | cd /embedded/ | + | cd /opt/src |
git clone https:// | git clone https:// | ||
cd libopencm3-examples | cd libopencm3-examples | ||
git submodule init | git submodule init | ||
git submodule update | git submodule update | ||
- | make PREFIX=/embedded/arm-cortex/gcc-arm-none-eabi-5_2-2015q4/ | + | make PREFIX=/usr/bin/ |
</ | </ | ||
Line 30: | Line 31: | ||
[[https:// | [[https:// | ||
- | |||
- | |||