-
-
Notifications
You must be signed in to change notification settings - Fork 480
ESP32 support #118
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
Comments
Ok got my nano32 and play with https://github.com/espressif/arduino-esp32 Keep watching until official first release |
SDK is not yet ready : EEPROM, Sync WebServer, SD libraries are still under development or planned |
Based on current ESP32 status - the FW will need some rewrite so better to have dedicated github when time will be (soon 😉 ) |
Reopening as now most of necessary library are now available Porting already started so I will create a branch for it soon Current main issue is web server - embeded page is working but streamfile function is not |
Ok problem solved using proper library for web server : https://github.com/bbx10/WebServer_tng |
keep up the good work! I've been keeping eye on this project for long time now. |
Thank you
so very promising 😸 |
Is there possibility for arducam or some offering that's not a separate up cam too? |
Ip cam |
Well I already studied that #82 if there is some code and really cheap compatible camera I am open to give a try but when you see ip came ra like this around 20box that won't overload the esp and can be integrated in UI easily as cam address is now handled - does it really worth all the efforts ? |
baudRate PR (espressif/arduino-esp32#651) done but UART Driver may have issue, so need an update: espressif/arduino-esp32#649 |
I love everything about this project but one thing ;) it's not Async :P |
Thank you |
what are you scared of :D async does not bite :P |
Porting update:
|
you can use any pins (almost) |
hold on for a day or two ;) there is a bug in spiffs and fix is coming |
@me-no-dev thanks a lot 😸 |
Porting update:
So I will push it to devt branch this week |
I just did some bench and SPIFFS itself is not slow - it is the upload which is slower :
|
what do you mean by upload? is the flash frequency the same? SPIFFS clean? all of those can result in different speeds |
Hi @me-no-dev welcome back ^_^ no Jet lag ? |
Oh lots of jetlag... i am not sure if I am awake or sleeping :D check flash freq ;) default might be 40MHz and you can try 80 (also make sure FS is clean) |
Ok ESP32 is now part of devt branch - still need to update travis but code and readme is there now : Edit: travis is now updated and compile ESP8266 as well as ESP32 🎆 |
Here is a Speed Test I did today on ESP32 and ESP8266 without going through FS. Upload used the same 61912518 B file (same size for Download too):
Following handlers used: server.on("/upload", HTTP_GET, [](AsyncWebServerRequest *request){
request->send(200, "text/html", "<form method='POST' action='/upload' enctype='multipart/form-data'><input type='file' name='test'><input type='submit' value='Update'></form>");
});
server.on("/download", HTTP_GET, [](AsyncWebServerRequest *request){
AsyncWebServerResponse *response = request->beginResponse("text/plain", 61912518, [](uint8_t *buffer, size_t maxLen, size_t index) -> size_t {
if(!index){
Serial.printf("DownloadStart: (%lu)\n", millis());
}
memset(buffer, '0', maxLen);
if((index + maxLen) == 61912518){
Serial.printf("DownloadEnd: (%lu)\n", millis());
}
return maxLen;
});
response->addHeader("Content-Disposition", "attachment; filename=\"test.txt\"");
request->send(response);
});
|
Did a new test with my PC connected to Ethernet instead of WiFi. Here are the results ;)
|
I see what you want ^_^ - you want me to use AsyncWebServer instead of Sync one - no worry I plan to do it 😉 but better to have stable sync version to compare and move to Async your first data are interesting because they match mine (I did not tested download because it looked fine for me) :
about your second part using PC to Ethernet instead of Wifi - (this is what I used to do my tests also) :
for ESP32 ETH I do not have such device so I cannot test |
how is 15 Mbps slower than ESP8266 :D |
Arf morning sorry .... I correct |
Another difference between ESP8266 and ESP32 is format SPIFFS :
Need a yield() or something during the loop of erasing sector ? the original SPIFFS library do not have but this does not trigger ESP8266 which has a bigger SPIFFS (3M vs 1.31M) |
I'll make a few assumptions here ;)
Disable idle task WDT in menuconfig as it's done in Arduino and you will be fine. |
Hi @me-no-dev no I use arduino-esp32
|
yeah... but I have no issues formatting SPIFFS, so I am not sure where and how you are getting this if WDT is not enabled |
Formating is working fine actually - just getting output but any output is a possible issue if go to 3D printer I will try use aduino as component, check the menu config to see if it make difference - may be the sdkconfig present in sdk directory is not the real one but an old one |
Hi @me-no-dev So using make menuconfig I have disabled WDT on idle task on CPU0 ( I do not see CPU1 in UI but it is present in original sdk sdconfig) no more output during formating - so I guess setting is not used |
strange... will be done in next lib rebuild |
Do you want me to create issue in esp-arduino tracker ? |
nope ;) i need to do it anyway |
Ok Boss - thank you ^_^ |
Hi ESP3D Folks , what a great work. I must changed some code in wificonfig.cpp. I could not get a connection in STA mode to my WLAN. |
Thank you |
Today i got ready built modules with WROOM32 Chips and have the same issue with the original code. |
Ok I can reproduce your issue on one fresh module - but same code is working on other ESP32 May I ask you to confirm now your module is able to connect with your modification to revert and flash original code to see if issue is still there ? I will dig in on my fresh module |
Well even after able to connect - reverting code still have issue on fresh board but not on old one - Could be a silicon issue ? Anyway applying the move of phy mode seems solving issue and also working on old board - so all boards are able to connect now |
Ok now ESP32 is supported with today core limitation (SSDP/NetBIOS not yet available) I think it is Ok to close issue Thank you |
I have ported SSDP/NetBIOS libraries https://github.com/luc-github/ESP32SSDP https://github.com/luc-github/ESP32NETBIOS So now definitly 100% compatible - Update will be in 2.X |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
ESP32 is out need to support it
The text was updated successfully, but these errors were encountered: