Skip to content

Latest commit

 

History

History
63 lines (57 loc) · 1.75 KB

README.md

File metadata and controls

63 lines (57 loc) · 1.75 KB

STM32F103C8T6 (Blue Pill) + libopencm3 + FreeRTOS


Module


Getting Started:

Cloning the Repository

  • 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 that embassy-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 

Build and Run the First Program

Adding the Build Target

  • Let say ~ is the top level of this repository
  • Move to the Directory ~/stm32f103c8t6 and then run make
    $ cd ~/stm32f103c8t6
    $ make

Build the Project

  • Move to the Directory ~/template and the run make
    $ cd ~/template
    $ make

Run the Example from ve3wwg

  • 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 run make
    $ cd ~/stm32f103c8t6/rtos/blinky
    $ make