From 0efee48451d7eff92b7e6bd455aa0ef04b9afe17 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 16 Jul 2009 14:29:00 +0200 Subject: Add first example project (framework) using libopenstm32. This is intended as a small blink example for the Olimex STM32-H103 board. It doesn't do anything useful (yet), but it builds fine. There's a sample Makefile and a preliminary ld script (which probably needs some more work). --- lib/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Makefile b/lib/Makefile index fb0440e..8a56abf 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -18,6 +18,8 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## +LIBNAME = libopenstm32 + # PREFIX ?= arm-none-eabi PREFIX ?= arm-elf CC = $(PREFIX)-gcc @@ -25,7 +27,6 @@ AR = $(PREFIX)-ar CFLAGS = -Os -g -Wall -Wextra -I../include -fno-common \ -mcpu=cortex-m3 -mthumb ARFLAGS = rcsv -LIBNAME = libopenstm32 OBJS = gpio.o all: $(LIBNAME).a -- cgit v1.2.3