espressif / esp-skainet

Espressif intelligent voice assistant
Other
589 stars 134 forks source link

Running Detect and Feed Task on the same core (AIS-1059) #79

Closed babadue closed 1 year ago

babadue commented 1 year ago

Can you set these two tasks to run on the same core? I have tried either both are on core 0 or core 1, but to no avail.

xTaskCreatePinnedToCore(&feed_Task, "feed", 8 1024, (void)afe_data, 5, NULL, 0); xTaskCreatePinnedToCore(&detect_Task, "detect", 8 1024, (void)afe_data, 5, NULL, 1);