From d5dcc4da722dc68a7390c3200a6820bbe5eeb0e1 Mon Sep 17 00:00:00 2001 From: Saheer Babu Date: Thu, 25 Mar 2021 10:37:08 +0000 Subject: [PATCH] Update cmake supported example list. Create cmake supported cloud example list. --- tools/test/examples/cloud_examples_cmake.json | 20 ++ tools/test/examples/examples_cmake.json | 305 +++++++++++------- 2 files changed, 216 insertions(+), 109 deletions(-) create mode 100644 tools/test/examples/cloud_examples_cmake.json diff --git a/tools/test/examples/cloud_examples_cmake.json b/tools/test/examples/cloud_examples_cmake.json new file mode 100644 index 0000000000..09548c7560 --- /dev/null +++ b/tools/test/examples/cloud_examples_cmake.json @@ -0,0 +1,20 @@ +{ + "examples": [ + { + "name": "mbed-os-example-for-aws", + "github": "https://github.com/ARMmbed/mbed-os-example-for-aws", + "sub-repo-example": false, + "subs": [], + "features" : [], + "targets" : ["DISCO_L475VG_IOT01A", "K64F", "NUCLEO_F429ZI"], + "toolchains" : [], + "exporters": [], + "compile" : true, + "export": true, + "test" : false, + "baud_rate": 115200, + "compare_log": ["mbed-os-example-for-aws/tests/aws.log"], + "auto-update" : true + } + ] +} diff --git a/tools/test/examples/examples_cmake.json b/tools/test/examples/examples_cmake.json index 2e24314d9d..56e2e8c1c5 100644 --- a/tools/test/examples/examples_cmake.json +++ b/tools/test/examples/examples_cmake.json @@ -1,6 +1,6 @@ { - "examples": [ - { + "examples": [ + { "name": "mbed-os-example-blinky", "github": "https://github.com/ARMmbed/mbed-os-example-blinky", "sub-repo-example": false, @@ -14,8 +14,32 @@ "test" : false, "baud_rate": 9600, "auto-update" : true - }, - { + }, + { + "name": "mbed-os-example-ble", + "github":"https://github.com/ARMmbed/mbed-os-example-ble", + "sub-repo-example": true, + "subs": [ + "BLE_Advertising", + "BLE_GAP", + "BLE_GattClient_CharacteristicUpdates", + "BLE_GattClient_CharacteristicWrite", + "BLE_GattServer_AddService", + "BLE_GattServer_CharacteristicUpdates", + "BLE_GattServer_CharacteristicWrite", + "BLE_PeriodicAdvertising", + "BLE_SecurityAndPrivacy" + ], + "features" : [], + "targets" : ["NRF52_DK", "DISCO_L475VG_IOT01A"], + "toolchains" : [], + "exporters": [], + "compile" : true, + "export": true, + "test" : false, + "auto-update" : true + }, + { "name": "mbed-os-example-sockets", "github":"https://github.com/ARMmbed/mbed-os-example-sockets", "sub-repo-example": false, @@ -30,8 +54,8 @@ "baud_rate": 9600, "compare_log": ["mbed-os-example-sockets/tests/sockets.log"], "auto-update" : true - }, - { + }, + { "name": "mbed-os-example-cellular", "github":"https://github.com/ARMmbed/mbed-os-example-cellular", "sub-repo-example": false, @@ -44,107 +68,170 @@ "export": true, "test" : false, "auto-update" : true - }, - { - "name": "mbed-os-example-lorawan", - "github":"https://github.com/ARMmbed/mbed-os-example-lorawan", - "sub-repo-example": false, - "subs": [], - "features" : [], - "targets" : ["K64F"], - "toolchains" : [], - "exporters": [], - "compile" : true, - "export": false, - "test" : false, - "auto-update" : true - }, - { - "name": "mbed-os-example-devicekey", - "github":"https://github.com/ARMmbed/mbed-os-example-devicekey", - "sub-repo-example": false, - "subs": [], - "features" : [], - "targets" : ["K66F"], - "toolchains" : [], - "exporters": [], - "compile" : true, - "export": true, - "test" : true, - "baud_rate": 9600, - "compare_log": ["mbed-os-example-devicekey/tests/devicekey.log"], - "auto-update" : true - }, - { - "name": "mbed-os-example-mbed-crypto", - "github":"https://github.com/ARMmbed/mbed-os-example-mbed-crypto", - "sub-repo-example": true, - "subs": ["getting-started"], - "features" : [], - "targets" : ["K64F"], - "toolchains" : [], - "exporters": [], - "compile" : true, - "export": true, - "test" : true, - "baud_rate": 9600, - "compare_log": ["mbed-os-example-mbed-crypto/tests/getting-started.log"], - "auto-update" : true - }, - { - "name": "mbed-os-example-nfc", - "github": "https://github.com/ARMmbed/mbed-os-example-nfc", - "sub-repo-example": true, - "subs": [ - "NFC_EEPROM", - "NFC_SmartPoster" - ], - "features" : [], - "targets" : ["NUCLEO_F401RE"], - "toolchains" : [], - "exporters": [], - "compile" : true, - "export": true, - "test" : true, - "baud_rate": 9600, - "compare_log": [ - "mbed-os-example-nfc/tests/EEPROM.log", - "mbed-os-example-nfc/tests/SmartPoster_noShield.log" - ], - "auto-update" : true - }, - { - "name": "mbed-os-example-ble", - "github":"https://github.com/ARMmbed/mbed-os-example-ble", - "sub-repo-example": true, - "subs": [ - "BLE_Advertising" - - ], - "features" : [], - "targets" : ["NRF52840_DK", "DISCO_L475VG_IOT01A"], - "toolchains" : [], - "exporters": [], - "compile" : true, - "export": true, - "test" : false, - "auto-update" : true - }, - { - "name": "mbed-os-example-kvstore", - "github":"https://github.com/ARMmbed/mbed-os-example-kvstore", - "sub-repo-example": false, - "subs": [], - "features" : [], - "targets" : ["K64F", "DISCO_L475VG_IOT01A"], - "toolchains" : [], - "exporters": [], - "compile" : true, - "export": true, - "test" : true, - "baud_rate": 9600, - "compare_log": ["mbed-os-example-kvstore/tests/kvstore.log"], - "auto-update" : true - } - ] + }, + { + "name": "mbed-os-example-lorawan", + "github":"https://github.com/ARMmbed/mbed-os-example-lorawan", + "sub-repo-example": false, + "subs": [], + "features" : [], + "targets" : ["K64F"], + "toolchains" : [], + "exporters": [], + "compile" : true, + "export": false, + "test" : false, + "auto-update" : true + }, + { + "name": "mbed-os-example-devicekey", + "github":"https://github.com/ARMmbed/mbed-os-example-devicekey", + "sub-repo-example": false, + "subs": [], + "features" : [], + "targets" : ["K66F"], + "toolchains" : [], + "exporters": [], + "compile" : true, + "export": true, + "test" : true, + "baud_rate": 9600, + "compare_log": ["mbed-os-example-devicekey/tests/devicekey.log"], + "auto-update" : true + }, + { + "name": "mbed-os-example-cpu-stats", + "github":"https://github.com/ARMmbed/mbed-os-example-cpu-stats", + "sub-repo-example": false, + "subs": [], + "features" : [], + "targets" : ["K64F", "FVP_MPS2_M3"], + "toolchains" : [], + "exporters": [], + "compile" : true, + "export": true, + "test" : true, + "baud_rate": 9600, + "compare_log": ["mbed-os-example-cpu-stats/tests/cpu-stats.log"], + "auto-update" : true + }, + { + "name": "mbed-os-example-mbed-crypto", + "github":"https://github.com/ARMmbed/mbed-os-example-mbed-crypto", + "sub-repo-example": true, + "subs": ["getting-started"], + "features" : [], + "targets" : ["K64F"], + "toolchains" : [], + "exporters": [], + "compile" : true, + "export": true, + "test" : true, + "baud_rate": 9600, + "compare_log": ["mbed-os-example-mbed-crypto/tests/getting-started.log"], + "auto-update" : true + }, + { + "name": "mbed-os-example-psa", + "github":"https://github.com/ARMmbed/mbed-os-example-psa", + "sub-repo-example": false, + "subs": [], + "features" : [], + "targets" : ["ARM_MUSCA_S1", "ARM_MUSCA_B1", "K64F"], + "toolchains" : ["GCC_ARM", "ARM"], + "exporters": [], + "compile" : true, + "export": true, + "test" : true, + "baud_rate": 115200, + "compare_log": ["mbed-os-example-psa/tests/psa.log"], + "auto-update" : true + }, + { + "name": "mbed-os-example-nfc", + "github": "https://github.com/ARMmbed/mbed-os-example-nfc", + "sub-repo-example": true, + "subs": [ + "NFC_EEPROM", + "NFC_SmartPoster" + ], + "features" : [], + "targets" : ["NUCLEO_F401RE"], + "toolchains" : [], + "exporters": [], + "compile" : true, + "export": true, + "test" : true, + "baud_rate": 9600, + "compare_log": [ + "mbed-os-example-nfc/tests/EEPROM.log", + "mbed-os-example-nfc/tests/SmartPoster_noShield.log" + ], + "auto-update" : true + }, + { + "name": "mbed-os-example-blockdevice", + "github":"https://github.com/armmbed/mbed-os-example-blockdevice", + "sub-repo-example": false, + "subs": [], + "features" : [], + "targets" : ["K64F"], + "toolchains" : [], + "exporters": [], + "compile" : true, + "export": true, + "test" : true, + "baud_rate": 9600, + "compare_log": ["mbed-os-example-blockdevice/tests/blockdevice.log"], + "auto-update" : true + }, + { + "name": "mbed-os-example-kvstore", + "github":"https://github.com/ARMmbed/mbed-os-example-kvstore", + "sub-repo-example": false, + "subs": [], + "features" : [], + "targets" : ["K64F", "DISCO_L475VG_IOT01A"], + "toolchains" : [], + "exporters": [], + "compile" : true, + "export": true, + "test" : true, + "baud_rate": 9600, + "compare_log": ["mbed-os-example-kvstore/tests/kvstore.log"], + "auto-update" : true + }, + { + "name": "mbed-os-example-crash-reporting", + "github":"https://github.com/ARMmbed/mbed-os-example-crash-reporting", + "sub-repo-example": false, + "subs": [], + "features" : [], + "targets" : ["K64F"], + "toolchains" : [], + "exporters": [], + "compile" : true, + "export": true, + "test" : true, + "baud_rate": 9600, + "compare_log": ["mbed-os-example-crash-reporting/tests/crash-reporting.log"], + "auto-update" : true + }, + { + "name": "mbed-os-example-attestation", + "github": "https://github.com/ARMmbed/mbed-os-example-attestation", + "sub-repo-example": false, + "subs": [], + "features" : [], + "targets" : [ "K66F", "NUCLEO_F429ZI"], + "toolchains" : [], + "exporters": [], + "compile" : true, + "export": true, + "test" : true, + "baud_rate": 9600, + "compare_log": ["mbed-os-example-attestation/tests/attestation.log"], + "auto-update" : true + } + ] }