Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:libopencm3 [2015/03/21 12:07] – [Resource] darrontools:libopencm3 [2022/12/18 21:10] (current) – external edit 127.0.0.1
Line 1: Line 1:
-==== OpenCM3 ====+==== libopencm3 ====
  
-OpenCM3 is a firmware library for embedded ARM CPUs.+libopencm3 is a firmware library for embedded ARM CPUs.
  
 The firmware library was built with [[:tools:gccarm|this]] compiler. The firmware library was built with [[:tools:gccarm|this]] compiler.
Line 7: Line 7:
 === Install === === Install ===
 <code> <code>
-mkdir /embedded/arm-cortex/src +mkdir -p /opt/src 
-cd /embedded/arm-cortex/src +cd /opt/src 
-git clone git://github.com/libopencm3/libopencm3.git+git clone http://github.com/libopencm3/libopencm3.git
 cd libopencm3 cd libopencm3
-make PREFIX=/embedded/arm-cortex/gcc-arm-none-eabi-4_9-2014q4/bin/arm-none-eabi +make PREFIX=/usr/bin/arm-none-eabi- 
-make install DESTDIR=/embedded PREFIX=arm-cortex+cp -Rpa /opt/src/libopencm3 /opt/libopencm3
 </code> </code>
  
 === Examples === === Examples ===
 <code> <code>
-mkdir /embedded/arm-cortex/src +mkdir -p /opt/src 
-cd /embedded/arm-cortex/src+cd /opt/src
 git clone https://github.com/libopencm3/libopencm3-examples.git git clone https://github.com/libopencm3/libopencm3-examples.git
 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-4_9-2014q4/bin/arm-none-eabi+make PREFIX=/usr/bin/arm-none-eabi-
 </code> </code>
  
 === Resources === === Resources ===
-[[http://www.libopencm3.org/wiki/Main_Page|Home page]]+ 
 +[[https://github.com/libopencm3/libopencm3/wiki|Wiki]] 
 + 
 +[[https://github.com/libopencm3/libopencm3|Project page]]