Skip to content

Building From Source

Keir Fraser edited this page May 2, 2018 · 10 revisions

This project is cross-compiled on an x86 Ubuntu Linux system. However other similar Linux-base systems (or a Linux virtual environment on another OS) can likely be made to work quite easily.

The Ubuntu package prerequisites include:

  • git
  • gcc-arm-none-eabi
  • srecord
  • stm32flash
  • python-pip

If the stm32flash package is unavailable on your system then it must be downloaded from Sourceforge and built locally.

The Python library prerequisites include:

  • crcmod
  • intelhex

To install the prerequisites on Ubuntu:

 # sudo apt-get install git gcc-arm-none-eabi srecord stm32flash python-pip
 # pip install --user crcmod intelhex

To build the FlashFloppy firmware:

 # git clone https://github.com/keirf/FlashFloppy.git
 # cd FlashFloppy
 # make dist
Clone this wiki locally