Giter Site home page Giter Site logo

Comments (8)

Noki avatar Noki commented on July 17, 2024 1

The latest version of ESPAsyncTCP is broken. You can get it to compile by going back to a working version. Go to github and fetch this one e.g. by downloading the zip. Replace the files in the library folder.

https://github.com/me-no-dev/ESPAsyncTCP/tree/5987225cf66930b307a58f3ede3ba08830ee1c7b

However when I flash that firmware it hangs in a bootloop. Maybe you have more luck.

from mobile-rr.

martinlbb avatar martinlbb commented on July 17, 2024

Seems there is a multiple declaration on these files:

  • libESP8266WiFi.a
  • libESPAsyncTCP_ID305.a
.pioenvs/d1_mini/libESP8266WiFi.a(WiFiClientSecure.o): In function `ax_port_read':
WiFiClientSecure.cpp:(.text.ax_port_read+0x14): multiple definition of `ax_port_read'
.pioenvs/d1_mini/libESPAsyncTCP_ID305.a(lwipr_compat.o):lwipr_compat.c:(.text.ax_port_read+0x14): first defined here

from mobile-rr.

martinlbb avatar martinlbb commented on July 17, 2024

This may be related:
platformio/platformio-core#659

from mobile-rr.

martinlbb avatar martinlbb commented on July 17, 2024

Previous idea was not related.
In fact, I add to go to my .platformio/src/ library and manually rename offending functions in ESPAsyncTCP_ID305/src/lwipr_compat.c

Offending functions are:

ax_port_read
ax_port_write
ax_get_file
ax_wdt_feed

It is also possible to use an ifndef call.

from mobile-rr.

martinlbb avatar martinlbb commented on July 17, 2024

Thanks @Noki for your imput. Well, I didn't changed ESPAsyncTCP, I just changed ESPAsyncTCP_ID305 (another different lib).

After compiling, uploading firmware, uploading SPIFFS (see note about it on web README, there is a picture showing it), it works.

I did it with an ESP-12-Q (small stamp version w/o usb serial). If I powered it with a serial-USB module, it does not work (not enough juice). If I power up with regular 3.3V, everything okay

from mobile-rr.

idolpx avatar idolpx commented on July 17, 2024

Ok... try this. Open the terminal in PlatformIO and enter the following commands.

> pio lib uninstall 305 306
> pio lib install 305 --version=5987225cf6
> pio lib install 306 --version=dab3077f2b

That will revert those libraries to the previous versions that will actually compile.

from mobile-rr.

Noki avatar Noki commented on July 17, 2024

I found out what caused the bootloop. The eeprom could not be read and did not get initialized automatically. I got it working again by calling:

eepromInitialize();
eepromSave();

from mobile-rr.

martinlbb avatar martinlbb commented on July 17, 2024

Thanks all :)

from mobile-rr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.