Why am I in ble_ app_ hrs_ FreeRTOS add their own tasks?
Why am I in ble_ app_ hrs_ FreeRTOS add their own tasks?
at SDK16 or sdk17,all not add my task
Hi,
I do not understand your question. What do you want to know regarding the task in FreeRTOS hrs example? why do we add a task or how do we add a new task?
#if NRF_LOG_ENABLED
// Start execution.
if (pdPASS != xTaskCreate(logger_thread, "LOGGER", 256, NULL, 1, &m_logger_thread))
{
APP_ERROR_HANDLER(NRF_ERROR_NO_MEM);
}
#endif
here ,look,this is example. but,add myself task ,compile is ok ,download is wrong.
like upper ,add myself task,thinks
#if NRF_LOG_ENABLED
// Start execution.
if (pdPASS != xTaskCreate(logger_thread, "LOGGER", 256, NULL, 1, &m_logger_thread))
{
APP_ERROR_HANDLER(NRF_ERROR_NO_MEM);
}
#endif
here ,look,this is example. but,add myself task ,compile is ok ,download is wrong.
like upper ,add myself task,thinks