Actions

EmSys

Difference between revisions of "FreeRTOS Exercise Lab01"

From EdWiki

(Created page with "__NOTOC__ * Create a CCS Project using FreeRTOS Project Template * Add [{{SERVER}}/emsys/rtos/freertos/printf-stda...")
 
m
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
+
== FreeRTOS Lab 01 ==
 
* Create a CCS Project using FreeRTOS [[EmSys:Create a Project using FreeRTOS Project Template| Project Template]]
 
* Create a CCS Project using FreeRTOS [[EmSys:Create a Project using FreeRTOS Project Template| Project Template]]
 
* Add [{{SERVER}}/emsys/rtos/freertos/printf-stdarg.c printf-stdarg.c] file to project ('''Project > Add Files ...''')
 
* Add [{{SERVER}}/emsys/rtos/freertos/printf-stdarg.c printf-stdarg.c] file to project ('''Project > Add Files ...''')
 
* Initialize [[EmSys:TM4C123G Launchpad UART Programming | UART0]] for 115,200 baud rate (assuming 16 MHz bus clock), 8 bit word length, no parity bits, one stop bit, FIFOs enabled. (UART0 Echo Source Code is available [{{SERVER}}/emsys/tivac/tm4c_uart_echo.c here])
 
* Initialize [[EmSys:TM4C123G Launchpad UART Programming | UART0]] for 115,200 baud rate (assuming 16 MHz bus clock), 8 bit word length, no parity bits, one stop bit, FIFOs enabled. (UART0 Echo Source Code is available [{{SERVER}}/emsys/tivac/tm4c_uart_echo.c here])
 +
* Create two tasks with equal priorities. When run the tasks will display the strings "Task 1 is Running ..." and "Task 2 is Running ..."

Revision as of 07:04, 1 August 2019

FreeRTOS Lab 01

  • Create a CCS Project using FreeRTOS Project Template
  • Add printf-stdarg.c file to project (Project > Add Files ...)
  • Initialize UART0 for 115,200 baud rate (assuming 16 MHz bus clock), 8 bit word length, no parity bits, one stop bit, FIFOs enabled. (UART0 Echo Source Code is available here)
  • Create two tasks with equal priorities. When run the tasks will display the strings "Task 1 is Running ..." and "Task 2 is Running ..."