mbed_app.json configured to operate on senet

To enable cayenne, edit mbed_app.json, assign pins for desired function

Example:

        "cayenne": {
            "help": "compile main_cayenne.cpp instead of main.cpp",
            "value": 1
        },
        "analog_in_pin": {
            "help": "PA_0, PA_4, PA_5",
            "value": "PA_0"
        },
        "analog_out_pin": {
            "help": "PA_0, PB_5, PB_10, PB_11",
            "value": "PB_11"
        },
        "_digital_out_pin": {
            "help": "",
            "value": ""
        }
Revision:
3:8c7198d1a2a1
Parent:
2:dc95ac6d6d4e
Child:
18:1720bc3831ea
--- 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_ */