LXR OSX build instructions

From Sonic Potions Wiki
Revision as of 17:18, 6 May 2014 by Spfrc (talk | contribs) (LXR OSX build instructions)
Jump to: navigation, search

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