mbed-os-example-sockets does not compile

29 Oct 2016

I installed mbed CLI tonight and imported the socket example with " mbed import mbed-os-example-sockets". The esp8266-driver/ESP8266Interface.h file has the wrong path on some includes. Changing the path fixed the compile.

diff

git diff
diff --git a/ESP8266Interface.h b/ESP8266Interface.h
index 7627ac0..bfaa39b 100644
--- a/ESP8266Interface.h
+++ b/ESP8266Interface.h
@@ -17,8 +17,8 @@
 #ifndef ESP8266_INTERFACE_H
 #define ESP8266_INTERFACE_H
 
-#include "network-socket/NetworkStack.h"
-#include "network-socket/WiFiInterface.h"
+#include "netsocket/NetworkStack.h"
+#include "netsocket/WiFiInterface.h"
 #include "ESP8266.h"

31 Oct 2016

Hi Tom,

Thanks for the heads up on this, we will sort this ASAP! :)

Best Regards,

Andrea, team mbed