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": ""
        }
Committer:
dudmuck
Date:
Mon May 04 03:05:28 2020 +0000
Revision:
61:9a84b5964019
Parent:
0:7037ed05f54f
add cayenne option

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 0:7037ed05f54f 1 /**
mbed_official 0:7037ed05f54f 2 * Copyright (c) 2017, Arm Limited and affiliates.
mbed_official 0:7037ed05f54f 3 * SPDX-License-Identifier: Apache-2.0
mbed_official 0:7037ed05f54f 4 *
mbed_official 0:7037ed05f54f 5 * Licensed under the Apache License, Version 2.0 (the "License");
mbed_official 0:7037ed05f54f 6 * you may not use this file except in compliance with the License.
mbed_official 0:7037ed05f54f 7 * You may obtain a copy of the License at
mbed_official 0:7037ed05f54f 8 *
mbed_official 0:7037ed05f54f 9 * http://www.apache.org/licenses/LICENSE-2.0
mbed_official 0:7037ed05f54f 10 *
mbed_official 0:7037ed05f54f 11 * Unless required by applicable law or agreed to in writing, software
mbed_official 0:7037ed05f54f 12 * distributed under the License is distributed on an "AS IS" BASIS,
mbed_official 0:7037ed05f54f 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
mbed_official 0:7037ed05f54f 14 * See the License for the specific language governing permissions and
mbed_official 0:7037ed05f54f 15 * limitations under the License.
mbed_official 0:7037ed05f54f 16 */
mbed_official 0:7037ed05f54f 17
mbed_official 0:7037ed05f54f 18 #ifndef APP_TRACE_HELPER_H_
mbed_official 0:7037ed05f54f 19 #define APP_TRACE_HELPER_H_
mbed_official 0:7037ed05f54f 20
mbed_official 0:7037ed05f54f 21 /**
mbed_official 0:7037ed05f54f 22 * Helper function for the application to setup Mbed trace.
mbed_official 0:7037ed05f54f 23 * It Wouldn't do anything if the FEATURE_COMMON_PAL is not added
mbed_official 0:7037ed05f54f 24 * or if the trace is disabled using mbed_app.json
mbed_official 0:7037ed05f54f 25 */
mbed_official 0:7037ed05f54f 26 void setup_trace();
mbed_official 0:7037ed05f54f 27
mbed_official 0:7037ed05f54f 28 #endif /* APP_TRACE_HELPER_H_ */