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

core_esp8266_features.h:132:38: error: expected ',' or ';' before 'esp_is_8285' #782

Closed
arlaor opened this issue Nov 11, 2022 · 4 comments
Closed

Comments

@arlaor
Copy link

arlaor commented Nov 11, 2022

Hi @Links2004
thank you for this library.
i'm used arduino ide 1.8.19 and esp8266 boards 3.1.0-dev
I am getting the following error when working with your library. Is there any solution for this problem?

In file included from C:\Users\Marthi-K\Documents\Arduino\libraries\arduinoWebSockets\src\libb64\cencode.c:9:
C:\Users\Marthi-K\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266/core_esp8266_features.h:132:38: error: expected ',' or ';' before 'esp_is_8285'
132 | bool attribute((const, nothrow)) esp_is_8285();
| ^~~~~~~~~~~
In file included from C:\Users\Marthi-K\Documents\Arduino\libraries\arduinoWebSockets\src\libb64\cdecode.c:9:
C:\Users\Marthi-K\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266/core_esp8266_features.h:132:38: error: expected ',' or ';' before 'esp_is_8285'
132 | bool attribute((const, nothrow)) esp_is_8285();
| ^~~~~~~~~~~
Usando librería ESP8266WiFi con versión 1.0 en la carpeta: C:\Users\Marthi-K\Documents\Arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi
Usando librería arduinoWebSockets con versión 2.3.7 en la carpeta: C:\Users\Marthi-K\Documents\Arduino\libraries\arduinoWebSockets
Usando librería Hash con versión 1.0 en la carpeta: C:\Users\Marthi-K\Documents\Arduino\hardware\esp8266com\esp8266\libraries\Hash
exit status 1
Error compilando para la tarjeta Generic ESP8266 Module.

@avoev
Copy link

avoev commented Jan 7, 2023

Hello @arlaor , this appears to be a problem with the ESP8266 Community Version 3.1.0
I had the same issue, but downgrading it to https://github.com/esp8266/Arduino/releases/tag/3.0.2 fixed it.
All the best.

@mcspr
Copy link

mcspr commented Jan 11, 2023

That's esp8266 Core issue, not this lib
See esp8266/Arduino#8794 and esp8266/Arduino#8795, should be with Cores 3.1.1+ (when it is released)

@mateusmcouto
Copy link

https://github.com/esp8266/Arduino/blob/master/cores/esp8266/core_esp8266_features.h

Copiei esse código e colei no arquivo core_esp8266_features.h e deu certo

@arlaor
Copy link
Author

arlaor commented Jan 19, 2023

https://github.com/esp8266/Arduino/blob/master/cores/esp8266/core_esp8266_features.h

Copiei esse código e colei no arquivo core_esp8266_features.h e deu certo

Is correct. This work. Thanks

@arlaor arlaor closed this as completed Jan 19, 2023
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

4 participants