Coder Social home page Coder Social logo

jaxxzer / stm32-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
23.0 3.0 3.0 598 KB

A cross-platform set of examples for the stm32 line of mcus

License: GNU General Public License v3.0

CMake 17.62% C 75.05% Python 4.41% Shell 2.91%
stm32 stm32f0 stm32f1 stm32f3 stm32f103 stm32f103c8t6 stm32f303 nucleo maple-mini blue-pill

stm32-boilerplate's Introduction

stm32-boilerplate

A minimal project to get going with stm32 microcontrollers.

This project depends on arm-none-eabi-gcc, cmake, and python. Continuous integration depends also on clang-format for style checks.

To install the toolchain and test your installation run:

./tools/travis-ci-script.sh

To build an example from the example directory choose a target board and do something like this:

mkdir build
cd build
cmake --configure -DTARGET_BOARD=nucleo-f303 -DEXAMPLE=pwm-output-dma ..
make

The program can be uploaded to the board with an stlink programmer by making the flash target:

make flash

visual studio code can be used to upload and debug the code with openocd and the cortex-debug plugin

stm32-boilerplate's People

Contributors

jaxxzer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

stm32-boilerplate's Issues

relax clang-format

there is some undesired rule that is making it hard to make initializers like this readable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.