EXAMPLES: update examples.json file

- remove "mbed" and "test-repo-source" key
 - add "sub-repo-example" key as an indicator if an example has sub examples
 - add "subs" key to sotre sub examples names
pull/11710/head
Qinghao Shi 2019-10-16 17:20:05 +01:00
parent f317753a1d
commit 2f6f066f07
1 changed files with 70 additions and 82 deletions

View File

@ -3,10 +3,8 @@
{
"name": "mbed-os-example-blinky",
"github": "https://github.com/ARMmbed/mbed-os-example-blinky",
"mbed": [
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-blinky"
],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : [],
"toolchains" : [],
@ -21,10 +19,8 @@
{
"name": "mbed-os-example-blinky-baremetal",
"github": "https://github.com/ARMmbed/mbed-os-example-blinky-baremetal",
"mbed": [
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-blinky-baremetal"
],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K66F", "NUCLEO_F429ZI", "ARCH_PRO", "LPC1768"],
"toolchains" : [],
@ -37,13 +33,13 @@
{
"name": "mbed-os-example-tls",
"github": "https://github.com/ARMmbed/mbed-os-example-tls",
"mbed": [
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-tls-benchmark",
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-tls-tls-client",
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-tls-hashing",
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-tls-authcrypt"
"sub-repo-example": true,
"subs": [
"benchmark",
"tls-client",
"hashing",
"authcrypt"
],
"test-repo-source": "mbed",
"features" : [],
"targets" : ["K66F", "NUCLEO_F429ZI"],
"toolchains" : ["GCC_ARM", "ARM"],
@ -63,17 +59,17 @@
{
"name": "mbed-os-example-ble",
"github":"https://github.com/ARMmbed/mbed-os-example-ble",
"mbed": [
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-Beacon",
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-HeartRate",
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-Thermometer",
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-LEDBlinker",
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-LED",
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-GAPButton",
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-Button",
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-BatteryLevel"
"sub-repo-example": true,
"subs": [
"BLE_Beacon",
"BLE_HeartRate",
"BLE_Thermometer",
"BLE_LEDBlinker",
"BLE_LED",
"BLE_GAPButton",
"BLE_Button",
"BLE_BatteryLevel"
],
"test-repo-source": "mbed",
"features" : ["BLE"],
"targets" : ["NRF51_DK", "NRF52_DK", "K66F", "NUCLEO_F401RE"],
"toolchains" : [],
@ -86,9 +82,8 @@
{
"name": "mbed-os-example-sockets",
"github":"https://github.com/ARMmbed/mbed-os-example-sockets",
"mbed": [
],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K66F", "NUCLEO_F429ZI", "NUMAKER_PFM_NUC472", "FVP_MPS2_M3"],
"toolchains" : [],
@ -103,9 +98,8 @@
{
"name": "mbed-os-example-tls-socket",
"github":"https://github.com/ARMmbed/mbed-os-example-tls-socket",
"mbed": [
],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K64F", "DISCO_F746NG"],
"toolchains" : [],
@ -120,9 +114,8 @@
{
"name": "mbed-os-example-wifi",
"github":"https://github.com/ARMmbed/mbed-os-example-wifi",
"mbed": [
],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : [],
"toolchains" : [],
@ -135,8 +128,8 @@
{
"name": "nanostack-border-router",
"github":"https://github.com/ARMmbed/nanostack-border-router",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K66F", "NUCLEO_F429ZI"],
"toolchains" : [],
@ -149,8 +142,8 @@
{
"name": "mbed-os-example-cellular",
"github":"https://github.com/ARMmbed/mbed-os-example-cellular",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["MTS_DRAGONFLY_F411RE"],
"toolchains" : [],
@ -163,8 +156,8 @@
{
"name": "mbed-os-example-lorawan",
"github":"https://github.com/ARMmbed/mbed-os-example-lorawan",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["DISCO_L072CZ_LRWAN1", "MTB_MTS_XDOT", "MTS_MDOT_F411RE"],
"toolchains" : [],
@ -177,8 +170,8 @@
{
"name": "mbed-os-example-nvstore",
"github":"https://github.com/ARMmbed/mbed-os-example-nvstore",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K66F", "FVP_MPS2_M3"],
"toolchains" : [],
@ -193,8 +186,8 @@
{
"name": "mbed-os-example-devicekey",
"github":"https://github.com/ARMmbed/mbed-os-example-devicekey",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K66F"],
"toolchains" : [],
@ -209,8 +202,8 @@
{
"name": "mbed-os-example-thread-statistics",
"github":"https://github.com/ARMmbed/mbed-os-example-thread-statistics",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K66F", "FVP_MPS2_M3"],
"toolchains" : [],
@ -225,8 +218,8 @@
{
"name": "mbed-os-example-sys-info",
"github":"https://github.com/ARMmbed/mbed-os-example-sys-info",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K64F", "FVP_MPS2_M3"],
"toolchains" : [],
@ -241,8 +234,8 @@
{
"name": "mbed-os-example-cpu-usage",
"github":"https://github.com/ARMmbed/mbed-os-example-cpu-usage",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K66F", "FVP_MPS2_M3"],
"toolchains" : [],
@ -257,8 +250,8 @@
{
"name": "mbed-os-example-cpu-stats",
"github":"https://github.com/ARMmbed/mbed-os-example-cpu-stats",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K64F", "FVP_MPS2_M3"],
"toolchains" : [],
@ -273,8 +266,8 @@
{
"name": "mbed-os-example-socket-stats",
"github":"https://github.com/ARMmbed/mbed-os-example-socket-stats",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K66F"],
"toolchains" : [],
@ -289,8 +282,8 @@
{
"name": "mbed-os-example-error-handling",
"github":"https://github.com/ARMmbed/mbed-os-example-error-handling",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K64F", "FVP_MPS2_M3"],
"toolchains" : [],
@ -305,10 +298,8 @@
{
"name": "mbed-os-example-filesystem",
"github":"https://github.com/ARMmbed/mbed-os-example-filesystem",
"mbed": [
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-filesystem"
],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K64F","K82F"],
"toolchains" : [],
@ -323,10 +314,8 @@
{
"name": "mbed-os-example-mesh-minimal",
"github":"https://github.com/ARMmbed/mbed-os-example-mesh-minimal",
"mbed": [
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-mesh-minimal"
],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["DISCO_F469NI", "DISCO_F746NG", "K66F",
"NUCLEO_F429ZI", "NUCLEO_F439ZI", "NUCLEO_F746ZG",
@ -342,10 +331,8 @@
{
"name": "mbed-os-example-bootloader",
"github":"https://github.com/ARMmbed/mbed-os-example-bootloader",
"mbed": [
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-bootloader"
],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K64F", "NUCLEO_F429ZI", "UBLOX_EVK_ODIN_W2"],
"toolchains" : [],
@ -358,8 +345,8 @@
{
"name": "mbed-os-example-mbed-crypto",
"github":"https://github.com/ARMmbed/mbed-os-example-mbed-crypto",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": true,
"subs": ["getting-started"],
"features" : [],
"targets" : ["K64F"],
"toolchains" : [],
@ -374,10 +361,11 @@
{
"name": "mbed-os-example-nfc",
"github": "https://github.com/ARMmbed/mbed-os-example-nfc",
"mbed": [
"https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-nfc-SmartPoster"
"sub-repo-example": true,
"subs": [
"NFC_EEPROM",
"NFC_SmartPoster"
],
"test-repo-source": "mbed",
"features" : [],
"targets" : ["NUCLEO_F401RE", "DISCO_L475VG_IOT01A"],
"toolchains" : [],
@ -390,8 +378,8 @@
{
"name": "mbed-os-example-blockdevice",
"github":"https://github.com/armmbed/mbed-os-example-blockdevice",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K64F"],
"toolchains" : [],
@ -406,8 +394,8 @@
{
"name": "mbed-os-example-kvstore",
"github":"https://github.com/ARMmbed/mbed-os-example-kvstore",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K64F", "FVP_MPS2_M3"],
"toolchains" : [],
@ -422,8 +410,8 @@
{
"name": "mbed-os-example-crash-reporting",
"github":"https://github.com/ARMmbed/mbed-os-example-crash-reporting",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K64F", "DISCO_L475VG_IOT01A"],
"toolchains" : [],
@ -438,8 +426,8 @@
{
"name": "mbed-os-example-sd-driver",
"github":"https://github.com/ARMmbed/mbed-os-example-sd-driver",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["K64F"],
"toolchains" : [],
@ -454,8 +442,8 @@
{
"name": "mbed-os-example-attestation",
"github": "https://github.com/ARMmbed/mbed-os-example-attestation",
"mbed": [],
"test-repo-source": "github",
"sub-repo-example": false,
"subs": [],
"features" : [],
"targets" : ["CY8CKIT_062_WIFI_BT_PSA",
"K64F",