mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Update to V4.3.0 as described in http://www.FreeRTOS.org/History.txt
This commit is contained in:
parent
45410fcd3a
commit
67d0d1ec3b
38 changed files with 1173 additions and 756 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
FreeRTOS.org V4.2.1 - Copyright (C) 2003-2007 Richard Barry.
|
||||
FreeRTOS.org V4.3.0 - Copyright (C) 2003-2007 Richard Barry.
|
||||
|
||||
This file is part of the FreeRTOS.org distribution.
|
||||
|
||||
|
@ -116,8 +116,8 @@ portCHAR cChar;
|
|||
|
||||
IFS1bits.U2RXIF = serCLEAR_FLAG;
|
||||
IFS1bits.U2TXIF = serCLEAR_FLAG;
|
||||
IPC7bits.U2RXIP = portKERNEL_INTERRUPT_PRIORITY;
|
||||
IPC7bits.U2TXIP = portKERNEL_INTERRUPT_PRIORITY;
|
||||
IPC7bits.U2RXIP = configKERNEL_INTERRUPT_PRIORITY;
|
||||
IPC7bits.U2TXIP = configKERNEL_INTERRUPT_PRIORITY;
|
||||
IEC1bits.U2TXIE = serINTERRUPT_ENABLE;
|
||||
IEC1bits.U2RXIE = serINTERRUPT_ENABLE;
|
||||
|
||||
|
@ -179,10 +179,7 @@ void vSerialClose( xComPortHandle xPort )
|
|||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
volatile short s = 0;
|
||||
char c[80] = {0};
|
||||
|
||||
void __attribute__((__interrupt__)) _U2RXInterrupt( void )
|
||||
void __attribute__((__interrupt__, auto_psv)) _U2RXInterrupt( void )
|
||||
{
|
||||
portCHAR cChar;
|
||||
portBASE_TYPE xYieldRequired = pdFALSE;
|
||||
|
@ -204,7 +201,7 @@ portBASE_TYPE xYieldRequired = pdFALSE;
|
|||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
void __attribute__((__interrupt__)) _U2TXInterrupt( void )
|
||||
void __attribute__((__interrupt__, auto_psv)) _U2TXInterrupt( void )
|
||||
{
|
||||
signed portCHAR cChar;
|
||||
portBASE_TYPE xTaskWoken = pdFALSE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue