| 1 | # MRAA |
| 2 | |
| 3 | @tableofcontents |
| 4 | |
| 5 | <!-- markdownlint-disable MD031 --> |
| 6 | MRAA is a Low Level Skeleton Library for Communication on GNU/Linux platforms. |
| 7 | Review the [MRAA documentation](http://iotdk.intel.com/docs/master/mraa/index.html) for more information |
| 8 | |
| 9 | RF24 supports all MRAA supported platforms, but it might not have been tested on each individual platform due to the wide range of hardware support: |
| 10 | |
| 11 | - [Report an RF24 bug or issue](https://github.com/TMRh20/RF24/issues) |
| 12 | |
| 13 | ## Setup and installation |
| 14 | |
| 15 | Build using the **MRAA** library from [MRAA documentation](http://iotdk.intel.com/docs/master/mraa/index.html) |
| 16 | |
| 17 | MRAA is not included. |
| 18 | |
| 19 | 1. Install, and build MRAA |
| 20 | ```shell |
| 21 | git clone https://github.com/intel-iot-devkit/mraa.git |
| 22 | cd mraa |
| 23 | mkdir build |
| 24 | cd build |
| 25 | cmake .. -DBUILDSWIGNODE=OFF |
| 26 | sudo make install |
| 27 | ``` |
| 28 | 2. Complete the install |
| 29 | ```shell |
| 30 | nano /etc/ld.so.conf |
| 31 | ``` |
| 32 | Add the line |
| 33 | ```shell |
| 34 | /usr/local/lib/arm-linux-gnueabihf |
| 35 | ``` |
| 36 | Run |
| 37 | ```shell |
| 38 | sudo ldconfig |
| 39 | ``` |
| 40 | 3. Install RF24, using MRAA |
| 41 | |
| 42 | See [Linux Install instructions](linux_install.md) |