-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes to enable WiFiEsp on Arduino Due and other SAM32 chips. #27
base: master
Are you sure you want to change the base?
Conversation
The next commit fixes #23 issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I'd like to know if in file "src/utility/WifiEspRingBuffer.h" there is a typo or not.
Specifically when you suggest to add:
+#ifndef WifiEspWifiEspRingBuffer_h
+#define WifiEspWifiEspRingBuffer_h
Is it correct or it has to be:
+#ifndef WifiEspRingBuffer_h
+#define WifiEspRingBuffer_h
??
By the other hand I'm trying to modify the library to get working with my Arduino DUE but the current version of some of the library's files have been changed (comparing to the version of this example). Is it possible to update the changes to the current library version or attach the modified library on Github?
Thanks in advance
With the following changes (on top of release 2.2.1), I was able to get it working on a Due and M0 (no Pro) which where tested against NTP example on Leonardo, Due and M0: \Arduino\libraries\WiFiEsp\
\Arduino\libraries\WiFiEsp\src\utility\RingBuffer.h
\Arduino\libraries\WiFiEsp\src\utility\RingBuffer.cpp
\Arduino\libraries\WiFiEsp\src\utility\EspDrv.cpp
\Arduino\libraries\WiFiEsp\src\utility\debug.h
|
With the changes above, also a M0 Pro by using the native port is working. |
By changing |
Not working for me. I'm using a Due. Going off the WebClient-example, |
I work for Feather M0 |
Fix above from srolf worked for me with an Arduino MKRFOX1200 and ESP8266 AT module. Thanks for this. |
Fixes issue #26
Problem is SAM32 libs already contain RingBuffer used for the UART. Renamed the class and removed vsnprintf_P usage as its only present on AVRs.