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:
17:2fc16c1d6434
Parent:
8:7594ad70d2bf
Child:
26:f07f5febf97f
--- a/trace_helper.cpp	Thu May 10 05:16:54 2018 +0100
+++ b/trace_helper.cpp	Fri May 11 07:30:15 2018 +0100
@@ -15,13 +15,6 @@
  * limitations under the License.
  */
 
-#include "drivers/Serial.h"
-
-/**
- * Serial object for console tracing
- */
-mbed::Serial pc(USBTX, USBRX, MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE);
-
 /**
  * If we have tracing library available, we can see traces from within the
  * stack. The library could be made unavailable by removing FEATURE_COMMON_PAL
@@ -39,7 +32,6 @@
 
     static void serial_lock();
     static void serial_unlock();
-    static void trace_printer(const char* str);
 
     /**
      * Sets up trace for the application
@@ -52,7 +44,6 @@
         mbed_trace_mutex_wait_function_set(serial_lock);
         mbed_trace_mutex_release_function_set(serial_unlock);
         mbed_trace_init();
-        mbed_trace_print_function_set(trace_printer);
     }
 
     /**
@@ -71,15 +62,6 @@
         mutex.unlock();
     }
 
-    /**
-     * Prints the Mbed trace, used by trace library.
-     * Not intended for local use.
-     */
-    static void trace_printer(const char* str)
-    {
-        pc.printf("%s\r\n", str);
-    }
-
 #else
 
     void setup_trace()