Difference between revisions of "LXR OSX build instructions"

From Sonic Potions Wiki
Jump to: navigation, search
(Created page with " == LXR OSX build instructions == Tested on 10.9.2; likely needs Xcode installed also (https://developer.apple.com/xcode/downloads/) * Download of GNU bare metal ARM toolcha...")
 
(LXR OSX build instructions)
Line 1: Line 1:
  
== LXR OSX build instructions ==
+
Tested on 10.9.2; likely needs Xcode installed also (https://developer.apple.com/xcode/downloads/)
  
Tested on 10.9.2; likely needs Xcode installed also (https://developer.apple.com/xcode/downloads/)
+
== Pre-requisities ==
  
 
* Download of GNU bare metal ARM toolchain from https://launchpad.net/gcc-arm-embedded (v4.8)
 
* Download of GNU bare metal ARM toolchain from https://launchpad.net/gcc-arm-embedded (v4.8)
Line 12: Line 12:
 
** '''export ARM_TOOLKIT_ROOT=/path/to/arm-toolkit'''
 
** '''export ARM_TOOLKIT_ROOT=/path/to/arm-toolkit'''
  
Then, clone your repository, and '''make firmware''' from within the repository.
+
== Getting source and building firmware ==
 +
 
 +
* Clone your repository, and '''make firmware''' from within the repository.
 +
** '''git clone https://github.com/rudeog/LXR'''
 +
** https://github.com/SonicPotions/LXR doesn't have the requisite Makefiles in place as of 2014/05/06; please update when this is fixed

Revision as of 17:18, 6 May 2014

Tested on 10.9.2; likely needs Xcode installed also (https://developer.apple.com/xcode/downloads/)

Pre-requisities

  • Download of GNU bare metal ARM toolchain from https://launchpad.net/gcc-arm-embedded (v4.8)
  • Download of Atmel AVR 8-bit toolchain from http://www.obdev.at/products/crosspack/download.html (CrossPack-AVR-20131216.dmg is the most recent as of 2015/05/02)
  • Extract for ARM toolchain; install for AVR toolchain
  • Set ARM_TOOLKIT_ROOT and AVR_TOOLKIT_ROOT appropriately
    • Crosspack for AVR installs to /usr/local/CrossPack-AVR via symlink
    • export AVR_TOOLKIT_ROOT=/usr/local/CrossPack-AVR
    • export ARM_TOOLKIT_ROOT=/path/to/arm-toolkit

Getting source and building firmware