Updated Porting to non Arduino Platforms (markdown)

master
Jan Gromeš 2023-05-06 22:36:14 +02:00
rodzic 67dbea0366
commit 9f17c50c4d
1 zmienionych plików z 4 dodań i 2 usunięć

@ -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/