check this out embblogee.blogspot.com/.../porting-freertos-to-olimex-lp2378stk.html hope it helps you