Add mini ld scripts in the example which include the global one.

This commit is contained in:
Uwe Hermann
2009-07-25 00:05:06 +02:00
parent 3f12e37531
commit cfd87f6b9d
5 changed files with 65 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ OBJDUMP = $(PREFIX)-objdump
TOOLCHAIN_DIR = ../..
CFLAGS = -O0 -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
-mcpu=cortex-m3 -mthumb
LDSCRIPT = $(TOOLCHAIN_DIR)/lib/libopenstm32.ld
LDSCRIPT = $(BINARY).ld
LDFLAGS = -L$(TOOLCHAIN_DIR)/lib -T$(LDSCRIPT) -nostartfiles
OBJS = $(BINARY).o
OPENOCD = openocd