Hi Manfred,
I am now working on threads.
I created another task(RFID_task) with the GUI_task(GuiThread). but both can not run simultaneously.
If i just print debug line(comment all other things in GUI_task) in GUI_task then both can run simultaneously. but if i use to uncomment the code in GUI_task then it stuck and didn't display GUI. i atteched my main function please refer.
Is any setting to do if i have to run another task with GUI_task?
Hope you can help. Have a nice day.
Thanks,
Chand Bhadaniya
int main(void)
{
BOARD_Initialization(); /* Board Hardware Initialization */
BOARD_PeripheralInit(); /* LCD hardware Initialization */
if (xTaskCreate(RFID_Task, "RFID_Task", RFID_Task_STACKSIZE, NULL, 1, NULL) != pdPASS)
{
PRINTF("RFID Task creation failed!.\r\n");
while (1)
;
}
if (xTaskCreate(GUI_Task, "GUI_Task", GUI_Task_STACKSIZE, NULL, 1, NULL) != pdPASS)
{
PRINTF("GUI Task creation failed!.\r\n");
while (1)
;
}
vTaskStartScheduler();
for (;;)
;
}