From 10301609532629aa4643f4081d1a0ac99e0aab6e Mon Sep 17 00:00:00 2001 From: Fabien Le Mentec Date: Sat, 15 Oct 2011 13:31:15 -0500 Subject: [PATCH] [update] blinky entrypoint --- example/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.47.2