Update Greentea test configuration files

Add .json files for WicedInterface and SpwfSAInterface
Add target configurations for
MTB_UBLOX_ODIN_W2
MTB_ADV_WISE_1530
MTB_USI_WM_BN_BM_22
MTB_MXCHIP_EMW3166
NUCLEO_F401RE
pull/6665/head
Juha Ylinen 2018-05-07 10:18:23 +03:00 committed by Seppo Takalo
parent 38b8865bcc
commit 83fdd131a2
7 changed files with 102 additions and 7 deletions

View File

@ -8,8 +8,8 @@
"value" : "new ESP8266Interface( D1, D0, false )"
},
"connect-statement" : {
"help" : "Must use 'net' variable name, replace WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY, WIFI_CHANNEL with your WiFi settings",
"value" : "((ESP8266Interface *)net)->connect(WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY, WIFI_CHANNEL)"
"help" : "Must use 'net' variable name, replace WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY with your WiFi settings",
"value" : "((ESP8266Interface *)net)->connect(WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY)"
},
"echo-server-addr" : {
"help" : "IP address of echo server",

View File

@ -13,7 +13,7 @@
},
"echo-server-addr" : {
"help" : "IP address of echo server",
"value" : "\"dragon.u-blox.com\""
"value" : "\"echo.mbedcloudtesting.com\""
},
"echo-server-port" : {
"help" : "Port of echo server",
@ -21,7 +21,7 @@
},
"tcp-echo-prefix" : {
"help" : "Some servers send a prefix before echoed message",
"value" : "\"u-blox AG TCP/UDP test service\\n\""
"value" : null
},
"sim-blockdevice": {
"help": "Simulated block device, requires sufficient heap",

View File

@ -13,7 +13,7 @@
},
"echo-server-addr" : {
"help" : "IP address of echo server",
"value" : "\"dragon.u-blox.com\""
"value" : "\"echo.mbedcloudtesting.com\""
},
"echo-server-port" : {
"help" : "Port of echo server",
@ -21,7 +21,7 @@
},
"tcp-echo-prefix" : {
"help" : "Some servers send a prefix before echoed message",
"value" : "\"u-blox AG TCP/UDP test service\\n\""
"value" : null
},
"sim-blockdevice": {
"help": "Simulated block device, requires sufficient heap",

View File

@ -0,0 +1,27 @@
{
"config": {
"header-file": {
"help" : "String for including your driver header file",
"value" : "\"SpwfSAInterface.h\""
},
"object-construction" : {
"value" : "new SpwfSAInterface( D8, D2 )"
},
"connect-statement" : {
"help" : "Must use 'net' variable name, replace WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY with your WiFi settings",
"value" : "((SpwfSAInterface *)net)->connect(WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY)"
},
"echo-server-addr" : {
"help" : "IP address of echo server",
"value" : "\"echo.mbedcloudtesting.com\""
},
"echo-server-port" : {
"help" : "Port of echo server",
"value" : "7"
},
"tcp-echo-prefix" : {
"help" : "Some servers send a prefix before echoed message",
"value" : null
}
}
}

View File

@ -0,0 +1,46 @@
{
"config": {
"header-file": {
"help" : "String for including your driver header file",
"value" : "\"WicedInterface.h\""
},
"object-construction" : {
"value" : "new WicedInterface()"
},
"connect-statement" : {
"help" : "Must use 'net' variable name, replace WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY with your WiFi settings",
"value" : "((WicedInterface *)net)->connect(WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY)"
},
"echo-server-addr" : {
"help" : "IP address of echo server",
"value" : "\"echo.mbedcloudtesting.com\""
},
"echo-server-port" : {
"help" : "Port of echo server",
"value" : "7"
},
"tcp-echo-prefix" : {
"help" : "Some servers send a prefix before echoed message",
"value" : null
},
"sim-blockdevice": {
"help": "Simulated block device, requires sufficient heap",
"macro_name": "MBED_TEST_SIM_BLOCKDEVICE",
"value": "HeapBlockDevice"
}
},
"target_overrides": {
"MTB_ADV_WISE_1530": {
"target.extra_labels_add": ["WICED"],
"target.features_add": ["BLE", "LWIP"]
},
"MTB_USI_WM_BN_BM_22": {
"target.extra_labels_add": ["WICED"],
"target.features_add": ["BLE", "LWIP"]
},
"MTB_MXCHIP_EMW3166": {
"target.extra_labels_add": ["WICED"],
"target.features_add": ["LWIP"]
}
}
}

View File

@ -5,5 +5,7 @@
"ODIN_WIFI" : "OdinInterface.json",
"ODIN_ETHERNET" : "Odin_EthernetInterface.json",
"REALTEK_WIFI" : "RealtekInterface.json",
"ESP8266_WIFI" : "ESP8266Interface.json"
"ESP8266_WIFI" : "ESP8266Interface.json",
"WICED_WIFI" : "WicedInterface.json",
"IDW0XX1_WIFI" : "SpwfSAInterface.json"
}

View File

@ -14,5 +14,25 @@
"NUCLEO_F429ZI": {
"default_test_configuration": "HEAPBLOCKDEVICE_AND_ETHERNET",
"test_configurations": ["HEAPBLOCKDEVICE_AND_ETHERNET"]
},
"MTB_UBLOX_ODIN_W2": {
"default_test_configuration": "NONE",
"test_configurations": ["ODIN_WIFI"]
},
"MTB_ADV_WISE_1530": {
"default_test_configuration": "NONE",
"test_configurations": ["WICED_WIFI"]
},
"MTB_USI_WM_BN_BM_22": {
"default_test_configuration": "NONE",
"test_configurations": ["WICED_WIFI"]
},
"MTB_MXCHIP_EMW3166": {
"default_test_configuration": "NONE",
"test_configurations": ["WICED_WIFI"]
},
"NUCLEO_F401RE": {
"default_test_configuration": "NONE",
"test_configurations": ["IDW0XX1_WIFI"]
}
}