Search found 5 matches
- Thu Jun 10, 2021 1:50 am
- Forum: ESP-IDF
- Topic: fail to install esp-idf env
- Replies: 0
- Views: 1728
fail to install esp-idf env
hi guys, I installed esp-idf development env. But the esp32-elf can't be identified. F:\03_code\esp-idf>install.bat Installing ESP-IDF tools Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, esp32ulp-elf, esp32s2ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache, dfu-util Installing xtensa-...
- Thu Jun 03, 2021 2:11 am
- Forum: ESP-IDF 中文讨论版
- Topic: 这个接口不存在了?xTaskGetHandle
- Replies: 3
- Views: 4004
Re: 这个接口不存在了?xTaskGetHandle
刚刚在代码里面找了下,没有找到这个宏和接口。我是ESP-IDF 4.2版本ESP_Gargamel wrote: ↑Thu Jun 03, 2021 1:19 amhttps://www.esp32.com/viewtopic.php?f=2 ... dle#p76437
你看下这个帖子,默认 INCLUDE_xTaskGetHandle == 0,xTaskGetHandle 没有被开放出来。
- Thu Jun 03, 2021 12:48 am
- Forum: ESP-IDF
- Topic: How to get the task handle by name?
- Replies: 2
- Views: 4618
Re: How to get the task handle by name?
https://www.freertos.org/a00021.html#xTaskGetHandle NOTE: This function takes a relatively long time to complete and should only be called once for each task. Once the handle of a task has been obtained it can be stored locally for re-use. INCLUDE_xTaskGetHandle must be set to 1 in FreeRTOSConfig.h...
- Wed Jun 02, 2021 9:33 am
- Forum: ESP-IDF
- Topic: How to get the task handle by name?
- Replies: 2
- Views: 4618
How to get the task handle by name?
I can't find xTaskGetHandle in ESP-IDF.
Is there any other API to implement the same function?
thx.
Is there any other API to implement the same function?
thx.
- Wed Jun 02, 2021 9:09 am
- Forum: ESP-IDF 中文讨论版
- Topic: 这个接口不存在了?xTaskGetHandle
- Replies: 3
- Views: 4004
这个接口不存在了?xTaskGetHandle
在ESP-IDF编程指南中可以找到此函数定义: TaskHandle_txTaskGetHandle(const char *pcNameToQuery) Note This function takes a relatively long time to complete and should be used sparingly. Return The handle of the task that has the human readable name pcNameToQuery. NULL is returned if no matching name is found. INCLUDE...