Update flop.c and FreeRTOS.h to include a macro (and a default null implementation of the macro) that enables the flop tasks to register their need for a floating point context with the kernel.

This commit is contained in:
Richard Barry
2013-05-09 09:52:34 +00:00
parent b4efc0439f
commit e08966c7e8
2 changed files with 24 additions and 0 deletions

View File

@ -568,6 +568,10 @@ typedef portBASE_TYPE (*pdTASK_HOOK_CODE)( void * );
#define configUSE_QUEUE_SETS 0
#endif
#ifndef portTASK_USES_FLOATING_POINT
#define portTASK_USES_FLOATING_POINT()
#endif
/* For backward compatability. */
#define eTaskStateGet eTaskGetState