[update] example/Makefile base text address

pull/11/head
Fabien Le Mentec 2011-10-15 12:31:21 -05:00
rodzic d7956829d3
commit 05d3638efd
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -7,6 +7,12 @@ OBJCOPY=arm-none-eabi-objcopy
CFLAGS=-O2 -mlittle-endian -mthumb
CFLAGS+=-mcpu=cortex-m3 -ffreestanding -nostdlib -nostdinc
# to run from SRAM
# CFLAGS+=-Wl,-Ttext,0x20000000
# to write to flash then run
CFLAGS+=-Wl,-Ttext,0x08000000
all: $(BIN_IMAGE)
$(BIN_IMAGE): $(EXECUTABLE)