I have retargeted the LPC2106 GCC demo for my LPC2138 MCU based on the Rowley 2138 demo.
Everything seems to work fine except for vTaskDelay and vTaskDelayUntil. It seems that whenever I call any of these it just stucks there forever. I have not disabled the interrupts. Unfortunately I don’t have access to a debugger, so I am only relying on LEDs for now. I enable a LED then call vTaskDelay or vTaskDelayUntil, then it will never reach the code part to disable the LED. Do you have any idea what can cause such behavior?
By the way if I replace vTaskDelay with an own crappy delay function (like counting to 0xFFFFF) the code works as expected.