Fix Greentea WiFi test build issues

pull/6665/head
Juha Ylinen 2018-05-17 11:13:56 +03:00 committed by Seppo Takalo
parent 21ec972798
commit 53eb36e729
2 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,10 @@
#error [NOT_SUPPORTED] No network interface found for this target.
#endif
#if !defined(MBED_CONF_APP_WIFI_SECURE_SSID) && !defined(MBED_CONF_APP_WIFI_UNSECURE_SSID)
#error [NOT_SUPPORTED] Requires parameters from mbed_app.json
#endif
#include "mbed.h"
#include MBED_CONF_APP_HEADER_FILE

View File

@ -41,7 +41,6 @@
#if !defined(MBED_CONF_APP_AP_MAC_UNSECURE) || \
!defined(MBED_CONF_APP_MAX_SCAN_SIZE) || \
!defined(MBED_CONF_APP_WIFI_CH_UNSECURE) || \
!defined(MBED_CONF_APP_WIFI_PASSWORD) || \
!defined(MBED_CONF_APP_WIFI_UNSECURE_SSID)
#error [NOT_SUPPORTED] Requires parameters from mbed_app.json (for unsecure connections)
#endif