Comments (8)
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.
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.
This may be related:
platformio/platformio-core#659
from mobile-rr.
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.
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.
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.
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.
Thanks all :)
from mobile-rr.
Related Issues (20)
- The embed_media function in the www_proc.py script is causing issues.
- Feature: Disconnect station from AP after receiving Rick Roll
- error: '_ws_client' was not declared in this scope HOT 5
- SSID changes not processed HOT 5
- Too many redirects on windows, ios and android HOT 1
- Broadcast SSID remains unchanged after changing variable HOT 1
- Browser Error HOT 3
- lib ESPAsyncWebServer not installed HOT 1
- no loading/welcome page pop-up HOT 1
- Unable to build -> '_ws_client' does not name a type HOT 7
- Can't log in to console HOT 3
- HOT 3
- Curiosity HOT 3
- HOT 1
- Can't build mobile-rr in Atom or VSCode with Platformio HOT 5
- 'class DNSServer' has no member named 'onquery' HOT 5
- serial.serialutil.SerialException: [Errno 2] could not open port /dev/cu.wchusbserial14440: [Errno 2] No such file or directory: '/dev/cu.wchusbserial14440' HOT 4
- Can we still make this work? HOT 3
- What libraries are needed I cant compile it?!
- Error when compiling HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile-rr.