Change version number in common files within the FreeRTOS-plus directory and check all demos still execute.

This commit is contained in:
Richard Barry 2013-04-18 10:08:04 +00:00
parent 64a3ab321a
commit c60973c34a
23 changed files with 538 additions and 482 deletions

View file

@ -206,8 +206,10 @@ uint32_t ulInterruptCause;
}
}
/* Shortcut calling portEND_SWITCHING_ISR(). */
vPortYieldFromISR();
/* ulInterruptCause is used for convenience here. A context switch is
wanted, but coding portEND_SWITCHING_ISR( 1 ) would likely result in a
compiler warning. */
portEND_SWITCHING_ISR( ulInterruptCause );
}
/*-----------------------------------------------------------*/

View file

@ -207,10 +207,10 @@ uint32_t ulInterruptCause;
xSemaphoreGiveFromISR( xEMACRxEventSemaphore, NULL );
}
/* Shortcut to calling portEND_SWITCHING_ISR(). Only do this if you
understand what you are doing! Otherwise use portEND_SWITCHING_ISR()
directly. */
vPortYieldFromISR();
/* ulInterruptCause is used for convenience here. A context switch is
wanted, but coding portEND_SWITCHING_ISR( 1 ) would likely result in a
compiler warning. */
portEND_SWITCHING_ISR( ulInterruptCause );
}
/*-----------------------------------------------------------*/

View file

@ -127,35 +127,4 @@ extern void vEMACCopyWrite( uint8_t * pucBuffer, uint16_t usLength );
}
/*-----------------------------------------------------------*/
#if 0
void ENET_IRQHandler( void )
{
uint32_t ulInterruptCause;
while( ( ulInterruptCause = LPC_EMAC->IntStatus ) != 0 )
{
/* Clear the interrupt. */
LPC_EMAC->IntClear = ulInterruptCause;
/* Clear fatal error conditions. NOTE: The driver does not clear all
errors, only those actually experienced. For future reference, range
errors are not actually errors so can be ignored. */
if( ( ulInterruptCause & EMAC_INT_TX_UNDERRUN ) != 0U )
{
LPC_EMAC->Command |= EMAC_CR_TX_RES;
}
/* Unblock the deferred interrupt handler task if the event was an
Rx. */
if( ( ulInterruptCause & EMAC_INT_RX_DONE ) != 0UL )
{
xSemaphoreGiveFromISR( xEMACRxEventSemaphore, NULL );
}
}
/* Shortcut calling portEND_SWITCHING_ISR(). */
vPortYieldFromISR();
}
/*-----------------------------------------------------------*/
#endif