Azure-Samples / iot-hub-c-m0wifi-getstartedkit

Get started with the Adafruit Feather M0 Wifi Azure IoT Starter Kit
MIT License
5 stars 8 forks source link

Azure IoT Arduino Library Depends on Wifi101.h #16

Closed caseyhagen closed 8 years ago

caseyhagen commented 8 years ago

The Azure IoT Arduino Library (v0.1.0) Depends on Wifi101.h but this board doesn't use Wifi101. Here's the header in the sketch where the project uses the WINC1500 headers instead.

ifdef ARDUINO_SAMD_FEATHER_M0

include

include

include

include

include

include

elif defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_SAMD_MKR1000)

include

endif

If I add the Wifi101 library the compile error goes away but then it creates linker errors. There will be two sets of wifi objects and thus the linker barfs.

AttunixCorp commented 8 years ago

To be added to tutorial if the library isn't updated:


Note: Make sure you’ve gotten the most recent Azure IoT libraries from:

https://github.com/stefangordon/AzureIoT/