serial communication on freertos

Thanks a lot! I have one query. While developing any application do we need use main.c provided in the demo or we can have our own. If we have to use already provided main.c are these functions required to be kept as it is : prvSetupHardware(); vParTestInitialise(); vTaskStartScheduler(); or what changes we have to make in main.c? Thanks.

serial communication on freertos

You can write whatever code you like! prvSetupHardware() – as the name suggests, this sets up the hardware to run the demo.  If you want a different hardware setup, replace it with your own implementation.   vParTestInitialise() – this just initialises the IO for LEDs on the dev kit used for the demo.  It is not important to the kernel itself, only demo tasks that access LEDs. vTaskStartScheduler() – you must call that at some point.  Please read the API documentation. Regards.