Skip to content

gitter-badger/RasPiArduino

 
 

Repository files navigation

RasPiArduino

Arduino Framework for RaspberryPI

Instructions for the PI

  • Install Raspbian on your RaspberryPI
  • Disable Serial Console on boot by changing /boot/cmdline.txt to
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
  • Disable loading sound kernel module by commenting dtparam=audio=on in /boot/config.txt
  • Enable password login for root
sudo su
passwd
_enter the new root password twice_
nano /etc/ssh/sshd_config
_change PermitRootLogin to yes_
  • Copy tools/arduino.service to /etc/avahi/services/arduino.service and restart avahi-daemon
  • Copy all files from tools/arpi_bins to /usr/local/bin
  • Install telent by running sudo apt-get install telnet
  • Create symbolic link for run-avrdude by running sudo ln -s /usr/local/bin/run-avrdude /usr/bin/run-avrdude
  • Do not load i2c uart or spi kernel drivers
  • Optionally add /usr/local/bin/run-sketch to /etc/rc.local to start the sketch on boot

Instructions for Arduino IDE

  • Open the hardware folder of Arduino IDE
  • Create a folder named "RaspberryPi"
  • Clone the repository to a folder named "piduino"
cd RaspberryPi
git clone https://github.com/me-no-dev/RasPiArduino piduino
  • Copy the toolchain to tools/arm-none-linux-gnueabi (WIP)
  • Restart Arduino IDE and select the PI from the list of network boards

About

Arduino Framework for RaspberryPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 67.1%
  • C 16.7%
  • Other 16.1%
  • HTML 0.1%