basic loraWAN sending, some settings done-- no keys or any of that though

Revision:
3:8c7198d1a2a1
Parent:
2:dc95ac6d6d4e
Child:
18:1720bc3831ea
diff -r dc95ac6d6d4e -r 8c7198d1a2a1 lora_radio_helper.h
--- a/lora_radio_helper.h	Fri Mar 09 13:15:17 2018 +0000
+++ b/lora_radio_helper.h	Sun Mar 11 09:45:20 2018 +0000
@@ -20,6 +20,10 @@
 #ifndef APP_LORA_RADIO_HELPER_H_
 #define APP_LORA_RADIO_HELPER_H_
 
+#if MBED_CONF_APP_LORAWAN_ENABLED
+
+#ifdef DEVICE_SPI
+
 #include "SX1272_LoRaRadio.h"
 #include "SX1276_LoRaRadio.h"
 
@@ -72,4 +76,8 @@
     #error "Unknown LoRa radio specified (SX1272,SX1276 are valid)"
 #endif
 
+#endif //DEVICE_SPI
+
+#endif //MBED_CONF_APP_LORAWAN_ENABLED
+
 #endif /* APP_LORA_RADIO_HELPER_H_ */