mirror of https://github.com/ARMmbed/mbed-os.git
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_F401REpull/6665/head
parent
38b8865bcc
commit
83fdd131a2
|
@ -8,8 +8,8 @@
|
||||||
"value" : "new ESP8266Interface( D1, D0, false )"
|
"value" : "new ESP8266Interface( D1, D0, false )"
|
||||||
},
|
},
|
||||||
"connect-statement" : {
|
"connect-statement" : {
|
||||||
"help" : "Must use 'net' variable name, replace WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY, WIFI_CHANNEL with your WiFi settings",
|
"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, WIFI_CHANNEL)"
|
"value" : "((ESP8266Interface *)net)->connect(WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY)"
|
||||||
},
|
},
|
||||||
"echo-server-addr" : {
|
"echo-server-addr" : {
|
||||||
"help" : "IP address of echo server",
|
"help" : "IP address of echo server",
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
},
|
},
|
||||||
"echo-server-addr" : {
|
"echo-server-addr" : {
|
||||||
"help" : "IP address of echo server",
|
"help" : "IP address of echo server",
|
||||||
"value" : "\"dragon.u-blox.com\""
|
"value" : "\"echo.mbedcloudtesting.com\""
|
||||||
},
|
},
|
||||||
"echo-server-port" : {
|
"echo-server-port" : {
|
||||||
"help" : "Port of echo server",
|
"help" : "Port of echo server",
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
},
|
},
|
||||||
"tcp-echo-prefix" : {
|
"tcp-echo-prefix" : {
|
||||||
"help" : "Some servers send a prefix before echoed message",
|
"help" : "Some servers send a prefix before echoed message",
|
||||||
"value" : "\"u-blox AG TCP/UDP test service\\n\""
|
"value" : null
|
||||||
},
|
},
|
||||||
"sim-blockdevice": {
|
"sim-blockdevice": {
|
||||||
"help": "Simulated block device, requires sufficient heap",
|
"help": "Simulated block device, requires sufficient heap",
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
},
|
},
|
||||||
"echo-server-addr" : {
|
"echo-server-addr" : {
|
||||||
"help" : "IP address of echo server",
|
"help" : "IP address of echo server",
|
||||||
"value" : "\"dragon.u-blox.com\""
|
"value" : "\"echo.mbedcloudtesting.com\""
|
||||||
},
|
},
|
||||||
"echo-server-port" : {
|
"echo-server-port" : {
|
||||||
"help" : "Port of echo server",
|
"help" : "Port of echo server",
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
},
|
},
|
||||||
"tcp-echo-prefix" : {
|
"tcp-echo-prefix" : {
|
||||||
"help" : "Some servers send a prefix before echoed message",
|
"help" : "Some servers send a prefix before echoed message",
|
||||||
"value" : "\"u-blox AG TCP/UDP test service\\n\""
|
"value" : null
|
||||||
},
|
},
|
||||||
"sim-blockdevice": {
|
"sim-blockdevice": {
|
||||||
"help": "Simulated block device, requires sufficient heap",
|
"help": "Simulated block device, requires sufficient heap",
|
||||||
|
|
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -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"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -5,5 +5,7 @@
|
||||||
"ODIN_WIFI" : "OdinInterface.json",
|
"ODIN_WIFI" : "OdinInterface.json",
|
||||||
"ODIN_ETHERNET" : "Odin_EthernetInterface.json",
|
"ODIN_ETHERNET" : "Odin_EthernetInterface.json",
|
||||||
"REALTEK_WIFI" : "RealtekInterface.json",
|
"REALTEK_WIFI" : "RealtekInterface.json",
|
||||||
"ESP8266_WIFI" : "ESP8266Interface.json"
|
"ESP8266_WIFI" : "ESP8266Interface.json",
|
||||||
|
"WICED_WIFI" : "WicedInterface.json",
|
||||||
|
"IDW0XX1_WIFI" : "SpwfSAInterface.json"
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,5 +14,25 @@
|
||||||
"NUCLEO_F429ZI": {
|
"NUCLEO_F429ZI": {
|
||||||
"default_test_configuration": "HEAPBLOCKDEVICE_AND_ETHERNET",
|
"default_test_configuration": "HEAPBLOCKDEVICE_AND_ETHERNET",
|
||||||
"test_configurations": ["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"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue