I trying out the FreeRTOS port on my http://www.ti.com/tool/launchxl2-rm57l board and I've run into a strange issue. I have two tasks (one toggles the led, the other writes to the serial port). Either task will run if it is the only task but if I create both they will only run once and never return from the call to vTaskDelay.
void writeToSci(void * pvParameters)
{
while (1)
{
sciDisplayText(sciREGx, txtCRLF, sizeof(txtCRLF));
sciDisplayText(sciREGx, txtTitle, sizeof(txtTitle));
sciDisplayText(sciREGx, txtCRLF, sizeof(txtCRLF));
vTaskDelay(500);
}
}
void flashLed(void * pvParameters)
{
while (1)
{
gioToggleBit(gioPORTB, 6);
vTaskDelay(500);
}
}
It must but something I've configured incorrectly or maybe a licensing issue?