- STM32F103C8T6 Framework forked from Warren Gay
- libopencm3 branch Master
- FreeRTOS branch 202012-LTS
- ST Link Tools
sudo apt install stlink-tools
- GCC Cross Compiler Toolchain
sudo apt install gcc-arm-none-eabi
- Python
sudo apt install python-is-python3
git clone
this repository with this command:git clone --recurse-submodules https://github.com/tutla53/stm32f1-c-template.git
- If you didn't use a
--recursive
git clone, then you need to make sure thatembassy-rs
is fetched now. From the top level apply one of:git submodule update --init --recursive --remote # First time git submodule update --recursive --remote # Subsequent
- Update the submodules to the latest commit on it's tracked branch:
git submodule update --recursive --remote
- Let say
~
is the top level of this repository - Move to the Directory
~/stm32f103c8t6
and then runmake
$ cd ~/stm32f103c8t6 $ make
- Move to the Directory
~/template
and the runmake
$ cd ~/template $ make
- You can run the example from the embassy-rs which located at
~/stm32f103c8t6/rtos/
- Select and move to the example project e.g.
blinky
then runmake
$ cd ~/stm32f103c8t6/rtos/blinky $ make