mbed-os-examples / Mbed OS mbed-os-example-ble-Button

mbed_app.json

Committer:
mbed_official
Date:
2019-02-25
Revision:
81:7c05ae04bdda
Parent:
78:f06ac76a8f6d
Child:
83:88f5f523e62e

File content as of revision 81:7c05ae04bdda:

{
    "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"
        },
        "K64F": {
            "target.features_add": ["BLE"],
            "target.extra_labels_add": ["CORDIO", "CORDIO_BLUENRG"],
            "ble_button_pin_name": "SW2"
        },
        "NUCLEO_F401RE": {
            "target.features_add": ["BLE"],
            "target.extra_labels_add": ["CORDIO", "CORDIO_BLUENRG"],
            "ble_button_pin_name": "USER_BUTTON"
        },
        "DISCO_L475VG_IOT01A": {
            "target.features_add": ["BLE"],
            "target.extra_labels_add": ["CORDIO", "CORDIO_BLUENRG"],
            "ble_button_pin_name": "USER_BUTTON"
        },
        "NRF52840_DK": {
            "target.features_add": ["BLE"],
            "target.extra_labels_add": ["CORDIO", "CORDIO_LL", "SOFTDEVICE_NONE", "NORDIC_CORDIO"],
            "target.extra_labels_remove": ["SOFTDEVICE_COMMON", "SOFTDEVICE_S140_FULL", "NORDIC_SOFTDEVICE"],
            "ble_button_pin_name": "BUTTON1"
        },
        "NRF52_DK": {
            "target.features_add": ["BLE"],
            "target.extra_labels_add": ["CORDIO", "CORDIO_LL", "SOFTDEVICE_NONE", "NORDIC_CORDIO"],
            "target.extra_labels_remove": ["SOFTDEVICE_COMMON", "SOFTDEVICE_S132_FULL", "NORDIC_SOFTDEVICE"],
            "ble_button_pin_name": "BUTTON1"
        },
        "MTB_UBLOX_NINA_B1": {
            "ble_button_pin_name": "BUTTON1"
        }            
    }
}