mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/boards/stm32.ink.mk: Use ROM_OFFSET with stm32flash
This commit is contained in:
parent
1e8037670b
commit
6a559f1924
@ -58,9 +58,11 @@ ifeq (dfu-util,$(PROGRAMMER))
|
||||
endif
|
||||
|
||||
ifeq (stm32flash,$(PROGRAMMER))
|
||||
ROM_OFFSET ?= 0x0
|
||||
FLASHER = stm32flash
|
||||
DEBUGGER =
|
||||
FLASHFILE ?= $(BINFILE)
|
||||
PROG_BAUD ?= 57600
|
||||
FFLAGS = -b $(PROG_BAUD) -w $(FLASHFILE) -g 0x0 $(PORT)
|
||||
BIN_ADDR ?= $(shell echo $$(($(ROM_START_ADDR) + $(ROM_OFFSET))))
|
||||
FFLAGS = -v -b $(PROG_BAUD) -w $(FLASHFILE) -S $(BIN_ADDR) -g $(BIN_ADDR) $(PORT)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user