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

Troubles when flashing with Arduino IDE #21

Open
DYanshin opened this issue Mar 27, 2021 · 1 comment
Open

Troubles when flashing with Arduino IDE #21

DYanshin opened this issue Mar 27, 2021 · 1 comment

Comments

@DYanshin
Copy link

Good day!

I have got some troubles with compiling sketch. When I verify sketch this error is appeared:

_**C:\Users\Denis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266/PolledTimeout.h:126:90: error: macro "max" requires 2 arguments, but only 1 given
static constexpr timeType timeMax = (std::numeric_limits::max() - 1) / user2UnitMultiplierMax;

and:

exit status 1
Error compiling for board Generic ESP8266 Module.**_

Could you help me?

@maripo
Copy link
Collaborator

maripo commented Apr 2, 2021

We use ESP8266 version 2.4.2 to compile it for production. It may not be consistent with the latest library. If you replace it with an older library version, it will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants