There are there types of not working typos:
1.When I do this: ,I get nothing, multitasking initializes but no task switching.
Code: Select all
InitializeMultitasking();
while(1)
{
IdleTask();
}
Code: Select all
while(1)
{
Preempt();
//IdleTask();
}
I have no idea what is going on in here (I understand the concept behind it), I can seem to fix it.
I followed this wiki tutorial. I also noticed that create task method does nothing aka does not insert just created task into the loop so I added
Code: Select all
currentTask->next = task;