[EXAMPLE:F0] Add example of using systick and MCO output on pin PA9.

This example is a merge of Chuck McManis's example for F4 and onnokort's system clock setting test blink example for demonstration issue, corrected in #224.

The LED in any available clock setting flashes four times per second.
This commit is contained in:
Frantisek Burian
2013-12-15 00:35:19 +01:00
committed by Piotr Esden-Tempski
parent c5d6480201
commit d8757ab1fc
3 changed files with 116 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
##
## This file is part of the libopencm3 project.
##
## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
##
## This library is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## along with this library. If not, see <http://www.gnu.org/licenses/>.
##
BINARY = systick_blink
LDSCRIPT = ../stm32f0-discovery.ld
include ../../Makefile.include