Skip to content

An open-source, bare-metal flight controller for drones, built from scratch on STM32 microcontrollers.

Notifications You must be signed in to change notification settings

zawad29/OptiFlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OptiFlight for STM32

Target Device: STM32F446 (cortex-m4)

To run:
Go to build directory: cd build
Compile the project: make all
Load into STM32: make load

To Debug:
Build debug binary: make debug \

How to debug on VSCode: https://youtu.be/FNDp1G0bYoU?t=868

Programming Guideline:

  • User Code Directory: src/userland/
  • User main function; src/userland/main.c
  • External devices (IMU, ESC etc.): src/userland/device
  • Modules (kalman filter, pid etc.): src/userland/modules

Adding Source Files

Modify build/Makefile:
Add C source path to makefile flag: C_SOURCES

About

An open-source, bare-metal flight controller for drones, built from scratch on STM32 microcontrollers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published