I have the MPU enabled (LPC1788), and just added timer.c and followed the instructions as to how to enable timers.
Unfortunately, as the scheduler tries to start the first stack, I get an immediate “unstacking error” from the MPU.
Any thoughts…?
You beet me to it! I was just about to say when I read your post (that crossed with mine) that you need to set that in your definition of configTIMER_TASK_PRIORITY. The suggested change made in my previous post should be made too.
I think I will change the core code so the ORing with portPRIVILEGE_BIT is done by the kernel too - just like it is for the idle task.