iotkit-embedded
iotkit-embedded copied to clipboard
src/dev_model/examples/linkkit_example_gateway.c问题
src/dev_model/examples/linkkit_example_gateway.c中第455行:
res = HAL_ThreadCreate(&user_example_ctx->g_user_dispatch_thread, user_dispatch_yield, NULL, NULL, NULL);
对应wrappers/os/freertos/HAL_OS_Freertos.c中“HAL_ThreadCreate”函数第306~308行,
if (hal_os_thread_param == NULL) { return -1; }
实例运行串口也确实打印了“...HAL_ThreadCreate Failed,...”,即定位到“src/dev_model/examples/linkkit_example_gateway.c”457行:
EXAMPLE_TRACE("HAL_ThreadCreate Failed\n");
。
请问是否有冲突?