]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_MPU_LM3Sxxxx_Rowley/main.c
Change 'signed char *pcTaskName) to 'char *pcTaskName' in vApplicationStackOverflowHo...
[freertos] / FreeRTOS / Demo / CORTEX_MPU_LM3Sxxxx_Rowley / main.c
index 3e3720fb5ec3e1cbfc0daa8447925723fcbe9e0d..ab10c235e5091f5ad52944c94db9436abba77d32 100644 (file)
@@ -1,5 +1,6 @@
 /*\r
-    FreeRTOS V7.5.1 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+    FreeRTOS V7.6.0 - Copyright (C) 2013 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
@@ -238,7 +239,7 @@ structure passed to the xTaskCreateRestricted() function. */
 static const xTaskParameters xCheckTaskParameters =\r
 {\r
        prvCheckTask,                                                           /* pvTaskCode - the function that implements the task. */\r
-       ( signed char * ) "Check",                                      /* pcName                       */\r
+       "Check",                                                                        /* pcName                       */\r
        mainCHECK_TASK_STACK_SIZE_WORDS,                        /* usStackDepth - defined in words, not bytes. */\r
        ( void * ) 0x12121212,                                          /* pvParameters - this value is just to test that the parameter is being passed into the task correctly. */\r
        ( tskIDLE_PRIORITY + 1 ) | portPRIVILEGE_BIT,/* uxPriority - this is the highest priority task in the system.  The task is created in privileged mode to demonstrate accessing the privileged only data. */\r
@@ -279,7 +280,7 @@ static portSTACK_TYPE xRegTest2Stack[ mainREG_TEST_STACK_SIZE_WORDS ] mainALIGN_
 static const xTaskParameters xRegTest1Parameters =\r
 {\r
        prvRegTest1Task,                                                /* pvTaskCode - the function that implements the task. */\r
-       ( signed char * ) "RegTest1",                   /* pcName                       */\r
+       "RegTest1",                                                             /* pcName                       */\r
        mainREG_TEST_STACK_SIZE_WORDS,                  /* usStackDepth         */\r
        ( void * ) 0x12345678,                                  /* pvParameters - this value is just to test that the parameter is being passed into the task correctly. */\r
        tskIDLE_PRIORITY | portPRIVILEGE_BIT,   /* uxPriority - note that this task is created with privileges to demonstrate one method of passing a queue handle into the task. */\r
@@ -296,7 +297,7 @@ static const xTaskParameters xRegTest1Parameters =
 static xTaskParameters xRegTest2Parameters =\r
 {\r
        prvRegTest2Task,                                /* pvTaskCode - the function that implements the task. */\r
-       ( signed char * ) "RegTest2",   /* pcName                       */\r
+       "RegTest2",                                             /* pcName                       */\r
        mainREG_TEST_STACK_SIZE_WORDS,  /* usStackDepth         */\r
        ( void * ) NULL,                                /* pvParameters - this task uses the parameter to pass in a queue handle, but the queue is not created yet. */\r
        tskIDLE_PRIORITY,                               /* uxPriority           */\r
@@ -333,7 +334,7 @@ int main( void )
        /* Create the tasks that are created using the original xTaskCreate() API\r
        function. */\r
        xTaskCreate(    prvOldStyleUserModeTask,        /* The function that implements the task. */\r
-                                       ( signed char * ) "Task1",      /* Text name for the task. */\r
+                                       "Task1",                                        /* Text name for the task. */\r
                                        100,                                            /* Stack depth in words. */\r
                                        NULL,                                           /* Task parameters. */\r
                                        3,                                                      /* Priority and mode (user in this case). */\r
@@ -341,7 +342,7 @@ int main( void )
                                );\r
 \r
        xTaskCreate(    prvOldStylePrivilegedModeTask,  /* The function that implements the task. */\r
-                                       ( signed char * ) "Task2",              /* Text name for the task. */\r
+                                       "Task2",                                                /* Text name for the task. */\r
                                        100,                                                    /* Stack depth in words. */\r
                                        NULL,                                                   /* Task parameters. */\r
                                        ( 3 | portPRIVILEGE_BIT ),              /* Priority and mode. */\r
@@ -879,7 +880,7 @@ portBASE_TYPE xDummy;
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )\r
+void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )\r
 {\r
        /* If configCHECK_FOR_STACK_OVERFLOW is set to either 1 or 2 then this\r
        function will automatically get called if a task overflows its stack. */\r