kopia lustrzana https://github.com/stlink-org/stlink
[update] blinky entrypoint
rodzic
1a34038afe
commit
1030160953
|
@ -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)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue