I'm trying a short example to learn about tasks. But the System_printf() doesn't print.
This doesn't work:
void main()
{
System_printf("hello world\n");
BIOS_start();
}
void gpio_led_task_func(UArg arg0, UArg arg1)
{
System_printf("gpio_led_task_func Entering\n");
System_printf("gpio_led_task_func Exiting\n");
}
This works:
void main()
{
System_printf("hello world\n");
BIOS_start();
}
void gpio_led_task_func(UArg arg0, UArg arg1)
{
System_printf("gpio_led_task_func Entering\n");
System_printf("gpio_led_task_func Exiting\n");
BIOS_exit(0);
}
It prints all text when executing BIOS_exit().
What am I doing wrong?