Lora support for the STM B_L072Z_LRWAN1 board out of the box. Also supports HopeRF RFM95, Murata CMWX1ZZABZ and Semtech SX1276MB1MAS/SX1276MB1LAS modules.

Dependencies:   BufferedSerial SX1276GenericLib mbed USBDeviceHT

Revision:
18:d5527ce82e6b
Parent:
17:98f2528e8399
Child:
19:992eda680d91
--- a/PinMap.h	Fri Feb 23 12:57:25 2018 +0000
+++ b/PinMap.h	Mon Mar 12 15:00:02 2018 +0000
@@ -60,6 +60,7 @@
 #define USER_BUTTON     PH_3    // boot pin
 #define LED             PB_0    // red
 #define LED2            PB_1    // green
+#define LED1            LED
 
 #define POWER_VEXT      PA_3
 #define POWER_VEXT_ON   0
@@ -68,7 +69,7 @@
 
 #define LORA_SPI_MOSI   PA_7
 #define LORA_SPI_MISO   PA_6
-#define LORA_SPI_SCLK   PB_5
+#define LORA_SPI_SCLK   PA_5
 #define LORA_CS         PA_4
 #define LORA_RESET      PA_1
 #define LORA_DIO0       PA_0    // DIO0=TxDone/RXDone/CADDone