Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.1 KB

README.md

File metadata and controls

33 lines (27 loc) · 1.1 KB

cm4-freertos

A bare-metal project with FreeRTOS and SystemView on ARM Cortex-M4 processor.

Build

cm4-freertos dependents on some third-party packages to build code and burn into processor like ARM GNU Toolchain and stlink. Therefore, before using the project, we need to install these packages.

Install ARM GNU Toolchain:

$ sudo apt-get update
$ sudo apt-get -y install gcc-arm-none-eabi

Install stlink:

$ sudo apt-get update
$ sudo apt-get -y install stlink-tools

Clone FreeRTOS, SystemView and RTT as submodule:

$ git submodule update --init

Build cm4-freertos:

$ make

Burn the code into processor:

$ make upload