Skip to content

Commit e48f994

Browse files
committed
Add ETHERNET and ODIN_WIFI to odin device has. Add odin WiFi test configuration
1 parent dee8e7f commit e48f994

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

targets/targets.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,8 +1688,13 @@
16881688
"supported_form_factors": ["ARDUINO"],
16891689
"core": "Cortex-M4F",
16901690
"extra_labels_add": ["STM32F4", "STM32F439", "STM32F439ZI","STM32F439xx", "STM32F439xI"],
1691+
<<<<<<< HEAD
16911692
"macros": ["MBEDTLS_CONFIG_HW_SUPPORT", "HSE_VALUE=24000000", "HSE_STARTUP_TIMEOUT=5000", "CB_INTERFACE_SDIO","CB_CHIP_WL18XX","SUPPORT_80211D_ALWAYS","WLAN_ENABLED","MBEDTLS_ARC4_C","MBEDTLS_DES_C","MBEDTLS_MD4_C","MBEDTLS_MD5_C","MBEDTLS_SHA1_C"],
16921693
"device_has_add": ["CAN", "EMAC", "TRNG", "FLASH"],
1694+
=======
1695+
"macros": ["HSE_VALUE=24000000", "HSE_STARTUP_TIMEOUT=5000", "CB_INTERFACE_SDIO","CB_CHIP_WL18XX","SUPPORT_80211D_ALWAYS","WLAN_ENABLED","MBEDTLS_ARC4_C","MBEDTLS_DES_C","MBEDTLS_MD4_C","MBEDTLS_MD5_C","MBEDTLS_SHA1_C"],
1696+
"device_has_add": ["CAN", "EMAC", "TRNG", "FLASH", "ETHERNET", "ODIN_WIFI"],
1697+
>>>>>>> Add ETHERNET and ODIN_WIFI to odin device has. Add odin WiFi test configuration
16931698
"device_has_remove": ["RTC", "SLEEP"],
16941699
"features": ["LWIP"],
16951700
"release_versions": ["5"],

tools/test_configs/OdinInterface.json

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" : "\"OdinWiFiInterface.h\""
6+
},
7+
"object-construction" : {
8+
"value" : "new OdinWiFiInterface()"
9+
},
10+
"connect-statement" : {
11+
"help" : "Must use 'net' variable name",
12+
"value" : "((OdinWiFiInterface *)net)->connect(WIFI_SSID, WIFI_PASSWORD)"
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+
}

0 commit comments

Comments
 (0)