SX1272Lib updated in order to be RTOS aware

Fork of SX1272Lib by Semtech

Since Semtech original SX1272 library used InterruptIn and Timout mbed-os classes, whose ISRs are not allowed to lock RTOS mutexes, any SPI-related operation was doomed to fail. Indeed, SPI transactions functions are always nested inside a spi-level mutex lock/unlock pair in order to provide for thread access safety. A typical case occurs for example when radio is set to sleep state after a RX timeout.

This fork solves such problems by mean of a EventQueue/Thread pair, where any InterruptIn and Timeout ISRs actually enqueue callback calls.

Take a look at usage example at https://github.com/maiorfi/mbedos_lablet_lora_1

Revision:
2:cd1093b6676f
Parent:
1:b0372ef620d0
Child:
7:b988b60083a1
--- a/enums/enums.h	Tue Jan 26 22:04:33 2016 +0000
+++ b/enums/enums.h	Wed Feb 17 09:17:18 2016 +0000
@@ -36,11 +36,11 @@
 }RadioModems_t;
 
 /*!
- * Type of the supported board. [SX1272MB1DAS / SX1272MB1DCS]
+ * Type of the supported board. 
  */
 typedef enum BoardType
 {
-    SX1272MB1DAS = 0,
+    SX1272MB2XAS = 0,
     SX1272MB1DCS,
     NA_MOTE_72,
     MDOT_F411RE,