fastjack / CrossPack-AVR

Script and associated files for building avr-gcc and related tools on Mac OS X with Xcode 5

Home Page:http://www.obdev.at/products/crosspack/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CrossPack for AVR Development is a development environment for Atmel's AVR microcontrollers running on Apple's OS X, similar to AVR Studio on Windows. It consists of the GNU compiler suite, a C library for the AVR, the AVRDUDE downloader and several other useful tools.

This repository contains a shell script which downloads the source code of all required packages, compiles them, builds an installer package and wraps it into a disk image, ready for distribution. It also contains resources such as a project template, manual etc.

PREREQUISITES

  • Xcode 6. Tested with Xcode 6.2 on 10.9 (Mavericks) and Xcode 6.3 on 10.10 (Yosemite).

BUILDING CROSSPACK-AVR

After installing Xcode, simply run

./mkdist.sh

or

./mkdist.sh debug

in the root directory of the project. You may want to edit some options in the script before running it, e.g. the version of CrossPack-AVR or versions of packages downloaded and compiled. The user who runs the script needs write permissions to the directory /usr/local.

The resulting disk image can be found in /tmp.

The build procedure preserves all downloaded packages. If you want to remove them in order to save disk space, run

./mkclean.sh

About

Script and associated files for building avr-gcc and related tools on Mac OS X with Xcode 5

http://www.obdev.at/products/crosspack/

License:GNU General Public License v2.0


Languages

Language:HTML 49.9%Language:Shell 40.8%Language:Makefile 4.2%Language:CSS 2.6%Language:PHP 2.1%Language:C 0.4%