Installing Wiring Pi

The Banana Pi boards use a different processor. WiringPi is designed for Raspberry PI processor and hence is not usable for the Banana Pi. It is based on the original WiringPi for Raspberry. The WiringBP API is the same as the original wiringPi.

Download

WiringBP download is located at github. If git is not yet installed on your Banana Pi install it:

sudo apt-get install git

Banana Pro

git clone https://github.com/LeMaker/WiringBP.git -b bananapro

Banana Pi

git clone https://github.com/LeMaker/WiringBP.git -b bananapi

Installation

If you have not yet installed make and C compiler on your Banana Pi, install them first:

sudo apt-get install make
sudo apt-get install gcc

Now, install WiringBP:

cd WiringBP
chmod +x ./build
sudo ./build