Skip to content

A minimal demo project for my inofficial FreeRTOS Cortex M4F port

Notifications You must be signed in to change notification settings

thomask77/STM32F4_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2012-05-01: DEPRECATED!

Since version 7.1.1, FreeRTOS has native support for Cortex-M4F controllers.

I'll leave my project on github for reference only. Don't use it for production.

have fun, Thomas Kindler [email protected]


FreeRTOS Cortex M4F demo

This is a minimal demo project for my inofficial FreeRTOS Cortex-M4F port.

The project was tested on a STM32F4 Discovery board. Eclipse project files and a makefile are included.

Compiling

The project is known to work with Sourcery G++ Lite 2011.03-42 (Windows version), but other compilers should work as well.

$ make         # easy, isn't it?
$ make flash   # needs ST-LINK_CLI.exe, see below.

Running

At the moment, there's just a bunch of tasks incrementing floating point variables. USART1 is running at 115200 baud 8N1 on PB6 (TXD) and PB7 (RXD). Use a TTL-Level RS232-cable.

Debugging

To use the on-board JTAG adapter for flashing, you have to install the STM32 ST-Link utility and copy some files to the tools directory:

stm32F20xLoader.bin
STLinkUSBDriver.dll
ST-LINK_CLI.exe

Debugging is also possible, but requires the gdb server from Atollic TrueStudio:

ST-LINK_gdbserver.exe

TODO

  • Use the 64k CCM RAM for task stacks

  • Flashing and debugging under Linux. Should be possible with https://github.com/texane/stlink or OpenOCD

  • Better FPU demos. Some ANSI-Art Mandelbrot, 3D graphics or a small FPU sound synthesizer would be nice!

  • Virtual USB COM-Port instead of USART1

About

A minimal demo project for my inofficial FreeRTOS Cortex M4F port

Resources

Stars

Watchers

Forks

Packages

No packages published