]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RISC-V_Renode_Emulator_SoftConsole/full_demo/main_full.c
Tidy up main_full.c and change alignment of variable accesses in RegTest.S for the...
[freertos] / FreeRTOS / Demo / RISC-V_Renode_Emulator_SoftConsole / full_demo / main_full.c
index dc7d76863504d40f54c347cbed97b8b44ef48379..0bd63ebf2b07a596164637231b511d5ff756d849 100644 (file)
@@ -1,6 +1,6 @@
 /*\r
- * FreeRTOS Kernel V10.1.1\r
- * Copyright (C) 2018 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
+ * FreeRTOS Kernel V10.2.1\r
+ * Copyright (C) 2019 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
  *\r
  * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
  * this software and associated documentation files (the "Software"), to deal in\r
@@ -209,6 +209,7 @@ void main_full( void )
        prvSetupPeripheralTimers();\r
 \r
        /* Start the scheduler. */\r
+       vSendString( "Starting" );\r
        vTaskStartScheduler();\r
 \r
        /* If all is well, the scheduler will now be running, and the following\r
@@ -235,10 +236,6 @@ extern void vToggleLED( void );
        /* Just to stop compiler warnings. */\r
        ( void ) pvParameters;\r
 \r
-       /* Start with a pass message, after which a '.' character will be printed\r
-       out on each successful loop. */\r
-       vSendString( "Pass" );\r
-\r
        /* Initialise xLastExecutionTime so the first call to vTaskDelayUntil()\r
        works correctly. */\r
        xLastExecutionTime = xTaskGetTickCount();\r
@@ -261,17 +258,17 @@ extern void vToggleLED( void );
                        pcStatusMessage = "ERROR: Dynamic priority demo/tests.\r\n";\r
                }\r
 \r
-               if ( xAreBlockTimeTestTasksStillRunning() == pdFALSE )\r
+               if( xAreBlockTimeTestTasksStillRunning() == pdFALSE )\r
                {\r
                        pcStatusMessage = "ERROR: Block time demo/tests.\r\n";\r
                }\r
 \r
-               if ( xAreGenericQueueTasksStillRunning() == pdFALSE )\r
+               if( xAreGenericQueueTasksStillRunning() == pdFALSE )\r
                {\r
                        pcStatusMessage = "ERROR: Generic queue demo/tests.\r\n";\r
                }\r
 \r
-               if ( xAreRecursiveMutexTasksStillRunning() == pdFALSE )\r
+               if( xAreRecursiveMutexTasksStillRunning() == pdFALSE )\r
                {\r
                        pcStatusMessage = "ERROR: Recursive mutex demo/tests.\r\n";\r
                }\r