This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem in creating more than 6 task in freertos

Other Parts Discussed in Thread: TM4C129ENCPDT

Hi all,

   I am using tm4c129encpdt controller. I have copied freeRTOS demo code from TIVA 2.1. I have created 6 empty task they are running fine,but when i create 7th task controller gets hanged.

   Please tell me how to create more than 6 task in free rtos.

  • Hello Sagar,

    I don't know how we can help with the information provided.

    The "freertos_demo" in the folder "/examples/boards/dk-tm4c129x/freertos_demo", can create more than 32 tasks. These tasks can be created and destroyed based on user input. I understand that you might not have the exact board to run this application. But you can refer the code to understand how to create tasks.

    Thanks,
    Sai
  • Hello Sai,

         Thank you for your suggestion. I will check my code. I am running usb keyboard sensing in task so may be it is taking more memory in stack.