Creating a FreeRTOS Static Library

rtel wrote on Friday, July 08, 2016:

In the IAR port both vPortEnableVFP() and vPortStartFirstTask() are
called from a C file (port.c), but implemented in an asm file
(portasm.s). Their prototypes are in the C file, not in a header file,
so I’m guessing you need to add extern “C” around their prototypes too.
Currently the prototypes appear in the C file as:

/*
  * Start first task is a separate function so it can be tested in 
isolation.
  */
extern void vPortStartFirstTask( void );

/*
  * Turn the VFP on.
  */
extern void vPortEnableVFP( void );