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

Task name IDLE not same as in the documentation (IDFGH-11021) #12204

Closed
3 tasks done
Botond-Colop opened this issue Sep 7, 2023 · 4 comments
Closed
3 tasks done

Task name IDLE not same as in the documentation (IDFGH-11021) #12204

Botond-Colop opened this issue Sep 7, 2023 · 4 comments
Assignees
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally

Comments

@Botond-Colop
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Hello everyone,

I found a little difference between the documentation and the actual code.

According to the IDF Programming guide, two IDLEs task with different numbers should be started.
grafik
Otherwise, the task information cannot be requested from the operating system. (as you can see on this picture with IDLE)
grafik
The task list was queried with this function: vTaskList(taskList)
As we can see, the two IDLE tasks have the same name.
I am using IDF Version 4.4.2

What is also not optimal is that a task has a space Tmr Svc in its name instead of being separated by an underscore Tmr_Scv.

Thank you in advance.

Best regards,
Botond

@Botond-Colop Botond-Colop changed the title Task name IDLE not smame as in the documentaion Task name IDLE not same as in the documentation Sep 7, 2023
@espressif-bot espressif-bot added the Status: Opened Issue is new label Sep 7, 2023
@github-actions github-actions bot changed the title Task name IDLE not same as in the documentation Task name IDLE not same as in the documentation (IDFGH-11021) Sep 7, 2023
@ESP-Marius
Copy link
Collaborator

Yeah, seems like this got changed back in a3c90bf during a freertos kernel upgrade.

We'll take a look at it!

@ammaree
Copy link

ammaree commented Sep 7, 2023 via email

@Botond-Colop
Copy link
Author

The fact that the Tmr Svc has a space in the name is only a small problem, but the two "IDLE" tasks have the same name, in my opinion it is a bug.
With the same name "IDLE" you are not able to get some separately Task info to the two tasks. You can always query information about the last started task.

@igrr
Copy link
Member

igrr commented Sep 8, 2023

FWIW there is xTaskGetIdleTaskHandleForCPU which should allow you to get each of the idle task handles.

@espressif-bot espressif-bot added Status: In Progress Work is in progress and removed Status: Opened Issue is new labels Sep 8, 2023
espressif-bot pushed a commit that referenced this issue Oct 19, 2023
…ID as a suffix

This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the names.

Closes #12204
espressif-bot pushed a commit that referenced this issue Oct 23, 2023
…ID as a suffix

This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the names.

Closes #12204
@espressif-bot espressif-bot added Status: Selected for Development Issue is selected for development Status: In Progress Work is in progress Status: Reviewing Issue is being reviewed Status: Done Issue is done internally Resolution: NA Issue resolution is unavailable and removed Status: In Progress Work is in progress Status: Selected for Development Issue is selected for development Status: Reviewing Issue is being reviewed labels Oct 27, 2023
espressif-bot pushed a commit that referenced this issue Nov 7, 2023
…coreID as a suffix

This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the task names.

Closes #12204
igrr pushed a commit that referenced this issue Nov 16, 2023
…ID as a suffix

This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the names.

Closes #12204
espressif-bot pushed a commit that referenced this issue Dec 1, 2023
…coreID as a suffix

This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the task names.

Closes #12204
movsb pushed a commit to movsb/esp-idf that referenced this issue Dec 1, 2023
…ID as a suffix

This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the names.

Closes espressif#12204
movsb pushed a commit to movsb/esp-idf that referenced this issue Dec 1, 2023
…coreID as a suffix

This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the task names.

Closes espressif#12204
hathach pushed a commit to adafruit/esp-idf that referenced this issue Mar 27, 2024
…ID as a suffix

This commit updates the IDLE task names for each core by concatenating
the respective coreIDs to the names.

Closes espressif#12204
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

6 participants