Skip to content

A simple scheduler in C/C++ for STM32F407 Discovery board. ARM Cortex M4

License

Notifications You must be signed in to change notification settings

DCasFer/CSimpleScheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple C/C++ Scheduler

This is a simple C/C++ scheduler for a STM32F4 Discovery board. The purpose is to schedule several simple tasks (LEDs) in a round robin manner.

How to build

STM32F4 Discovery requires the arm-none-eabi tool chain to build and debug the project.

So it is required to install the following:

Once the toolchain is installed, Clone the repo:

$ git clone https://github.com/DCasFer/CSimpleScheduler.git
$ cd CSimpleScheduler

How to flash

In order to flash the binary and also debug it, another open source tool is required. This is OpenOCD or Open On Chip Debuggger:

Once this tool is properly installed, attach an STM32F4 Discovery board via USB and run:

$ ./buildFlashBoard.sh

Use an IDE

I used Eclipse to create and develop this project, however I got rid of Eclipse files and created a simple script to build the final binary for simplicity. Therefore it is possible to use Eclipse + GNU MCU Eclipse Plug-In + OpenOCD Plug-In to debug and keep evolving this project.

About

A simple scheduler in C/C++ for STM32F407 Discovery board. ARM Cortex M4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages