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 [2022/10/20 20:11] – [Install] 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 http://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-5_2-2015q4/bin/arm-none-eabi+make PREFIX=/usr/bin/arm-none-eabi- 
 +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-5_2-2015q4/bin/arm-none-eabi+make PREFIX=/usr/bin/arm-none-eabi-
 </code> </code>
  
Line 30: Line 31:
  
 [[https://github.com/libopencm3/libopencm3|Project page]] [[https://github.com/libopencm3/libopencm3|Project page]]
- 
-