Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

WiringX

Revision as of 08:58, 26 November 2022 by Nascs (Talk | contribs)

WringX on ROCK 4 Series

This document describes how to build and use mraa for ROCK Pi boards.

List of ROCK Pi Boards supported

  • ROCK 4 SE
  • ROCK 4C Plus
  • ROCK 4A/4B
  • ROCK 4A/4B Plus
  • ROCK 4C

List of Linux Distributions

  • Ubuntu
  • Debian
Preparation

Before building, please check that these tools are installed in advance

  • git
  • cmake make
  • build-essential

If you don't have, please install them as the following command line


rock@rockpi-4cplus:~$ sudo apt-get install cmake make build-essential -y

Build wiringX with C language version

rock@rockpi-4cplus:~$ git clone https://github.com/wiringX/wiringX.git
rock@rockpi-4cplus:~$ cd wiringX
rock@rockpi-4cplus:~/wiringX/$ mkdir build
rock@rockpi-4cplus:~/wiringX/$ cd build
rock@rockpi-4cplus:~/wiringX/build$ cmake ..
rock@rockpi-4cplus:~/wiringX/build$ make -j4
rock@rockpi-4cplus:~/wiringX/build$ cpack -G DEB 
rock@rockpi-4cplus:~/wiringX/build$ sudo dpkg -i libwiringx*.deb

Build wiringX with Python language version


rock@rockpi-4cplus:~$ git clone https://github.com/wiringX/wiringX.git
rock@rockpi-4cplus:~$ cd wiringX
rock@rockpi-4cplus:~/wiringX$ cd python/
rock@rockpi-4cplus:~/wiringX/python/build$ cmake ..
rock@rockpi-4cplus:~/wiringX/python/build$ make -j4
rock@rockpi-4cplus:~/wiringX/python/build$ cpack -G DEB 
rock@rockpi-4cplus:~/wiringX/python/build$  sudo dpkg -i python-wiringx-*.deb


Use wiringX

Since we have installed wiringX successfully, now we start to use it. At this part, you can check out the following guides.


Troubleshooting