summaryrefslogtreecommitdiff
path: root/.pio/libdeps/esp32-s3-n16r8/RF24/docs/mraa.md
blob: 175b7b4813c77a0ca51e3f5b4d7f5db627b85c39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# MRAA

@tableofcontents

<!-- markdownlint-disable MD031 -->
MRAA is a Low Level Skeleton Library for Communication on GNU/Linux platforms.
Review the [MRAA documentation](http://iotdk.intel.com/docs/master/mraa/index.html) for more information

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:

- [Report an RF24 bug or issue](https://github.com/TMRh20/RF24/issues)

## Setup and installation

Build using the **MRAA** library from [MRAA documentation](http://iotdk.intel.com/docs/master/mraa/index.html)

MRAA is not included.

1. Install, and build MRAA
   ```shell
   git clone https://github.com/intel-iot-devkit/mraa.git
   cd mraa
   mkdir build
   cd build
   cmake .. -DBUILDSWIGNODE=OFF
   sudo make install
   ```
2. Complete the install
   ```shell
   nano /etc/ld.so.conf
   ```
   Add the line
   ```shell
   /usr/local/lib/arm-linux-gnueabihf
   ```
   Run
   ```shell
   sudo ldconfig
   ```
3. Install RF24, using MRAA

   See [Linux Install instructions](linux_install.md)