GithubHelp home page GithubHelp logo

earl0fpudding / stm32l4xx-project-template Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 528 KB

A project template for developing and flashing code to the STM32L4xx microcontroller

Makefile 0.04% C 99.64% Assembly 0.27% C++ 0.06%
stm32 stm32l4 microcontroller linux

stm32l4xx-project-template's Introduction

STM32L4xx project template

A project template for developing and flashing code to the STM32L4xx microcontroller. The main.c file contains a program that simply turns PB0 on and off, so you can hook up an LED or speaker to test if it's flashing correctly.

Usage

Compile the code using:

make

and flash the code using:

make burn

Disclaimer

This code has been tested on the STM32L451 microcontroller. Apparently the libraries used in this project are compatible with all STM32L4xx microcontrollers. However, I recommend you to get the STM32CubeMX software and get the latest libraries for your microcontroller yourself to be on the safe side.

Requirements

  • make
  • arm-none-eabi-gcc
  • arm-none-eabi-newlib
  • st-link

Special thanks

I want to thank Matej Blagšič for the Makefile. I altered it so that it works with my STM32L4xx setup.

License

This code doesn't have any license. Do whatever you want with it but don't blame me if your microcontroller or peripherals get fried or something.

stm32l4xx-project-template's People

Contributors

earl0fpudding avatar

Stargazers

 avatar

Watchers

 avatar

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.