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

Compilation error with platform espressif8266 version 3.1.0 #21

Closed
notsleep196 opened this issue Jul 16, 2021 · 4 comments
Closed

Compilation error with platform espressif8266 version 3.1.0 #21

notsleep196 opened this issue Jul 16, 2021 · 4 comments

Comments

@notsleep196
Copy link

Hello!
After updating espressif8266 platform to the latest version 3.1.0 can't compile my sketch. I have error, located in ESP-WiFiSettings\WiFiSettings.cpp file.
The error output:

.pio\libdeps\d1_mini_E22-400M30S\ESP-WiFiSettings\WiFiSettings.cpp: In member function 'void WiFiSettingsClass::begin()'
:
.pio\libdeps\d1_mini_E22-400M30S\ESP-WiFiSettings\WiFiSettings.cpp:11:35: error: expected ')' before '__INT32'
11 | #define ESPMAC (Sprintf("%06" PRIx32, ESP.getChipId()))
| ^~~~~~

Environment:
- wemos d1 mini
- CLion + platformio
- platform espressif8266 version 3.1.0

@notsleep196
Copy link
Author

Hello, @Juerd!
Any ideas about this issue?

@Juerd
Copy link
Owner

Juerd commented Aug 7, 2021

Sorry, I am currently not available. In case you find a fix, please submit a pull request.

@Juerd
Copy link
Owner

Juerd commented Aug 7, 2021

Coincidentally I came across a mention of a bug in the ESP8266 Arduino Core introduced in version 3.0.0 and fixed in 3.0.2, that's probably the cause of this issue. Please upgrade and test again. If that doesn't fix it, feel free to reopen this issue.

esp8266/Arduino#8222

@Juerd Juerd closed this as completed Aug 7, 2021
@notsleep196
Copy link
Author

Hello, @Juerd!
I tried to use development version of espressif8266 platform with Arduino 3.0.2 in it. The error is still the same.
Please re-open the issue, i don't have enough access rigths

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