-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
Can I use xTaskCreatePinnedToCore() with Core 0? #929
Comments
Just my configuration using xTaskCreatePinnedToCore() I tested this configuration by trial and error ;) |
@huming2207 You can create a task pinned to either core but unless you expressly know the reason for pinning, you are better off letting the task float so that Arduino and the WiFi portions can best do what they need to. I have both in my applications. |
Hi guys, thanks for your reply. I'll try it again on my implementations. |
@beegee-tokyo I sent you an email on bernd@giesecke.tk to explain the same issue I am having trying to work on a project similar to yours |
Hi all,
I've got a question about
xTaskCreatePinnedToCore()
function and I would like to ask that if I create a task on the core where Arduino framework doesn't run on. Right now in Arduino framework that core should be Core 0.I googled it around and I've found this issue: #436. It seems like that all serial related methods must be run on the "arduino running core", which is Core 1 currently.
So guys, if I put some tasks such as
ESPWebServer::handleClient()
to Core 0 with no hardware-related methods likeSerial
orWire
, will it works perfectly?Regards,
Jackson
The text was updated successfully, but these errors were encountered: