You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i use MicroPython v1.22.2 with idf5.04 i can use xTaskCreatePinnedToCore,But when i switch to MicroPythonv1.26 with idf5.41 the api doesn't work,i just can use xTaskCreate #17706
Generic ESP32S3 module with Octal-SPIRAM with ESP32S3
MicroPython version
MicroPython v1.26.0-preview.158.g5cfafb73d.dirty on 2025-07-17;
Reproduction
use this api ->xTaskCreatePinnedToCore with MicroPythonv1.26 with idf5.41
Expected behaviour
No response
Observed behaviour
/home/hu123456/esp/micropython/examples/usercmodule/BSP/ESP-WHO/esp_face_detection.cpp
/home/hu123456/esp/micropython/examples/usercmodule/BSP/ESP-WHO/esp_face_detection.cpp: In function 'void* esp_face_detection_ai_strat()':
/home/hu123456/esp/micropython/examples/usercmodule/BSP/ESP-WHO/esp_face_detection.cpp:109:5: error: 'xTaskCreatePinnedToCore' was not declared in this scope
109 | xTaskCreatePinnedToCore(camera_process_handler, "camera_process_handler", 4 * 1024, NULL, 5, &camera_task_handle, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/hu123456/esp/micropython/ports/esp32/build-ESP32_GENERIC_S3-SPIRAM_OCT/log/idf_py_stderr_output_454943 and /home/hu123456/esp/micropython/ports/esp32/build-ESP32_GENERIC_S3-SPIRAM_OCT/log/idf_py_stdout_output_454943
-e See https://github.com/micropython/micropython/wiki/Build-Troubleshooting
make: *** [Makefile:77: all] Error 1