I am a beginner learning to use FreeRTOS+CLI. I am using Atmel Studio 6.2 and have already started with one of the example projects which demonstrate the functionality of FreeRTOS+CLI on SAM4S-EK. I am now trying to understand how everything is linked together since the contents of the project are huge. I was wondering if someone could guide me as to how should I create a simple command just to, say printing something out on the PC terminal, what are the necessary parts of doing so. Secondly, I would like to ask if FreeRTOS uses printf in its structure somewhere to write to UART? If this is so, I would like to ask which files are necessary for printf to function? What I have at the moment is a GCC C Executable project in Atmel Studio 6.2 I have included the FreeRTOS source files and it is running properly. I have also configured the UART interface on SAM4S and am able to send a character to PC terminal by directly writing into the Transmit register of UART. I would like to continue from this point on-wards to implement a CLI.
Thanks in advance.