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

Fix compiler error for ESP32-C3 and mbed TLS v2.7.0+ #970

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Apr 19, 2021

  1. Fix compiler error for ESP32-C3

    Compile error on ESP32-C3 for even simplest example [simple_server](https://github.com/me-no-dev/ESPAsyncWebServer/tree/master/examples/simple_server)
    
    ```
    /home/kh/Arduino/libraries/ESPAsyncWebServer-master/src/AsyncWebSocket.cpp: In member function 'IPAddress AsyncWebSocketClient::remoteIP()':
    /home/kh/Arduino/libraries/ESPAsyncWebServer-master/src/AsyncWebSocket.cpp:843:28: error: call of overloaded 'IPAddress(unsigned int)' is ambiguous
             return IPAddress(0U);
                                ^
    ```
    khoih-prog committed Apr 19, 2021
    Configuration menu
    Copy the full SHA
    fbf2e1a View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2021

  1. Fix compile error

    Fix deprecated functions superseded from mbed TLS v2.7.0
    - mbedtls_md5_starts()
    - mbedtls_md5_update() 
    - mbedtls_md5_finish()
    
    leading to following compiling error
    
    ```
    /home/kh/.arduino15/packages/esp32/tools/xtensa-esp32s2-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32s2-elf/8.4.0/../../../../xtensa-esp32s2-elf/bin/ld: libraries/ESPAsyncWebServer-master/WebAuthentication.cpp.o:(.literal._ZL6getMD5PhtPc+0x4): undefined reference to `mbedtls_md5_starts'
    /home/kh/.arduino15/packages/esp32/tools/xtensa-esp32s2-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32s2-elf/8.4.0/../../../../xtensa-esp32s2-elf/bin/ld: libraries/ESPAsyncWebServer-master/WebAuthentication.cpp.o: in function `getMD5(unsigned char*, unsigned short, char*)':
    /home/kh/Arduino/libraries/ESPAsyncWebServer-master/src/WebAuthentication.cpp:73: undefined reference to `mbedtls_md5_starts'
    collect2: error: ld returned 1 exit status
    exit status 1
    Error compiling for board ESP32S2 Dev Module.
    ```
    khoih-prog committed Aug 2, 2021
    1 Configuration menu
    Copy the full SHA
    edabf22 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7380408 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2021

  1. Update AsyncWebSocket.h

    khoih-prog committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    24fc8db View commit details
    Browse the repository at this point in the history
  2. Update AsyncWebSocket.h

    khoih-prog committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    d6322e7 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2021

  1. Update AsyncWebSocket.h

    khoih-prog committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    153bb3d View commit details
    Browse the repository at this point in the history

Commits on May 25, 2022

  1. Configuration menu
    Copy the full SHA
    8e9c5a6 View commit details
    Browse the repository at this point in the history