Skip to content

Commit 411ea55

Browse files
Qinghao Shihugueskamba
authored andcommitted
TEST: add BLE example to cmake example json
1 parent 0bb812a commit 411ea55

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

tools/test/examples/examples_cmake.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,31 @@
113113
],
114114
"auto-update" : true
115115
},
116+
{
117+
"name": "mbed-os-example-ble",
118+
"github":"https://github.com/ARMmbed/mbed-os-example-ble",
119+
"sub-repo-example": true,
120+
"subs": [
121+
"BLE_BatteryLevel",
122+
"BLE_GAP",
123+
"BLE_GattClient",
124+
"BLE_GattServer",
125+
"BLE_HeartRate",
126+
"BLE_LED",
127+
"BLE_LEDBlinker",
128+
"BLE_PeriodicAdvertising",
129+
"BLE_Privacy",
130+
"BLE_SM"
131+
],
132+
"features" : [],
133+
"targets" : ["NRF52840_DK", "DISCO_L475VG_IOT01A"],
134+
"toolchains" : [],
135+
"exporters": [],
136+
"compile" : true,
137+
"export": true,
138+
"test" : false,
139+
"auto-update" : true
140+
},
116141
{
117142
"name": "mbed-os-example-kvstore",
118143
"github":"https://github.com/ARMmbed/mbed-os-example-kvstore",

tools/test/examples/examples_lib.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@ def symlink_mbedos(config, path, exp_filter):
493493
else:
494494
logging.info("Creating Symbolic link '%s'->'mbed-os'" % path)
495495
os.symlink(path, "mbed-os")
496+
#Cmake tool currently require 'mbed-os.lib' to be present to perform build.
497+
#Add a empty 'mbed-os.lib' as a workaround
496498
open('mbed-os.lib', 'a').close()
497499
os.chdir(CWD)
498500
return 0

0 commit comments

Comments
 (0)