Feel free to ask question about how to Build/Install, especially for Linux/Mac users it may not go through that smoothly.
Send email to wn@csie.ntu.edu.tw or come to lab424.
$ svn checkout svn://mvnl.csie.ntu.edu.tw/wn11fall/nano-RK
$ svn checkout svn://nanork.org/srv/svn/repos/nano-RK
ROOT_DIR = ../../../
PROGRAMMING_PORT = COM10
make program
$ sudo aptitude install flex bison byacc gcc make libgmp3-dev libmpfr-dev subversion
(sure you can use apt-get)
$ ./configure --target=avr --program-prefix="avr-" --disable-werror $ make $ sudo make install
$ mkdir avr-gcc $ cd avr-gcc $ ../configure --target=avr --program-prefix="avr-" --enable-languages=c --disable-libssp $ make $ sudo make install
$ ./configure --build=`./config.guess` --host=avr $ make $ sudo make install
$ ./configure $ make $ sudo make install
$ svn checkout svn://mvnl.csie.ntu.edu.tw/wn11fall/nano-RK
$ svn checkout svn://nanork.org/srv/svn/repos/nano-RK
$ dmesg
and you will see some message like this
[] usb 1-1.2.1: new full speed USB device using ehci_hcd and address 9 [] usb 1-1.2.1: configuration #1 chosen from 1 choice [] ftdi_sio 1-1.2.1:1.0: FTDI USB Serial Device converter detected [] usb 1-1.2.1: Detected FT232RL [] usb 1-1.2.1: Number of endpoints 2 [] usb 1-1.2.1: Endpoint 1 MaxPacketSize 64 [] usb 1-1.2.1: Endpoint 2 MaxPacketSize 64 [] usb 1-1.2.1: Setting MaxPacketSize 64 [] usb 1-1.2.1: FTDI USB Serial Device converter now attached to ttyUSB0
find out Zigduino's tty port number (in this example, /dev/ttyUSB0).
PROGRAMMING_PORT = /dev/ttyUSB0
ROOT_DIR = ../../../
make program
#################################### # Step 1 - Install the "Fink" the full world of Unix Open Source software to Mac OSX. # # Reference website: # http://www.finkproject.org/index.php?phpLang=en # # Download Fink 0.31.0 for OSX 10.6 Snow Leopard and 10.7 Lion # http://www.finkproject.org/download/srcdist.php # # Open the "terminal window" and enter the following command: #################################### cd Desktop/mvnlab tar -zxvf fink-0.31.0.tar.gz cd fink-0.31.0 ./bootstrap # Leave everything as Default # The compile time is about 15 mins # After complete the installion, run this command to setup you fink environment /sw/bin/pathsetup.sh # reopen the terminal window # execute selfupdate and index command fink selfupdate-rsync fink index -f ################################### # Step 2 - Install Xcode # # Reference website: # http://developer.apple.com/xcode/ # # You will be ask for register an Apple account to download and install Xcode with .dmg file. ################################### # install Xcode with double clicks ################################### # Step 3 - Check the pre-install softwares # You will need the following pre-install softwares: # flex and bison ################################### # Check the software is installed or not # open terminal window and using "which" to check which flex which bison # if these softwares are not installed, run the following command to install them from fink sudo apt-get update sudo apt-get install flex sudo apt-get install bison ################################### # Step 4 - Install gmp and mpfr # Reference website: # http://web.me.com/chibaf/math/mp/mpfr/install.html # # gmp download # http://gmplib.org/ # # mpfr download # http://www.mpfr.org/mpfr-current/#download ################################### # install gmp # the make procedure will take very long time, be patient. tar zxvf gmp-5.0.2.tar.gz cd gmp-5.0.2 ./configure make && make check sudo make install # install mpfr tar zxvf mpfr-3.0.1.tar.gz cd mpfr-3.0.1 # download patchfiles # http://www.mpfr.org/mpfr-current/allpatches # save allpatches in the same directory patch -N -Z -p1 < allpatches ./configure make && make check sudo make install ################################### # Step 5 - Install wget & save Makefile ################################### # update fink list fink list # install wget and its dependencies softwares fink -b install wget # save this file as Makefile # http://140.112.91.208/INSTALL/nano-rk.mac (powered by math120908) ################################### # Step 6 - Install binutils ################################### make binutils ################################### # Step 7 - Install avrgcc ################################### make avrgcc ################################### # Step 8 - Install avrlibc ################################### make avrlibc ################################### # Step 9 - Install avrdude ################################### make avrdude ################################### # Step 10 - Install FTDI USB Driver # # Download: # http://www.nanork.org/attachment/wiki/Downloads/FTDIUSBSerialDriver_10_4_10_5_10_6.mpkg.zip?format=raw ################################### # Save on Desktop # Double clicks to install ################################### # Step 11 - Get nano-rk with zigduino support ################################### svn checkout svn://mvnl.csie.ntu.edu.tw/wn11fall/nano-RK # or svn checkout svn://nanork.org/srv/svn/repos/nano-RK # after checkout, you will see zigduino platform in # nano-RK/include/platform/zigsuino