Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tools:libopencm3 [2015/01/03 23:52]
darron
tools:libopencm3 [2022/12/18 21:10] (current)
Line 1: Line 1:
-==== OpenCM3 ====+==== libopencm3 ====
  
-OpenCM3 is a firmware library for embedded ARM CPUs.+libopencm3 is a firmware library for embedded ARM CPUs.
  
-This firmware library was tested with [[:tools:gccarm|this]] compiler.+The firmware library was built with [[:tools:gccarm|this]] compiler.
  
-== 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-
-make install DESTDIR=/embedded PREFIX=arm-cortex+
 </code> </code>
 +
 +=== Resources ===
 +
 +[[https://github.com/libopencm3/libopencm3/wiki|Wiki]]
 +
 +[[https://github.com/libopencm3/libopencm3|Project page]]
 +