FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [May 2009 Threads] serial communication on freertosPosted by Nishant on May 28, 2009 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.
RE: serial communication on freertosPosted by Richard on May 28, 2009 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|