Difference between revisions of "Quick Start Guide"

From Ethersex_Wiki
Jump to: navigation, search
(Mac OSX)
(Mac OSX)
Line 35: Line 35:
 
Using MacPorts (www.macports.org)
 
Using MacPorts (www.macports.org)
 
Apple Bash and sed doesn't work, you need to install Bash V4.0 and GNU sed.
 
Apple Bash and sed doesn't work, you need to install Bash V4.0 and GNU sed.
 +
First, sync the Port Repository to ensure that you´ll build the latest versions of the requirements.
 +
 +
port selfupgrade
  
 
port install git avrdude avr-binutils avr-gcc avr-libc bash sed
 
port install git avrdude avr-binutils avr-gcc avr-libc bash sed
  
If the MacPort versions of avr-gcc or avrdude are too old. Here is a instuction how to build the toolchain manually: [http://www.heise.de/ct/projekte/machmit/ctbot/wiki/AVRToolchain]
+
 
 +
You can also use the CrossPack, but MacPorts is more straightforward and updated.
 +
[http://www.obdev.at/products/crosspack/index-de.html]

Revision as of 15:40, 11 November 2011

Download the Source from GITHUB

You can download Ethersex from github via git protocol

git clone git://github.com/ethersex/ethersex.git

or via http

git clone http://github.com/ethersex/ethersex.git

Updating a local version of ethersex is possible with:

git pull origin


Requirements

  • AVR GCC-Compiler (Version 4.1 or higher)
  • AVR LIBC (Version 1.6.8, for 128er ATMegas 1.7)
  • GNU-Tools (Bash, Make, m4, awk)
  • AVR-Programmer (e.g. avrdude)


Linux Debian / Ubuntu

apt-get install gcc-avr avr-libc binutils-avr m4 gawk libncurses5-dev make dialog git-core avrdude


Mac OSX

Using MacPorts (www.macports.org) Apple Bash and sed doesn't work, you need to install Bash V4.0 and GNU sed. First, sync the Port Repository to ensure that you´ll build the latest versions of the requirements.

port selfupgrade

port install git avrdude avr-binutils avr-gcc avr-libc bash sed


You can also use the CrossPack, but MacPorts is more straightforward and updated. [1]