LXR OSX build instructions
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
- 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