vInitMenuTask();
safePrintf("FreeRTOS initialization complete.\n");
vTaskStartScheduler();
/* vTaskStartScheduler should not return, but if it does, enter an infinite loop: */
for (;;) {
}
}
Hi, I have a strange problem with a MKV59F24F24C. I am running he latest edition of FreeRTOS and trying to create a very simple task. The debugger gets stuck at configASSERT(( pxQueue )); in queue.c. My code is shown above.
Any insights from anyone please?
H
This is configASSERT(x) definition in FreeRTOSConfig.h
/* Define to trap errors during development. */
#define configASSERT(x) if(( x) == 0) {taskDISABLE_INTERRUPTS(); for (;;);}
It means that when the x is zero, it is a wrong case, the core will trap error.
But I think this is a wrong calling configASSERT(((uintptr_t)pvParameters) == 1);, you should call it as
configASSERT(pvParameters);
Pls have a check.
But I do not see the configASSERT(((uintptr_t)pvParameters) == 1); in queue.c,
can you post a screen shot for the configASSERT(((uintptr_t)pvParameters) == 1);?
Hope it can help you
BR
XiangJun Rong