mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
15 lines
332 B
Makefile
15 lines
332 B
Makefile
# setup JLink for flashing
|
|
JLINK_DEVICE = EFR32MG1BxxxF256
|
|
JLINK_PRE_FLASH = r
|
|
|
|
# setup OpenOCD for flashing
|
|
PROGRAMMERS_SUPPORTED += openocd
|
|
OPENOCD_DEBUG_ADAPTER ?= stlink
|
|
|
|
# default to jlink as programmer, but only if JLinkExe is in $PATH
|
|
ifneq (,$(shell which JLinkExe))
|
|
PROGRAMMER ?= jlink
|
|
else
|
|
PROGRAMMER ?= openocd
|
|
endif
|