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:
mbed_official
Date:
2016-08-02
Revision:
5:b630d2a88c51
Parent:
3:6f18b8269d65
Child:
34:595f8acac1e8

File content as of revision 5:b630d2a88c51:

{
    "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"],
            "target.macros_add": ["IDB0XA1_D13_PATCH"],
            "ble_button_pin_name": "SW2"
        },
        "NUCLEO_F401RE": {
            "target.features_add": ["BLE"],
            "target.extra_labels_add": ["ST_BLUENRG"],
            "ble_button_pin_name": "USER_BUTTON"
        }
    }
}