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

Why xTaskCreate() is used? #51

Open
EmuAi opened this issue May 3, 2023 · 1 comment
Open

Why xTaskCreate() is used? #51

EmuAi opened this issue May 3, 2023 · 1 comment

Comments

@EmuAi
Copy link

EmuAi commented May 3, 2023

Hi.
I have slightly understood the purposes of task processing of Arduino.
I wonder ESP32-BLE-Mouse works well without xTaskCreate().
Does skipping(bypassing) this xTaskCreate() invites some troubles?
I believe that skipping may invite some delaying.
However ESP32-BLE-Keyboard does not use xTaskCreate(), doesn't it?

@KentuLiveAccount
Copy link

KentuLiveAccount commented Jul 15, 2023

I have the same question. Based on FreeRTOS doc, sigle core ESP32 like C3 may suffer stability issue using task/threading functionarity? Also the way it is used is to offload the initalization, which might be a nice thing if worked, but not an essential improvement?

https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-reference/system/freertos_idf.html#freertos-smp-single-core

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