LXR OSX build instructions

From Sonic Potions Wiki
Revision as of 18:16, 6 May 2014 by Spfrc (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 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

Then, clone your repository, and make firmware from within the repository.