Skip to content

Commit 3a74ef2

Browse files
authored
Merge pull request #83 from apalmieriGH/master
Update reference to ST BLUENRG lib
2 parents 213ded1 + 6245aae commit 3a74ef2

File tree

21 files changed

+20
-32
lines changed

21 files changed

+20
-32
lines changed

BLE_BatteryLevel/mbed_app.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"target_overrides": {
33
"K64F": {
44
"target.features_add": ["BLE"],
5-
"target.extra_labels_add": ["ST_BLUENRG"],
6-
"target.macros_add": ["IDB0XA1_D13_PATCH"]
5+
"target.extra_labels_add": ["ST_BLUENRG"]
76
},
87
"NUCLEO_F401RE": {
98
"target.features_add": ["BLE"],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#6670a4495aafe1601a105ec9f6606f70b4c3424c
1+
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#1aa28edf81b86bdfe691cd46ee3f7101693ef066

BLE_Beacon/mbed_app.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"target_overrides": {
33
"K64F": {
44
"target.features_add": ["BLE"],
5-
"target.extra_labels_add": ["ST_BLUENRG"],
6-
"target.macros_add": ["IDB0XA1_D13_PATCH"]
5+
"target.extra_labels_add": ["ST_BLUENRG"]
76
},
87
"NUCLEO_F401RE": {
98
"target.features_add": ["BLE"],
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#6670a4495aafe1601a105ec9f6606f70b4c3424c
1+
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#1aa28edf81b86bdfe691cd46ee3f7101693ef066

BLE_Button/mbed_app.json

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"K64F": {
1717
"target.features_add": ["BLE"],
1818
"target.extra_labels_add": ["ST_BLUENRG"],
19-
"target.macros_add": ["IDB0XA1_D13_PATCH"],
2019
"ble_button_pin_name": "SW2"
2120
},
2221
"NUCLEO_F401RE": {
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#6670a4495aafe1601a105ec9f6606f70b4c3424c
1+
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#1aa28edf81b86bdfe691cd46ee3f7101693ef066

BLE_EddystoneObserver/mbed_app.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"target_overrides": {
33
"K64F": {
44
"target.features_add": ["BLE"],
5-
"target.extra_labels_add": ["ST_BLUENRG"],
6-
"target.macros_add": ["IDB0XA1_D13_PATCH"]
5+
"target.extra_labels_add": ["ST_BLUENRG"]
76
},
87
"NUCLEO_F401RE": {
98
"target.features_add": ["BLE"],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#6670a4495aafe1601a105ec9f6606f70b4c3424c
1+
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#1aa28edf81b86bdfe691cd46ee3f7101693ef066

BLE_EddystoneService/mbed_app.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"target_overrides": {
33
"K64F": {
44
"target.features_add": ["BLE"],
5-
"target.extra_labels_add": ["ST_BLUENRG"],
6-
"target.macros_add": ["IDB0XA1_D13_PATCH"]
5+
"target.extra_labels_add": ["ST_BLUENRG"]
76
},
87
"NUCLEO_F401RE": {
98
"target.features_add": ["BLE"],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#6670a4495aafe1601a105ec9f6606f70b4c3424c
1+
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#1aa28edf81b86bdfe691cd46ee3f7101693ef066

BLE_GAPButton/mbed_app.json

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"K64F": {
1717
"target.features_add": ["BLE"],
1818
"target.extra_labels_add": ["ST_BLUENRG"],
19-
"target.macros_add": ["IDB0XA1_D13_PATCH"],
2019
"ble_button_pin_name": "SW2"
2120
},
2221
"NUCLEO_F401RE": {
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#6670a4495aafe1601a105ec9f6606f70b4c3424c
1+
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#1aa28edf81b86bdfe691cd46ee3f7101693ef066

BLE_HeartRate/mbed_app.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"target_overrides": {
33
"K64F": {
44
"target.features_add": ["BLE"],
5-
"target.extra_labels_add": ["ST_BLUENRG"],
6-
"target.macros_add": ["IDB0XA1_D13_PATCH"]
5+
"target.extra_labels_add": ["ST_BLUENRG"]
76
},
87
"NUCLEO_F401RE": {
98
"target.features_add": ["BLE"],
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#6670a4495aafe1601a105ec9f6606f70b4c3424c
1+
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#1aa28edf81b86bdfe691cd46ee3f7101693ef066

BLE_LED/mbed_app.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"target_overrides": {
33
"K64F": {
44
"target.features_add": ["BLE"],
5-
"target.extra_labels_add": ["ST_BLUENRG"],
6-
"target.macros_add": ["IDB0XA1_D13_PATCH"]
5+
"target.extra_labels_add": ["ST_BLUENRG"]
76
},
87
"NUCLEO_F401RE": {
98
"target.features_add": ["BLE"],

BLE_LED/shields/TARGET_ST_BLUENRG.lib

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#6670a4495aafe1601a105ec9f6606f70b4c3424c
1+
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#1aa28edf81b86bdfe691cd46ee3f7101693ef066

BLE_LEDBlinker/mbed_app.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"target_overrides": {
33
"K64F": {
44
"target.features_add": ["BLE"],
5-
"target.extra_labels_add": ["ST_BLUENRG"],
6-
"target.macros_add": ["IDB0XA1_D13_PATCH"]
5+
"target.extra_labels_add": ["ST_BLUENRG"]
76
},
87
"NUCLEO_F401RE": {
98
"target.features_add": ["BLE"],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#6670a4495aafe1601a105ec9f6606f70b4c3424c
1+
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#1aa28edf81b86bdfe691cd46ee3f7101693ef066

BLE_Thermometer/mbed_app.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"target_overrides": {
33
"K64F": {
44
"target.features_add": ["BLE"],
5-
"target.extra_labels_add": ["ST_BLUENRG"],
6-
"target.macros_add": ["IDB0XA1_D13_PATCH"]
5+
"target.extra_labels_add": ["ST_BLUENRG"]
76
},
87
"NUCLEO_F401RE": {
98
"target.features_add": ["BLE"],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#6670a4495aafe1601a105ec9f6606f70b4c3424c
1+
https://github.com/ARMmbed/ble-x-nucleo-idb0xa1/#1aa28edf81b86bdfe691cd46ee3f7101693ef066

README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,16 @@ To makes the board compatible with the ST shield three things are required:
5959
All these operations can be done in the file `mbed_app.json` present in every example.
6060

6161
In the section `target_overrides` add a new object named after your target.
62-
In this object three fields are required:
62+
In this object two fields are required:
6363
* `"target.features_add": ["BLE"]` Add the BLE feature to the target.
6464
* `"target.extra_labels_add": ["ST_BLUENRG"]`: Add the BLE implementation of the ST shield to the list of the application modules.
65-
* `"target.macros_add": ["IDB0XA1_D13_PATCH"]`: Indicate the BLE implementation that the target use an arduino connector.
6665

6766
As an example, this is the JSON bit which has to be added in the `target_overrides` section of `mbed_app.json` for a `NUCLEO_F411RE` board.
6867

6968
```json
7069
"NUCLEO_F411RE": {
7170
"target.features_add": ["BLE"],
72-
"target.extra_labels_add": ["ST_BLUENRG"],
73-
"target.macros_add": ["IDB0XA1_D13_PATCH"]
71+
"target.extra_labels_add": ["ST_BLUENRG"]
7472
},
7573
```
7674

0 commit comments

Comments
 (0)