kerms / wireless-esp32-tools

CMSIS-DAP compatible wireless tools for various ESP chips. etc. 适配多种ESP芯片的无线工具
Apache License 2.0
19 stars 5 forks source link

[BUG] USBIP功能不能使用 #1

Closed liuyu80 closed 4 months ago

liuyu80 commented 4 months ago

chip used esp32/esp32s3/esp32c3…

To Reproduce

  1. DAP_Thread()任务里使用ulTaskNotifyTake(pdFALSE, portMAX_DELAY) 一直等待任务通知触发;
  2. commit中, 删除了DAP_Thread()任务的任务句柄和任务通知.

Expected behavior 恢复任务通知, usbip功能应该可以正常使用😀

kerms commented 4 months ago

感谢您的反馈,我当初查kDAPTaskHandle只有Give就误以为没有用,实际上它对应的是DAP_handle.c::DAP_Thread::ulTaskNotifyTake(pdFALSE, portMAX_DELAY),我的锅。

commit: 3a5968f0fa54cf18b86bb1ebf667d2158ba3ba8c