BLE Button example

This example is a fork of the following mbed-os example:

https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-ble-Button/

Please read the documentation in this page.

mbed_app.json

Committer:
bcostm
Date:
2017-07-27
Revision:
41:7dd404a6f5ba
Parent:
34:595f8acac1e8

File content as of revision 41:7dd404a6f5ba:

{
    "config": {
        "ble_button_pin_name": {
            "help": "The pin name used as button in this application",
            "macro_name": "BLE_BUTTON_PIN_NAME",
            "required": true
        }
    },
    "target_overrides": {
        "NRF51_DK": {
            "ble_button_pin_name": "BUTTON1"
        },
        "NRF52_DK": {
            "ble_button_pin_name": "BUTTON1"
        },
        "K64F": {
            "target.features_add": ["BLE"],
            "target.extra_labels_add": ["ST_BLUENRG"],
            "ble_button_pin_name": "SW2"
        },
        "NUCLEO_F401RE": {
            "target.features_add": ["BLE"],
            "target.extra_labels_add": ["ST_BLUENRG"],
            "ble_button_pin_name": "USER_BUTTON"
        },
        "DISCO_L475VG_IOT01A": {
            "target.features_add": ["BLE"],
            "target.extra_labels_add": ["ST_BLUENRG"],
            "ble_button_pin_name": "USER_BUTTON"
        }
    }
}