-
Notifications
You must be signed in to change notification settings - Fork 32
Get your Pi set up
This looks like a lot, but it doesn't take long. Please note that these directions are for Raspbian, the most commonly used operating system on the Raspberry Pi, but with some slight modifications you should be able to get Guzunty running on other distributions. For Arch Linux for example, there are several differences in the commands to use, please see issue #23.
sudo apt-get install git
-
sudo apt-get install libncurses5-dev libncursesw5-dev
(for building and running the core test/demo executables) -
sudo apt-get install geany
(optional, code editor for tinkering) -
sudo apt-get install doxygen
(optional, for nice library documentation. Warning: requires just under a GB of storage) -
sudo apt-get install arduino
(optional, if you want to run the arduino i/f core) -
sudo apt-get install openjdk-7-jdk
(optional, for working on the experimental Logic Analyser project)
Download the bcm2835 library from http://www.open.com.au/mikem/bcm2835/bcm2835-1.17.tar.gz
gunzip bcm2835-1.17.tar.gz
tar -xvf bcm2835-1.17.tar.gz
cd bcm2835-1.17
./configure
make
sudo make check
sudo make install
Make a folder for your Guzunty projects and change to it. You can put this folder anywhere you like, but the root of your home directory or a Projects folder would be a good candidate.
mkdir Guzunty
cd Guzunty
git clone https://github.com/Guzunty/Pi.git
cd Pi/src/gz_load
make
sudo chmod a+x gz_load
sudo cp gz_load /usr/bin
cd ../gzlib/src
make
sudo make install
Edit (as root) /etc/modprobe.d/raspi-blacklist.conf Insert # in front of the line: blacklist spi-bcm2708 Save and reboot
sync
sync
sudo shutdown -r now
Install the Python developers library and build and install the Python GZ module
sudo apt-get install python-dev
cd Guzunty/Pi/src/gzlib/src
sudo python setup.py install