You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RF24.h
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
#include"RF24_config.h"
19
19
20
20
#if defined (RF24_LINUX)
21
-
#include"arch/includes.h"
21
+
#include"utility/includes.h"
22
22
#elif LITTLEWIRE
23
23
#include<LittleWireSPI/LittleWireSPI.h>
24
24
#elif defined SOFTSPI
@@ -1333,7 +1333,7 @@ s *
1333
1333
*
1334
1334
* **March 2015**<br>
1335
1335
* - Uses SPI transactions on Arduino
1336
-
* - New layout for <a href="Portability.html">easier portability:</a> Break out defines & includes for individual platforms to RF24/arch
1336
+
* - New layout for <a href="Portability.html">easier portability:</a> Break out defines & includes for individual platforms to RF24/utility
1337
1337
* - <a href="MRAA.html">MRAA</a> support added ( Galileo, Edison, etc)
1338
1338
* - <a href="BBB.html">BBB/Generic Linux </a> support via spidev & MRAA
1339
1339
* - Support for RPi 2 added
@@ -1547,7 +1547,7 @@ s *
1547
1547
* BeagleBone Black is supported via MRAA or SPIDEV.
1548
1548
*
1549
1549
* @note The SPIDEV option should work with most Linux systems supporting SPIDEV. <br>
1550
-
* Users may need to edit the RF24/arch/BBB/spi.cpp file to configure the spi device. (Defaults: "/dev/spidev1.0"; or "/dev/spidev1.1"; )
1550
+
* Users may need to edit the RF24/utility/BBB/spi.cpp file to configure the spi device. (Defaults: "/dev/spidev1.0"; or "/dev/spidev1.1"; )
1551
1551
*
1552
1552
* <br>
1553
1553
* @section AutoInstall Automated Install
@@ -1713,7 +1713,7 @@ s *
1713
1713
*
1714
1714
* Build using **spidev**:
1715
1715
*
1716
-
* 1. Edit the RF24/arch/BBB/spi.cpp file
1716
+
* 1. Edit the RF24/utility/BBB/spi.cpp file
1717
1717
* 2. Change the default device definition to @code this->device = "/dev/spidev0.0";; @endcode
1718
1718
* 3. Run @code sudo make install -B RF24_SPIDEV=1 @endcode
1719
1719
* 4. See the gettingstarted example for an example of pin configuration
@@ -1829,13 +1829,13 @@ s *
1829
1829
* @page Portability RF24 Portability
1830
1830
*
1831
1831
* The RF24 radio driver mainly utilizes the <a href="http://arduino.cc/en/reference/homePage">Arduino API</a> for GPIO, SPI, and timing functions, which are easily replicated
1832
-
* on various platforms. <br>Support files for these platforms are stored under RF24/arch, and can be modified to provide
1832
+
* on various platforms. <br>Support files for these platforms are stored under RF24/utility, and can be modified to provide
* The RF24 library now includes a basic hardware template to assist in porting to various platforms. <br> The following files can be included
1841
1841
* to replicate standard Arduino functions as needed, allowing devices from ATTiny to Raspberry Pi to utilize the same core RF24 driver.
@@ -1850,13 +1850,13 @@ s *
1850
1850
* | your_custom_file.h | Provides access to custom drivers for spi,gpio, etc |
1851
1851
*
1852
1852
* <br>
1853
-
* Examples are provided via the included hardware support templates in **RF24/arch** <br>
1853
+
* Examples are provided via the included hardware support templates in **RF24/utility** <br>
1854
1854
* See the <a href="modules.html">modules</a> page for examples of class declarations
1855
1855
*
1856
1856
*<br>
1857
1857
* @section Device_Detection Device Detection
1858
1858
*
1859
-
* 1. The main detection for Linux devices is done in the Makefile, with the includes.h from the proper hardware directory copied to RF24/arch/includes.h <br>
1859
+
* 1. The main detection for Linux devices is done in the Makefile, with the includes.h from the proper hardware directory copied to RF24/utility/includes.h <br>
1860
1860
* 2. Secondary detection is completed in RF24_config.h, causing the include.h file to be included for all supported Linux devices <br>
1861
1861
* 3. RF24.h contains the declaration for SPI and GPIO objects 'spi' and 'gpio' to be used for porting-in related functions.
Copy file name to clipboardExpand all lines: RF24_config.h
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -32,26 +32,26 @@
32
32
//Generic Linux/ARM and //http://iotdk.intel.com/docs/master/mraa/
33
33
#if ( defined (__linux) || defined (LINUX) ) && defined( __arm__ ) || defined(MRAA) // BeagleBone Black running GNU/Linux or any other ARM-based linux device
34
34
35
-
// The Makefile checks for bcm2835 (RPi) and copies the correct includes.h file to /arch/includes.h (Default is spidev config)
35
+
// The Makefile checks for bcm2835 (RPi) and copies the correct includes.h file to /utility/includes.h (Default is spidev config)
36
36
// This behavior can be overridden by calling 'make RF24_SPIDEV=1' or 'make RF24_MRAA=1'
37
37
// The includes.h file defines either RF24_RPi, MRAA or RF24_BBB and includes the correct RF24_arch_config.h file
paragraph=Optimized library for nRF24L01(+) that is simple to use for beginners, but yet offers a lot for advanced users. It also has a lot of good examples how to use the library.
0 commit comments