how do I locate source for tasks.c

don_867-5309
Posts: 1
Joined: Sat Jul 12, 2025 6:34 pm

how do I locate source for tasks.c

Postby don_867-5309 » Sat Jul 12, 2025 6:48 pm

my backtrace.

xTaskCreateStaticPinnedToCore at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/tasks.c:682 (discriminator 1)
spawnTaskAndDogV2(void (*)(void*), char const*, unsigned int, void*, unsigned int) at /home/dwade/my-M5Core-dev/RedLight.GreenLight/SquidGames/watchdogs.cpp:420
setup() at /home/dwade/my-M5Core-dev/RedLight.GreenLight/SquidGames/SquidGames.ino:146

where do I find the source for tasks.c? /home/runner is not me.

I've searched my hard drive for tasks.c, none have anything meaningful at line 682

not interested in watchdog tutorials or others debugging my code or try moving to a better revision.

simply put where do designers with 35 years embedded experience go to find the source file, I can take it from there.

Arduino version 2.x,
esp32 by espressif v 2.0.17

Sprite
Espressif staff
Espressif staff
Posts: 10599
Joined: Thu Nov 26, 2015 4:08 am

Re: how do I locate source for tasks.c

Postby Sprite » Mon Jul 14, 2025 3:24 am

That is part of ESP-IDF, and Arduino includes that as a precompiled binary. The file for the most current version of ESP-IDF is here, but you may need to select a different version to match the one that comes with the Arduino component.

Who is online

Users browsing this forum: Perplexity-User and 4 guests