diff --git a/Porting-to-non-Arduino-Platforms.md b/Porting-to-non-Arduino-Platforms.md index 71bfdaa..d5ed117 100644 --- a/Porting-to-non-Arduino-Platforms.md +++ b/Porting-to-non-Arduino-Platforms.md @@ -13,8 +13,10 @@ $ sudo make install ``` 2. **Include RadioLib in your project** -In the appropriate file in your project, include the library header: `#include ` -NOTE: If you installed RadioLib as a shared library in hte previous step, you will have to include it like this: `#include ` +In the appropriate file in your project, include the library header: +`#include ` +NOTE: If you installed RadioLib as a shared library in the previous step, you will have to include it like this: +`#include ` 3. **Provide your hardware abstraction layer to RadioLib** To run on different platforms (e.g., esp-idf for ESP32, stm32hal for STM32, pigpio for Raspberry Pi etc.), RadioLib includes a light abstraction layer class. It's up to the user to add implementation of this abstraction layer - usually this boils down to providing functions that perform GPIO operations, SPI transactions etc. An example for Raspberry Pi using the [pigpio library](https://abyz.me.uk/rpi/pigpio/cif.html) can be found here: https://github.com/jgromes/RadioLib/blob/master/examples/NonArduino/Raspberry/PiHal.h