Remove the two separate ports, instead use two demo apps that use a conditional compilation to select the method of interrupt management to use.

This commit is contained in:
Richard Barry 2008-10-23 19:14:45 +00:00
parent eee1043e33
commit a91c6302e7
9 changed files with 9 additions and 1022 deletions

View file

@ -138,11 +138,12 @@ extern void vPortYield( void );
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters ) __toplevel
#if configINTERRUPT_EXAMPLE_METHOD == 2
/* Just used by the demo application to indicate which form of interrupt
service routine should be used. See the online port documentation for more
information. */
#define MSP_ROWLEY_RB_PORT
extern void vTaskSwitchContext( void );
#define portYIELD_FROM_ISR( x ) if( x ) vTaskSwitchContext()
#endif
#endif /* PORTMACRO_H */