Skip to content

Commit a987cc0

Browse files
authored
Merge pull request #3271 from ARMmbed/odin_wifi_default_on
WiFi: Make WiFi default networking interface on Odin board
2 parents 4638cea + 20b7f05 commit a987cc0

File tree

6 files changed

+21
-2
lines changed

6 files changed

+21
-2
lines changed

features/FEATURE_LWIP/TESTS/mbedmicro-net/gethostbyname/main.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#if DEVICE_EMAC
2+
#error [NOT_SUPPORTED] Not supported for WiFi targets
3+
#endif
4+
15
#include "mbed.h"
26
#include "greentea-client/test_env.h"
37
#include "unity.h"
@@ -6,7 +10,6 @@
610

711
using namespace utest::v1;
812

9-
1013
// Hostname for testing against
1114
// Must have A and AAAA records
1215
#ifndef MBED_DNS_TEST_HOST

features/FEATURE_LWIP/TESTS/mbedmicro-net/nist_internet_time_service/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
#error [NOT_SUPPORTED] LWIP not supported for this target
33
#endif
44

5+
#if DEVICE_EMAC
6+
#error [NOT_SUPPORTED] Not supported for WiFi targets
7+
#endif
8+
59
#include "mbed.h"
610
#include "EthernetInterface.h"
711
#include "UDPSocket.h"

features/FEATURE_LWIP/TESTS/mbedmicro-net/tcp_client_echo/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
#error [NOT_SUPPORTED] LWIP not supported for this target
33
#endif
44

5+
#if DEVICE_EMAC
6+
#error [NOT_SUPPORTED] Not supported for WiFi targets
7+
#endif
8+
59
#include "mbed.h"
610
#include "EthernetInterface.h"
711
#include "TCPSocket.h"

features/FEATURE_LWIP/TESTS/mbedmicro-net/tcp_client_hello_world/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
#error [NOT_SUPPORTED] LWIP not supported for this target
33
#endif
44

5+
#if DEVICE_EMAC
6+
#error [NOT_SUPPORTED] Not supported for WiFi targets
7+
#endif
8+
59
#include <algorithm>
610
#include "mbed.h"
711
#include "EthernetInterface.h"

features/FEATURE_LWIP/TESTS/mbedmicro-net/udp_echo_client/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
#error [NOT_SUPPORTED] LWIP not supported for this target
33
#endif
44

5+
#if DEVICE_EMAC
6+
#error [NOT_SUPPORTED] Not supported for WiFi targets
7+
#endif
8+
59
#include "mbed.h"
610
#include "EthernetInterface.h"
711
#include "UDPSocket.h"

targets/targets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@
12921292
"extra_labels": ["STM", "STM32F4", "STM32F439", "STM32F439ZI","STM32F439xx"],
12931293
"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"],
12941294
"inherits": ["Target"],
1295-
"device_has": ["ANALOGIN", "CAN", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES", "TRNG"],
1295+
"device_has": ["ANALOGIN", "CAN", "EMAC", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "SERIAL", "SLEEP", "SPI", "SPISLAVE", "STDIO_MESSAGES", "TRNG"],
12961296
"features": ["LWIP"],
12971297
"release_versions": ["5"],
12981298
"device_name": "STM32F439ZI"

0 commit comments

Comments
 (0)