aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorUwe Hermann2009-07-16 14:29:00 +0200
committerUwe Hermann2009-07-16 14:29:00 +0200
commit0efee48451d7eff92b7e6bd455aa0ef04b9afe17 (patch)
tree1c8b50a47ba439469f7d095050d56af9c62d4e6b /lib
parentc62ca6143d3ed344063424b59fa8b4c33af92ff6 (diff)
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).
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile3
1 files changed, 2 insertions, 1 deletions
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