From: richardbarry Date: Wed, 3 Dec 2008 15:01:52 +0000 (+0000) Subject: Update to the latest compiler version. X-Git-Tag: V5.1.2~103 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9eb744fb06d3eeac384a8591351e253a1e2bc65d;p=freertos Update to the latest compiler version. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@593 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/AVR_ATMega323_IAR/serial/serial.c b/Demo/AVR_ATMega323_IAR/serial/serial.c index c741ee3ed..8e47c17a4 100644 --- a/Demo/AVR_ATMega323_IAR/serial/serial.c +++ b/Demo/AVR_ATMega323_IAR/serial/serial.c @@ -19,7 +19,7 @@ A special exception to the GPL can be applied should you wish to distribute a combined work that includes FreeRTOS.org, without being obliged to provide - the source code for any proprietary components. See the licensing section + the source code for any proprietary components. See the licensing section of http://www.FreeRTOS.org for full details of how and when the exception can be applied. @@ -37,13 +37,13 @@ Please ensure to read the configuration and relevant port sections of the online documentation. - http://www.FreeRTOS.org - Documentation, latest information, license and + http://www.FreeRTOS.org - Documentation, latest information, license and contact details. - http://www.SafeRTOS.com - A version that is certified for use in safety + http://www.SafeRTOS.com - A version that is certified for use in safety critical systems. - http://www.OpenRTOS.com - Commercial support, development, porting, + http://www.OpenRTOS.com - Commercial support, development, porting, licensing and training services. */ @@ -69,8 +69,8 @@ #define serUCSRC_SELECT ( ( unsigned portCHAR ) 0x80 ) #define serEIGHT_DATA_BITS ( ( unsigned portCHAR ) 0x06 ) -static xQueueHandle xRxedChars; -static xQueueHandle xCharsForTx; +static xQueueHandle xRxedChars; +static xQueueHandle xCharsForTx; #define vInterruptOn() \ { \ @@ -180,15 +180,14 @@ unsigned portCHAR ucByte; __interrupt void SIG_UART_RECV( void ) { -signed portCHAR cChar; -portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; +signed portCHAR ucChar, xHigherPriorityTaskWoken = pdFALSE; /* Get the character and post it on the queue of Rxed characters. If the post causes a task to wake force a context switch as the woken task may have a higher priority than the task we have interrupted. */ - cChar = UDR; + ucChar = UDR; - xQueueSendFromISR( xRxedChars, &cChar, &xHigherPriorityTaskWoken ); + xQueueSendFromISR( xRxedChars, &ucChar, &xHigherPriorityTaskWoken ); if( xHigherPriorityTaskWoken != pdFALSE ) { diff --git a/Demo/AVR_ATMega323_IAR/settings/rtosdemo.wsdt b/Demo/AVR_ATMega323_IAR/settings/rtosdemo.wsdt index 9f6c956df..f4f1d0f59 100644 --- a/Demo/AVR_ATMega323_IAR/settings/rtosdemo.wsdt +++ b/Demo/AVR_ATMega323_IAR/settings/rtosdemo.wsdt @@ -12,7 +12,7 @@ - 246272727 + 310272727 20115330776 @@ -35,14 +35,14 @@ - TextEditorC:\E\Dev\FreeRTOS\Demo\AVR_ATMega323_IAR\regtest.c0190661966190TextEditorC:\E\Dev\FreeRTOS\Demo\AVR_ATMega323_IAR\main.c012355005500TextEditorC:\E\Dev\FreeRTOS\Demo\Common\Minimal\crflash.c0170680768070100000010000001 + TextEditorC:\E\Dev\FreeRTOS\WorkingCopy3\Demo\AVR_ATMega323_IAR\serial\serial.c0174638663860TextEditorC:\E\Dev\FreeRTOS\WorkingCopy3\Source\include\queue.h459753370333727TextEditorC:\E\Dev\FreeRTOS\WorkingCopy3\Source\queue.c081428555285550100000010000001 - iaridepm1-2-2619320-2-2162161115714165638230000638889-2-23071402-2-214043091002857317901116429166667 + iaridepm.enu1-2-2628384-2-2194163115476165988229762641548-2-23101682-2-216843121002381317719116667167006