Coder Social home page Coder Social logo

164adityakumar / firmware-cortex-m4_stm32 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.21 MB

This is a Project is all about building bare-metal firmware for a Cortex-M4 STM32 microcontroller, using open source tools and libraries such as GCC and libopencm3. This starts from blinking an LED, to building a bootloader for performing firmware updates over UART/USB, to building a signed firmware security mechanism.

Makefile 50.88% C 33.23% Dockerfile 13.96% Shell 0.09% Assembly 0.35% Python 1.49%
arm-cortex-m4 arm-programming bare-metal-programming baremetal-programming bootloader embedded-c embedded-programming embedded-systems firmware libopencm3

firmware-cortex-m4_stm32's Introduction

About the project

This Project is all about building bare-metal firmware for a Cortex-M4 STM32 microcontroller, using open source tools and libraries such as GCC and libopencm3. This starts from blinking an LED, to building a bootloader for performing firmware updates over UART/USB, to building a signed firmware security mechanism that allow only authorised code to run on the device. Stretch goal content includes breaking the security we build, as well as exploring more peripherals, applications, and algorithms in depth.

Prerequisites

For running it locally you need to have the following installed and properly setup. Ensure that they are available in your path.

When using vscode

install some extensions to make development smoother

  • C/C++
  • Cortex-Debug

Repo setup

# Clone the repo
git clone [email protected]:164adityakumar/Firmware-Cortex-M4_STM32.git
cd Firmware-Cortex-M4_STM32

# Initialise the submodules (libopencm3)
git submodule init
git submodule update

# Build libopencm3
cd libopencm3
make
cd ..

# Build the main application firmware
cd app
make

firmware-cortex-m4_stm32's People

Contributors

164adityakumar 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.