anonymous wrote on Friday, October 12, 2012:
kindly i need your help running my 1st FreeRTOS program, i used the rtosdemo1 in PIC18_MPLAB demo folder.
i just created my own task to toggle a LED on/off.
after the scheduler starts, the debugger stuck at portRESTORE_CONTEXT(); in void vPortYield( void ) i don’t know what is the reason.
there is no error in compilation.
while in the same function “void vPortYield( void )”, i gets the warning or error about “portSAVE_CONTEXT( portINTERRUPTS_UNCHANGED );”
the message says “unexpected token: _asm”
here is my configuration:
1- MPLAB X IDE v1.41
2- PICC18 Compiler v 3.43
3- FreeRTOS v7.1.0