Skip to content
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

Compile Error for Arduino Zero #26

Closed
qbiq opened this issue Feb 20, 2016 · 2 comments
Closed

Compile Error for Arduino Zero #26

qbiq opened this issue Feb 20, 2016 · 2 comments
Labels

Comments

@qbiq
Copy link

qbiq commented Feb 20, 2016

If I try to compile a sketch using i nthe Arduino IDE using the SAMD architecture (Arduino Zero), I get the following error:

`C:\Users\quino\Documents\Arduino\libraries\WiFiEsp\src/utility/RingBuffer.h:23:7: error: redefinition of 'class RingBuffer'``

Removing the lines 30,31 & 32 solves the compilation errors:
`//#include "utility/EspDrv.h"

//#include "utility/RingBuffer.h"

//#include "utility/debug.h"`

But then I have a new issue:
'WL_IDLE_STATUS' was not declared in this scope

@pantata
Copy link

pantata commented Mar 27, 2016

My fix for Arduino M0:

  • rename files and class RingBuffer -> RingBuffer2
  • EspDrv.cpp: add macro
#if defined(__SAMD21G18A__)
#define vsnprintf_P  vsnprintf
#endif
  • and I add TCP_ prefix to enum wl_tcp_state (conflict with Keypad lib)

@Urs-O
Copy link

Urs-O commented Apr 13, 2016

This Bug is also been adressed by Pull Request #27
@bportaluri Would you be so kind to merge that Pullrequest? That would be really nice.

ninjampa added a commit to FTTechBrasil/WiFiEsp that referenced this issue Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants