Skip to content

Commit 8ef849d

Browse files
committed
Add new Odin configuraiton to remove emac device_has
1 parent 26aa4ea commit 8ef849d

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"config": {
3+
"header-file": {
4+
"help" : "String for including your driver header file",
5+
"value" : "\"EthernetInterface.h\""
6+
},
7+
"object-construction" : {
8+
"value" : "new EthernetInterface()"
9+
},
10+
"connect-statement" : {
11+
"help" : "Must use 'net' variable name",
12+
"value" : "((EthernetInterface *)net)->connect()"
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" : "\"u-blox AG TCP/UDP test service\\n\""
25+
}
26+
},
27+
"target_overrides": {
28+
"UBLOX_EVK_ODIN_W2": {
29+
"target.device_has_remove": ["EMAC"]
30+
}
31+
}
32+
}

tools/test_configs/config_paths.json

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

tools/test_configs/target_configs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"UBLOX_EVK_ODIN_W2": {
3-
"default_test_configuration": "ETHERNET",
4-
"test_configurations": ["ODIN_WIFI", "ETHERNET"]
3+
"default_test_configuration": "ODIN_ETHERNET",
4+
"test_configurations": ["ODIN_WIFI", "ODIN_ETHERNET"]
55
},
66
"K64F": {
77
"default_test_configuration": "ETHERNET",

0 commit comments

Comments
 (0)