Skip to content

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

@hulife

Description

@hulife

Port, board and/or hardware

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

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy