Hardware Abstraction Layer, permitting any LoRa application to use any LoRa radio chip

Dependents:   alarm_slave alarm_master lora_p2p lorawan1v1 ... more

radio chip selection

Radio chip driver is not included, allowing choice of radio device.
If you're using SX1272 or SX1276, then import sx127x driver into your program.
if you're using SX1261 or SX1262, then import sx126x driver into your program.
if you're using SX1280, then import sx1280 driver into your program.
if you're using LR1110, then import LR1110 driver into your program.
If you're using NAmote72 or Murata discovery, then you must import only sx127x driver.
If you're using Type1SJ select target DISCO_L072CZ_LRWAN1 and import sx126x driver into your program.

Pin assigned to arduino LoRa radio shield form-factor

Revision:
17:5f34cbe2ac53
Parent:
16:34de2ab7eb32
Child:
20:75635d50262e
--- a/radio_sx128x.cpp	Wed Oct 30 12:50:54 2019 -0700
+++ b/radio_sx128x.cpp	Mon Jun 01 15:59:56 2020 -0700
@@ -43,8 +43,11 @@
     #define RX_INDICATION       pc3
 #endif /* TARGET_FF_MORPHO */
 
-
+#ifdef DEVICE_LPTICKER
 LowPowerTimer Radio::lpt;
+#else
+Timer Radio::lpt;
+#endif
 
 PacketParams_t Radio::ppGFSK;
 PacketParams_t Radio::ppLORA;
@@ -287,8 +290,7 @@
 #ifdef RX_INDICATION
         RX_INDICATION = 0;
 #endif
-    } else if (RadioEvents->TxTimeout)
-        RadioEvents->TxTimeout();
+    } // else TODO tx timeout
 }
 
 void Radio::txDoneBottom()
@@ -374,7 +376,6 @@
     return 0;
 }
 
-extern RawSerial pc; 
 void Radio::service()
 {
     radio.service();