]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_STM32F103_GCC_Rowley/Drivers/STM32_USART.c
Update version number to V8.0.0 (without the release candidate number).
[freertos] / FreeRTOS / Demo / CORTEX_STM32F103_GCC_Rowley / Drivers / STM32_USART.c
index b841c61fd9b481f746c57ce0a8c96369a04783fa..2ea0e7032aafbc21b75e1f42f586760626df717e 100644 (file)
@@ -1,5 +1,6 @@
 /*\r
-    FreeRTOS V7.5.1 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+    FreeRTOS V8.0.0 - Copyright (C) 2014 Real Time Engineers Ltd. \r
+    All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
 \r
@@ -102,7 +103,7 @@ contained in such a queue. */
 there to be space to post each character to the queue of characters waiting\r
 transmission.  NOTE!  This is the time to wait per character - not the time to\r
 wait for the entire string. */\r
-#define serPUT_STRING_CHAR_DELAY               ( 5 / portTICK_RATE_MS )\r
+#define serPUT_STRING_CHAR_DELAY               ( 5 / portTICK_PERIOD_MS )\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
@@ -110,10 +111,10 @@ wait for the entire string. */
 static USART_TypeDef * const xUARTS[ serNUM_COM_PORTS ] = { ( ( USART_TypeDef * ) USART1_BASE ), ( ( USART_TypeDef * ) USART2_BASE ) };\r
 \r
 /* Queues used to hold characters waiting to be transmitted - one queue per port. */\r
-static xQueueHandle xCharsForTx[ serNUM_COM_PORTS ] = { 0 };\r
+static QueueHandle_t xCharsForTx[ serNUM_COM_PORTS ] = { 0 };\r
 \r
 /* Queues holding received characters - one queue per port. */\r
-static xQueueHandle xRxedChars[ serNUM_COM_PORTS ] = { 0 };\r
+static QueueHandle_t xRxedChars[ serNUM_COM_PORTS ] = { 0 };\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
@@ -228,7 +229,7 @@ GPIO_InitTypeDef GPIO_InitStructure;
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-signed long xSerialGetChar( long lPort, signed char *pcRxedChar, portTickType xBlockTime )\r
+signed long xSerialGetChar( long lPort, signed char *pcRxedChar, TickType_t xBlockTime )\r
 {\r
 long lReturn = pdFAIL;\r
 \r
@@ -278,7 +279,7 @@ unsigned long ul;
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-signed long xSerialPutChar( long lPort, signed char cOutChar, portTickType xBlockTime )\r
+signed long xSerialPutChar( long lPort, signed char cOutChar, TickType_t xBlockTime )\r
 {\r
 long lReturn;\r
 \r