From: Fabien Le Mentec Date: Sat, 15 Oct 2011 18:31:15 +0000 (-0500) Subject: [update] blinky entrypoint X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=10301609532629aa4643f4081d1a0ac99e0aab6e;p=fw%2Fstlink [update] blinky entrypoint --- diff --git a/example/Makefile b/example/Makefile index 57179a8..1b310b1 100644 --- a/example/Makefile +++ b/example/Makefile @@ -8,10 +8,10 @@ CFLAGS=-O2 -mlittle-endian -mthumb CFLAGS+=-mcpu=cortex-m3 -ffreestanding -nostdlib -nostdinc # to run from SRAM -# CFLAGS+=-Wl,-Ttext,0x20000000 +CFLAGS+=-Wl,-Ttext,0x20000000 -Wl,-e,0x20000000 # to write to flash then run -CFLAGS+=-Wl,-Ttext,0x08000000 +# CFLAGS+=-Wl,-Ttext,0x08000000 -Wl,-e,0x08000000 all: $(BIN_IMAGE)