A FreeRTOS distribution for STM32-P103 with customized features
#Contributors
- Zhe-An Lin xq5530303@gmail.com
- Jim Huang jserv.tw@gmail.com
- Tim Hsu tim37021@gmail.com
- Jeff Liaw rampant1018@gmail.com
- Eddy Wu yukkcake@gmail.com
- Veck Hsiao fbukevin@gmail.com
- Sirius Wang larrywhy.tw@gmail.com
#External source from FreeRTOS is copyrighted by
Real Time Engineers Ltd.
#External source from CMSIS/ST is copyrighted by
- STMicroelectronics
- ARM Ltd
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
make
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