How to use FreeRTOS in my TI Cortex M4 microcontroller
Dear sir/madam,
I have started learning RTOS before two days, and I intend to use Free RTOS as it looks brilliant!.
Could someone help me and give me the first steps of learning, and how to use it on my TM4C1294NCPDT microcontroller (its core is ARM Cortex M4F)? and some simple examples to get used of it? and the basic concepts of RTOS?
Thank you in advance.
Regards,
Mohammed Noureldin.
How to use FreeRTOS in my TI Cortex M4 microcontroller
The easiest way to start with FreeRTOS is to use one of the demo
applications that target the hardware you are using. While there is no
demo specifically for the TM4C, because it is a Cortex-M4F based device,
any simple Cortex-M4F demo will run on that chip – barring any IO
specifics (like which port an LED is attached to).
These links will help for a start:
http://www.freertos.org/Creating-a-new-FreeRTOS-project.html
http://www.freertos.org/porting-a-freertos-demo-to-different-hardware.html
http://www.freertos.org/simple-freertos-demos.html (these may be
somewhat out of date – but the concepts have not changed).
You might also consider one of the tutorial books. The Generic
Cortex-M3 book would probably be most suitable – although that targets a
Cortex-M3 rather than Cortex-M4F switching between the two is simple;
All you have to do is swap all the files and include paths that refer to
the FreeRTOS/Source/Portable/[compiler]/ARMCM3 directory to instead use
FreeRTOS/Source/Portable/[compiler]ARMCM4F directory.
Regards.