kopia lustrzana https://github.com/jgromes/RadioLib
Updated Porting to non Arduino Platforms (markdown)
rodzic
67dbea0366
commit
9f17c50c4d
|
@ -1,9 +1,11 @@
|
|||
# Porting to non-Arduino Platforms
|
||||
|
||||
Even though RadioLib was originally written for Arduino, it can run on any platform that can compile C++ code. This file shows how to install and use RadioLib on any generic platform. Go [here](https://github.com/jgromes/RadioLib/tree/master/examples/NonArduino/Raspberry) to see an example for Raspberry Pi.
|
||||
Even though RadioLib was originally written for Arduino, it can run on any platform that can compile C++ code. This pageshows how to install and use RadioLib on any generic platform. Go [here](https://github.com/jgromes/RadioLib/tree/master/examples/NonArduino/Raspberry) to see an example for Raspberry Pi.
|
||||
|
||||
To port RadioLib, follow these steps:
|
||||
|
||||
1. **Install the library**
|
||||
There are two options how to do this. The more common way is to use RadioLib as a source library directly in your project. Alternatively, you can also install RadioLib as a shared library:
|
||||
There are two options how to do this. The more common way is to use RadioLib source directly in your project. Alternatively, you can also install RadioLib as a shared library, to make it available system-wide. This is useful if you are compiling the library directly on the target platform, and not cross-compiling:
|
||||
|
||||
```
|
||||
$ mkdir build/
|
||||
|
|
Ładowanie…
Reference in New Issue