int main(void) { /* Configure the hardware ready to run the test. */ prvSetupHardware(); /* Start standard demo/test application flash tasks. See the comments at the top of this file. The LED flash tasks are always created. The other tasks are only created if mainCREATE_SIMPLE_LED_FLASHER_DEMO_ONLY is set to 0 (at the top of this file). See the comments at the top of this file for more information. */ vStartLEDFlashTasks( mainFLASH_TASK_PRIORITY ); /* The following function will only create more tasks and timers if mainCREATE_SIMPLE_LED_FLASHER_DEMO_ONLY is set to 0 (at the top of this file). See the comments at the top of this file for more information. */ prvOptionallyCreateComprehensveTestApplication(); /* Start the scheduler. */ vTaskStartScheduler(); /* If all is well, the scheduler will now be running, and the following line will never be reached. If the following line does execute, then there was insufficient FreeRTOS heap memory available for the idle and/or timer tasks to be created. See the memory management section on the FreeRTOS web site for more details. */ for( ;; ); }
/* * Starts all the tasks, then starts the scheduler. */ int main( void ) { /* Setup the hardware for use with the TriCore evaluation board. */ prvSetupHardware(); /* Start standard demo/test application flash tasks. See the comments at the top of this file. The LED flash tasks are always created. The other tasks are only created if mainCREATE_SIMPLE_LED_FLASHER_DEMO_ONLY is set to 0 (at the top of this file). See the comments at the top of this file for more information. */ vStartLEDFlashTasks( mainLED_TASK_PRIORITY ); /* The following function will only create more tasks and timers if mainCREATE_SIMPLE_LED_FLASHER_DEMO_ONLY is set to 0 (at the top of this file). See the comments at the top of this file for more information. */ prvOptionallyCreateComprehensveTestApplication(); /* Now all the tasks have been started - start the scheduler. */ vTaskStartScheduler(); /* If all is well then the following line will never be reached. If execution does reach here, then it is highly probably that the heap size is too small for the idle and/or timer tasks to be created within vTaskStartScheduler(). */ for( ;; ); }
int main( void ) { /* Configure the hardware ready to run the test. */ prvSetupHardware(); /* Start standard demo/test application flash tasks. See the comments at the top of this file. The LED flash tasks are always created. The other tasks are only created if mainCREATE_SIMPLE_LED_FLASHER_DEMO_ONLY is set to 0 (at the top of this file). See the comments at the top of this file for more information. */ vStartLEDFlashTasks( mainFLASH_TASK_PRIORITY ); /* The following function will only create more tasks and timers if mainCREATE_SIMPLE_LED_FLASHER_DEMO_ONLY is set to 0 (at the top of this file). See the comments at the top of this file for more information. */ prvOptionallyCreateComprehensveTestApplication(); /* Start the scheduler. */ vTaskStartScheduler(); /* Infinite loop */ for( ;; ); }