Skip to content

STM32F411 development toolchain and documentation

License

Notifications You must be signed in to change notification settings

dronectl/stm32f411-toolchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM32F411 Toolchain

ci

Modified: 2022-10

A toolchain for baremetal development of STM32F411 microcontrollers.

Navigation

  1. Software Requirements
  2. Quickstart
  3. Documentation
  4. License

Software Requirements

This toolchain leverages the following software tools:

For installation instructions see the developers guide

Quickstart

Clone this repository and navigate to the repository root:

git clone [email protected]:dronectl/stm32f411-toolchain.git
cd stm32f411-toolchain

Initialize the build system using cmake. Export compile commands to configure Intellisense:

mkdir build
cd build
# pass the basepath of the STM32CUBEF4 install directory
cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DSTM32CUBEF4_BASE=/path/to/stm32cubef4
...

Compile the firmware

make -j
...

Plugin the evaluation board to your PC over mini USB and flash the microcontroller over UART:

make flash

OpenOCD automatically detects STLINK debugger interfaces over USB.

img

Documentation

This repository sources the accompanying reference documentation for doing baremetal programming on the STM32F411ce microcontroller. You can download the pdfs here

License

This project is licensed under the terms of the MIT License

Releases

No releases published

Packages

No packages published