Skip to content

Commit 53eb36e

Browse files
juhaylinenSeppo Takalo
authored andcommitted
Fix Greentea WiFi test build issues
1 parent 21ec972 commit 53eb36e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

TESTS/network/wifi/get_interface.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
#error [NOT_SUPPORTED] No network interface found for this target.
2020
#endif
2121

22+
#if !defined(MBED_CONF_APP_WIFI_SECURE_SSID) && !defined(MBED_CONF_APP_WIFI_UNSECURE_SSID)
23+
#error [NOT_SUPPORTED] Requires parameters from mbed_app.json
24+
#endif
25+
2226
#include "mbed.h"
2327
#include MBED_CONF_APP_HEADER_FILE
2428

TESTS/network/wifi/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
#if !defined(MBED_CONF_APP_AP_MAC_UNSECURE) || \
4242
!defined(MBED_CONF_APP_MAX_SCAN_SIZE) || \
4343
!defined(MBED_CONF_APP_WIFI_CH_UNSECURE) || \
44-
!defined(MBED_CONF_APP_WIFI_PASSWORD) || \
4544
!defined(MBED_CONF_APP_WIFI_UNSECURE_SSID)
4645
#error [NOT_SUPPORTED] Requires parameters from mbed_app.json (for unsecure connections)
4746
#endif

0 commit comments

Comments
 (0)