mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
11 lines
274 B
Makefile
11 lines
274 B
Makefile
RIOT_EDBG = $(RIOTBASE)/dist/tools/edbg/edbg
|
|
EDBG ?= $(RIOT_EDBG)
|
|
FLASHER ?= $(EDBG)
|
|
OFLAGS ?= -O binary
|
|
HEXFILE = $(ELFFILE:.elf=.bin)
|
|
FFLAGS ?= $(EDBG_ARGS) -t $(EDBG_DEVICE_TYPE) -b -e -v -p -f $(HEXFILE)
|
|
|
|
ifeq ($(RIOT_EDBG),$(FLASHER))
|
|
FLASHDEPS += $(RIOT_EDBG)
|
|
endif
|