I made a fork of a generic library that was developed with support for RFM95 LoRa module that I found online. I Made a few changes and made it compatible with hardware limitations of the MAX32620FTHR and MAX32630FTHR module.
Dependents: MAX326xxFTHR_LoRa_RFM95 MAX326xxFTHR_LoRa_PingPong MAX326xxFTHR_RFM95_LoRa_PingPong MAX326xxFTHR_LoRa_RFM95_PingPong_Example ... more
Fork of SX1276GenericLib by
Diff: sx1276/sx1276-mbed-hal.h
- Revision:
- 65:b2d98328fcba
- Parent:
- 64:b721e6ab656a
- Child:
- 102:3e0f7696f4a5
--- a/sx1276/sx1276-mbed-hal.h Fri Jun 30 16:08:05 2017 +0200 +++ b/sx1276/sx1276-mbed-hal.h Tue Jul 11 13:32:34 2017 +0200 @@ -21,12 +21,19 @@ #ifndef __SX1276_MBED_HAL_H__ #define __SX1276_MBED_HAL_H__ + + #include "sx1276.h" +#ifdef __MBED__ +#define XSPI SPI +#endif + /*! - * Actual implementation of a SX1276 radio, includes some modifications to make it compatible with the MB1 LAS board + * Actual implementation of a SX1276 radio, includes some modifications to make it + * compatible with the MB1 LAS board */ class SX1276Generic : public SX1276 { @@ -51,7 +58,7 @@ /*! * SPI Interface */ - SPI *_spi; // mosi, miso, sclk + XSPI *_spi; // mosi, miso, sclk DigitalOut *_nss; /*!