-
Notifications
You must be signed in to change notification settings - Fork 115
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
ESP32S3 cannot compile in any way due to conflicts #149
Comments
Ditto. I am using Arduino IDE 2.2 |
Same here, using platformIO in VSCode. I'm looking back in the code to confirm, but I think that ELEGANTOTA_USE_ASYNC_WEBSERVER should be set to 1 and that isn't happening. |
Arduino IDE 2.2.1 Error Messages: exit status 1 Compilation error: exit status 1 |
@JMWilton, I believe the FS_end and FS_start issue may be something different. Try #143 (comment) |
@markeby try the instructions here, https://docs.elegantota.pro/async-mode/ This should solve your issue. |
@markeby Did you get it working? |
Following the async docs and using the example code does not compile. Using the latest PlatformIO, building produces a ton of In file included from .pio/libdeps/nodemcu-32s/AsyncTCP/src/AsyncTCP.h:29,
from src/main.cpp:29:
/Users/SomeUser/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/freertos/include/freertos/semphr.h:31:6: error: #error "include FreeRTOS.h" must appear in source files before "include semphr.h"
#error "include FreeRTOS.h" must appear in source files before "include semphr.h" I resolved the various lib_deps =
ayushsharma82/ElegantOTA@^3.1.0
https://github.com/me-no-dev/ESPAsyncWebServer.git
; https://github.com/me-no-dev/AsyncTCP.git
build_flags=-DELEGANTOTA_USE_ASYNC_WEBSERVER=1 I also tried going into my |
FYI here is what I am using on a big project using ElegantOTA, ESH-DASH and which works on ESP32, ESP32S, ESP32S2, ESP32S3, with and without ethernet:
( ref ) |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Hello |
Bump |
Async Demo will not compile. There is no way I could find to eliminate the conflicts. I changed the order of include files many different ways. This will not build!
C:\Users\markeby\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14/tools/sdk/esp32s3/include/nghttp/port/include/http_parser.h:95:6: error: 'HTTP_DELETE' conflicts with a previous declaration
XX(0, DELETE, DELETE)
^
C:\Users\markeby\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14/tools/sdk/esp32s3/include/nghttp/port/include/http_parser.h:138:45: note: in definition of macro 'XX'
#define XX(num, name, string) HTTP_##name = num,
^~~
C:\Users\markeby\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14/tools/sdk/esp32s3/include/nghttp/port/include/http_parser.h:139:3: note: in expansion of macro 'HTTP_METHOD_MAP'
HTTP_METHOD_MAP(XX)
^~~~~~~~~~~~~~~
In file included from B:\Arduino Music\Synth32\Disp32\WebOTA.cpp:10:
C:\Users\markeby\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:64:3: note: previous declaration 'WebRequestMethod HTTP_DELETE'
HTTP_DELETE = 0b00000100,
The text was updated successfully, but these errors were encountered: