Introduction
The example in this note is generated by STM32CubeMX, but it is cut by removing the unnessary header files. Under the STM32CubeMX toolchain/IDE, select the Makefile option, and only copy the necessary library files.
* The makefile generated by STM32CubeV1.0 version 4.23.0 has some mistakes, it has duplicated .c file in the src_dir.
The example in this note is just toggle the nucleo-64 on board user led. It does not involve any interrupt.
The files contains a Makefile, a include directory and a source directory. Host OS is ubuntu 16.04LTS.