dapperfu / STM32F4-Discovery_FW_V1.1.0_Makefiles

This project is intended to provide GNU Makefiles for use with STM32F4-Discovery FW v1.1.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STM32F4-Discovery FW v1.1.0 Makefiles

This project is intended to provide makefiles for use with STM32F4-Discovery FW v1.1.0 which can be downloaded from the ST website: http://www.st.com/web/en/catalog/tools/PF257904#

ST Micro provides projects for EWARM, MDK-ARM and TrueSTUDIO. However these are all commercial IDEs and possibly unaffordable for the home tinkerer. This project was created to provide makefiles for each of the provided Projects.

This is my first foray into Makefile programming. If you have any suggestions or comments please feel free to submit them to the issues list.

https://github.com/jed-frey/STM32F4-Discovery_FW_V1.1.0_Makefiles/issues

Requirements

Adding to your path:

Where "/opt/gcc-arm-none-eabi/gcc-arm-none-eabi-9-2019-q4-major" is where the toolchain is extracted

Temporary:

export PATH=${PATH}:/opt/gcc-arm-none-eabi/gcc-arm-none-eabi-9-2019-q4-major/bin

Permanently, put the above in your .bashrc file.

You should now be able to run arm-none-eabi-gcc:

$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Usage

Cloning Repository:

git clone https://github.com/jed-frey/STM32F4-Discovery_FW_V1.1.0_Makefiles.git

Building All Projects

cd STM32F4-Discovery_FW_V1.1.0_Makefiles/Project
make

make is recursive, digging through all the subdirectories and executing them if they have a Makefile

Build Specific Project

cd STM32F4-Discovery_FW_V1.1.0_Makefiles/Project/Peripheral_Examples/IO_Toggle
make

About

This project is intended to provide GNU Makefiles for use with STM32F4-Discovery FW v1.1.0

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 87.9%Language:C++ 5.4%Language:Assembly 2.2%Language:XSLT 2.1%Language:Makefile 0.6%Language:Objective-C 0.5%Language:HTML 0.4%Language:LSL 0.3%Language:Shell 0.2%Language:Batchfile 0.1%Language:Roff 0.1%Language:Perl 0.0%Language:CSS 0.0%Language:Scala 0.0%Language:M4 0.0%Language:Tcl 0.0%Language:PLSQL 0.0%Language:CartoCSS 0.0%Language:GDB 0.0%Language:JavaScript 0.0%Language:Python 0.0%Language:Standard ML 0.0%Language:Opa 0.0%