Peng Jing Xuan
/
mbed-os-example-wifi-DISCO_IOTBOARD_MQTT_copy
0527
Diff: main.cpp
- Revision:
- 21:b2f2f6a840b4
- Parent:
- 10:5b5beb106156
- Child:
- 24:323569a565ec
--- a/main.cpp Thu Jun 22 09:45:03 2017 +0100 +++ b/main.cpp Thu Jun 22 10:30:04 2017 +0100 @@ -21,12 +21,16 @@ #include "OdinWiFiInterface.h" OdinWiFiInterface wifi; +#elif TARGET_REALTEK_RTL8195AM +#include "RTWInterface.h" +RTWInterface wifi; + #else #if !TARGET_FF_ARDUINO #error [NOT_SUPPORTED] Only Arduino form factor devices are supported at this time #endif + #include "ESP8266Interface.h" - ESP8266Interface wifi(MBED_CONF_APP_WIFI_TX, MBED_CONF_APP_WIFI_RX); #endif