josepablo134 / FreeRTOS_TM4C1294

FreeRTOS project zero for Tiva C TM4C1294NCPDT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Zero (FreeRTOS for TivaC TM4C1294NCPDT)

Build on Code Composer Studio

This is the project zero structure in order to configure and build a FreeRTOS project for Tiva C on Code Composer Studio.

In order to build this project is necessary a proper code composer studio configuration for: compiler version, driverlib version, etc.

The project structure is the following:

.
├── Board
│   ├── Board.c
│   └── Board.h
├── FreeRTOS
│   ├── (...) FreeRTOS Sources
│   ├── include
│   │   └── (...) FreeRTOS include headers
│   ├── portable
│   │   └── CCS
│   │       ├── ARM_CM4F
│   │       │   ├── portasm.asm
│   │       │   ├── port.c
│   │       │   └── portmacro.h
│   │       └── MemMang
│   │           └── heap_2.c
│   ├── queue.c
│   ├── readme.txt
│   ├── stream_buffer.c
│   ├── tasks.c
│   └── timers.c
├── FreeRTOSConfig.h
├── main.c
├── README.md
└── startup_ccs.c

In the FreeRTOS directory are located all sources and headers of the FreeRTOS project. In the portable directory are the specific ARM Cortex M4F routines for the FreeRTOS port, while the Mem_Mang directory includes the heap routines for malloc and free functions. The latest FreeRTOS sources and ports can be downloaded from FreeRTOS, as well as the FreeRTOS documentation. The Board file includes the routine to initialize the system clock to 120MHz before passing control to FreeRTOS.

In order to create a new project from this template just select a new baremetal blinky example at Code Composer Studio Resource Explorer to create a new configurated project with driverlib and compiler version, then reaplace the project with this template and build.

Notes :

This template was tested on Arch Linux with Code Composer version 9 and version 10.

Original idea from : Akobyl

About

FreeRTOS project zero for Tiva C TM4C1294NCPDT


Languages

Language:C 95.2%Language:C++ 4.1%Language:Assembly 0.7%