Closed
Description
Hardware:
Board: ESP32 Dev Module
Core Installation version: 1.0.4
IDE name: Arduino IDE and Platform.io
Flash Frequency: 80Mhz
PSRAM enabled: yes
Upload Speed: 115200
Computer OS: Windows 10
Description:
I think all API supported by SDK can be used in Arduino core.
I found xTaskGetHandle API is described here but I cannot used it in Arduino IDE and in PlatformIO IDE (in VSCode).
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/freertos.html
#include "Arduino.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"
void setup() {
// put your setup code here, to run once:
TaskHandle_t task_handle_from_name = xTaskGetHandle(key_ptr);
}
void loop() {
// put your main code here, to run repeatedly:
}
Debug Messages:
undefined reference to `xTaskGetHandle'
Metadata
Metadata
Assignees
Type
Projects
Status
Done