izity wrote on Thursday, January 17, 2013:
Hi, I tried to run the standard demo application Cygnal (Silabs) c8051f120, but when compiling I faced a lot of errors. Unfortunately, the forum does not refer to such errors. I hope for your help
1)
_syntax error: token -> ‘void’ _
points to this line xTaskCreate( vRegisterCheck, “RegChck”, configMINIMAL_STACK_SIZE, mainDUMMY_POINTER, tskIDLE_PRIORITY, ( xTaskHandle * ) NULL );
#if configUSE_PREEMPTION == 1
{
xTaskCreate( vRegisterCheck, "RegChck", configMINIMAL_STACK_SIZE, mainDUMMY_POINTER, tskIDLE_PRIORITY, ( xTaskHandle * ) NULL );
xTaskCreate( vFLOPCheck1, "FLOP", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, ( xTaskHandle * ) NULL );
xTaskCreate( vFLOPCheck2, "FLOP", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, ( xTaskHandle * ) NULL );
}
#endif
2)
_syntax error: token -> ‘push’ _
_syntax error: token -> ‘pop’ _
_syntax error: token -> ‘pop’ _
points to this line mainLATCH_ERROR();
if( ( fResult > ( portFLOAT ) 1111.15 ) || ( fResult < ( portFLOAT ) 1111.05 ) )
{
mainLATCH_ERROR();
}