Skip to content

Base repository for building firmware to upload to a STM32 Discovery board.

Notifications You must be signed in to change notification settings

Mousius/stm32-base

Repository files navigation

STM32 Base

Build Status Coverage Status

Base repository for building firmware to upload to a STM32 Discovery board.

Dependencies

This base image was created with Debian Testing and has the following dependencies:

Build

  • apt-get install gcc-arm-none-eabi

Testing

  • apt-get install gcc libcmocka0 libcmocka-dev

Coveralls

  • apt-get install python-pip
  • pip install cpp-coveralls

Directories

firmware

Output directory for single firmware generated from src into elf format for flashing.

src

Source files.

test

Directory for containing tests which are ran using the system compiler to run coverage.

libopencm3

Abstraction library for Cortex M3 microcontrollers.

Commands

make

Builds the files in src into firmware

make test

Builds and runs test/coverage

make clean

Remove build files from test and src.

make flash

Builds firmware and then runs openocd to flash the firmware onto the board.

About

Base repository for building firmware to upload to a STM32 Discovery board.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published