Skip to content

Commit 10a1e6e

Browse files
committed
RealTek WiFi test configuration
1 parent df88a9d commit 10a1e6e

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"config": {
3+
"header-file": {
4+
"help" : "String for including your driver header file",
5+
"value" : "\"RTWInterface.h\""
6+
},
7+
"object-construction" : {
8+
"value" : "new RTWInterface()"
9+
},
10+
"connect-statement" : {
11+
"help" : "Must use 'net' variable name, replace WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY, WIFI_CHANNEL with your WiFi settings",
12+
"value" : "((RTWInterface *)net)->connect(WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY, WIFI_CHANNEL)"
13+
},
14+
"echo-server-addr" : {
15+
"help" : "IP address of echo server",
16+
"value" : "\"195.34.89.241\""
17+
},
18+
"echo-server-port" : {
19+
"help" : "Port of echo server",
20+
"value" : "7"
21+
},
22+
"tcp-echo-prefix" : {
23+
"help" : "Some servers send a prefix before echoed message",
24+
"value" : "\"Realtek Ameba TCP/UDP test service\\n\""
25+
}
26+
}
27+
}

tools/test_configs/config_paths.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"ETHERNET" : "EthernetInterface.json",
33
"ODIN_WIFI" : "OdinInterface.json",
4-
"ODIN_ETHERNET" : "Odin_EthernetInterface.json"
4+
"ODIN_ETHERNET" : "Odin_EthernetInterface.json",
5+
"REALTEK_WIFI" : "RealtekInterface.json"
56
}

tools/test_configs/target_configs.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@
66
"K64F": {
77
"default_test_configuration": "ETHERNET",
88
"test_configurations": ["ETHERNET"]
9+
},
10+
"REALTEK_RTL8195AM": {
11+
"default_test_configuration": "REALTEK_WIFI",
12+
"test_configurations": ["REALTEK_WIFI"]
913
}
1014
}

0 commit comments

Comments
 (0)