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).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user