-
Notifications
You must be signed in to change notification settings - Fork 43
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
Build fails with error in uart_serial.c #109
Comments
I am able to build with 4.3.6 - or am I? |
I just installed a new version, 4.4.7 (latest stable 4, I guess). Now the serial part does compile, but I get another error. I had no time to dig deeper, I will have a closer look later.
I did not remove my 4.3 version, I don't know if it creates any of such conflicts. |
According to espressif/esp-idf#13113 (comment) this is a coexistance problem with wifi and bluetooth. The situation is:
I will investigate further. |
I forgot to mention the sdkconfig file, replace it with sdkconfig.4.4 - does that help? |
I didn't find any sdkconfig.4.4, so I just renamed the old one, a new one has been generated then, now I get another error,
So I guess I will try to remove all instances of the espressif sdks, install 4.4.7 again and will try again. I don't think jumping from one error to the next will help and will just take your time :-) |
I tried a clean installation within an Ubuntu 22.04 "VM" (WSL2) (before I was using Windows). I can compile the project successfully if I only change the board to MKS DLC32, but when I start changing options, the same effects appear: if only Bluetooth OR Wifi is enabled, it fails with the coexistence error, if I enable both, it compiles, but I get the "grbl.bin is to large for app partition" error. I will continue :-) Edit: this is what I did in Ubuntu:
|
Ok, made some progress. I just renamed sdkconfig.esp32doit-devkit-v1 to sdkconfig and now I can compile. Maybe that's what you meant before. |
Not really, I see now that the sdkconfig.4.4 file has not been commited. Don't know if it helps, here is a copy: partitions.csv has to be changed (increase factory area) to accomodate larger code, I have not done this yet since it will move the settings area causing existing values to be lost. And odd that you have to compile with both WiFi and Bluetooth since having both enabled is, AFAIK, causing issues. |
Ah, ok, that's the reason then. I just tried your 4.4 and it does not work (coexistence error). So I continue to use the esp32doit..-file. Could I get any problems later when using this one?
That would be no problem since I could do a complete erease before.
Using the esp32doit..-file it is no problem, I only enabled WiFi and it works. Using your 4.4-file the error is there again. |
Another small update: the esp32diot-file does compile, but it does not boot after flashing. I then used your 4.4 file and this works, but only without wifi/bt. I can enable wifi AND bt without errors, but if I include webui, it does not fit into the available space anymore. Disabling wifi/bt compiles and boots fine. Will test with an actual laser now. So it would be great to have a new partition scheme which gives more space for the app. |
Next update :-) I took your sdkconfig and only changed one thing, disabled the SW coexistence setting: Now I can compile the stack with Wi-Fi only and even everything seems to fit into the space, I activated Wi-Fi, WebUI 3, sd card and more, and it is working. I will do further testing. I attached my sdkconfig as well. |
I just cloned the project and tried to compile it using ESP IDF 4.3.1 (is that still the correct version?). I get the following error (the same if I try via Visual Studio Code or IDF command line:
Did I miss something? I changed my machine config to MKS DLC32 board, but no other relevant changes, I think.
The text was updated successfully, but these errors were encountered: