Skip to content
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

Request for 1.0.5-rc6 http_config core_id #4762

Closed
jameszah opened this issue Feb 1, 2021 · 2 comments
Closed

Request for 1.0.5-rc6 http_config core_id #4762

jameszah opened this issue Feb 1, 2021 · 2 comments

Comments

@jameszah
Copy link

jameszah commented Feb 1, 2021

The struct http_config in the esp-idf has a member core_id to assign which esp32 core an http server task will run on, but that has not been included in the arduino framework version 1.0.5-rc6.

I'm trying to keep wiifi and wifi service away from core 1 where the fast code is running. My workaround was to launch a new task on core 0, to handle that http server work, but for small requests that seems like extra processing.

Wondering if that could be added? 😄

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/protocols/esp_http_server.html#_CPPv412httpd_config

https://github.com/espressif/esp-idf/blob/6e77694/components/esp_https_server/include/esp_https_server.h

https://github.com/espressif/arduino-esp32/blob/master/tools/sdk/include/esp_https_server/esp_https_server.h

@lbernstone
Copy link
Contributor

lbernstone commented Feb 1, 2021

You would need to get that backported into esp-idf v3.3, which 1.0.5 is based upon. It is available in the experimental branch.

@jameszah
Copy link
Author

jameszah commented Feb 2, 2021

ok, so I assume the esp-idf v4.2 arduino version will eventually arrive as a successor to 1.05, so it will arrive at some point.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants