Skip to content

shenfahsu/freertos-basic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A FreeRTOS distribution for STM32-P103 with customized features

#Contributors

#External source from FreeRTOS is copyrighted by

Real Time Engineers Ltd.

#External source from CMSIS/ST is copyrighted by

  • STMicroelectronics
  • ARM Ltd

Current FreeRTOS kernel version

v8.2.1

#Environment ##STM32 on QEMU In your workspace of this project(currently, workspace/freertos-basic), please get stm32_p103_demos and qemu_stm32 first.

git clone git://github.com/beckus/stm32_p103_demos.git || git clone https://github.com/beckus/stm32_p103_demos.git 
git clone git://github.com/beckus/qemu_stm32.git || git clone https://github.com/beckus/qemu_stm32.git

cd qemu_stm32
git submodule update --init dtc || sudo apt-get install libfdt-dev
./configure --disable-werror --enable-debug \
    --target-list="arm-softmmu" \
    --extra-cflags=-DSTM32_UART_NO_BAUD_DELAY \
    --extra-cflags=-DSTM32_UART_ENABLE_OVERRUN \
    --disable-gtk
make

#Run Emulation

  1. make
  2. make qemu

#Visualization

In this project, we adopt Python visualization library - matplotlib to implement profiling visualization such as context switch, interrrupt latency, system call overhead ...etc. Currently, some python modules for visualization are available in directory "visualizer". No matter you use python <module>.py(if log file exists) to run visualizer or use make qemuauto to run emulation and visualizer, you should install matplotlib first. You can use pip install matplotlib or follow the instruction here to skin a cat.

* context switch
* interrupt latency
* system call overhead 

About

Basic integrated FreeRTOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 63.8%
  • C++ 26.8%
  • Assembly 8.0%
  • HTML 1.0%
  • Objective-C 0.2%
  • Batchfile 0.1%
  • Other 0.1%