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

ESP32 LAN8720 MCP23017 cant compile with Asyncwebsockets #101

Open
MeisterQ opened this issue May 29, 2024 · 0 comments
Open

ESP32 LAN8720 MCP23017 cant compile with Asyncwebsockets #101

MeisterQ opened this issue May 29, 2024 · 0 comments

Comments

@MeisterQ
Copy link

If you're sure this issue is a defect in the code and checked the steps above
please fill in the following fields to provide enough troubleshooting information.
You may delete the guideline and text above to just leave the following details:

  • Arduino board: ESP32-Dev Board / WT32-ETH

  • Arduino IDE version (found in Arduino -> About Arduino menu): 2.2.2

  • ESP32 Core Version 3.0.0

Errormessage:
``
Arduino: 1.8.16 (Windows 10), Board: "WT32-ETH01 Ethernet Module, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), QIO, 80MHz, 921600, None, Disabled"

H:\ArduinoNeu\Arduino\portable\sketchbook\libraries\async-esp-fs-webserver-master\src\ESPAsyncWebServer\src\WebAuthentication.cpp: In function 'bool getMD5(uint8_t*, uint16_t, char*)':

H:\ArduinoNeu\Arduino\portable\sketchbook\libraries\async-esp-fs-webserver-master\src\ESPAsyncWebServer\src\WebAuthentication.cpp:80:3: error: 'mbedtls_md5_starts_ret' was not declared in this scope; did you mean 'mbedtls_md5_starts'?

80 | mbedtls_md5_starts_ret(&_ctx);

  |   ^~~~~~~~~~~~~~~~~~~~~~

  |   mbedtls_md5_starts

H:\ArduinoNeu\Arduino\portable\sketchbook\libraries\async-esp-fs-webserver-master\src\ESPAsyncWebServer\src\WebAuthentication.cpp:81:3: error: 'mbedtls_md5_update_ret' was not declared in this scope; did you mean 'mbedtls_md5_update'?

81 | mbedtls_md5_update_ret(&_ctx, data, len);

  |   ^~~~~~~~~~~~~~~~~~~~~~

  |   mbedtls_md5_update

H:\ArduinoNeu\Arduino\portable\sketchbook\libraries\async-esp-fs-webserver-master\src\ESPAsyncWebServer\src\WebAuthentication.cpp:82:3: error: 'mbedtls_md5_finish_ret' was not declared in this scope; did you mean 'mbedtls_md5_finish'?

82 | mbedtls_md5_finish_ret(&_ctx, _buf);

  |   ^~~~~~~~~~~~~~~~~~~~~~

  |   mbedtls_md5_finish

H:\ArduinoNeu\Arduino\portable\sketchbook\libraries\async-esp-fs-webserver-master\src\ESPAsyncWebServer\src\AsyncWebSocket.cpp: In member function 'void AsyncWebSocketClient::_queueMessage(AsyncWebSocketMessage*)':

H:\ArduinoNeu\Arduino\portable\sketchbook\libraries\async-esp-fs-webserver-master\src\ESPAsyncWebServer\src\AsyncWebSocket.cpp:622:7: error: 'ets_printf' was not declared in this scope; did you mean 'vswprintf'?

622 | ets_printf(String(F("ERROR: Too many messages queued\n")).c_str());

  |       ^~~~~~~~~~

  |       vswprintf

H:\ArduinoNeu\Arduino\portable\sketchbook\libraries\async-esp-fs-webserver-master\src\ESPAsyncWebServer\src\AsyncWebSocket.cpp: In constructor 'AsyncWebSocketResponse::AsyncWebSocketResponse(const String&, AsyncWebSocket*)':

H:\ArduinoNeu\Arduino\portable\sketchbook\libraries\async-esp-fs-webserver-master\src\ESPAsyncWebServer\src\AsyncWebSocket.cpp:1355:3: error: 'mbedtls_sha1_starts_ret' was not declared in this scope; did you mean 'mbedtls_sha1_starts'?

1355 | mbedtls_sha1_starts_ret(&ctx);

  |   ^~~~~~~~~~~~~~~~~~~~~~~

  |   mbedtls_sha1_starts

H:\ArduinoNeu\Arduino\portable\sketchbook\libraries\async-esp-fs-webserver-master\src\ESPAsyncWebServer\src\AsyncWebSocket.cpp:1356:3: error: 'mbedtls_sha1_update_ret' was not declared in this scope; did you mean 'mbedtls_sha1_update'?

1356 | mbedtls_sha1_update_ret(&ctx, (const unsigned char*)key.c_str(), key.length());

  |   ^~~~~~~~~~~~~~~~~~~~~~~

  |   mbedtls_sha1_update

H:\ArduinoNeu\Arduino\portable\sketchbook\libraries\async-esp-fs-webserver-master\src\ESPAsyncWebServer\src\AsyncWebSocket.cpp:1357:3: error: 'mbedtls_sha1_finish_ret' was not declared in this scope; did you mean 'mbedtls_sha1_finish'?

1357 | mbedtls_sha1_finish_ret(&ctx, hash);

  |   ^~~~~~~~~~~~~~~~~~~~~~~

  |   mbedtls_sha1_finish

exit status 1

Fehler beim Kompilieren für das Board WT32-ETH01 Ethernet Module.

Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.
``

I cant show all the code here, because its over 1000 lines.

If i remove MCP23017, its compiling and everything works.

Ive seen something about GPIO mapping but im not sure how to solve everything.

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

1 participant