mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Alexandre Abadie
f8822b5f8f
They defined the same in serial.inc.mk. Some Darwin default are changed because they are probably wrong
14 lines
401 B
Makefile
14 lines
401 B
Makefile
# for this board we support flashing via openocd or pyocd
|
|
PROGRAMMER ?= openocd
|
|
|
|
ifeq (openocd,$(PROGRAMMER))
|
|
DEBUG_ADAPTER = dap
|
|
else ifeq (pyocd,$(PROGRAMMER))
|
|
# PyOCD doesn't recognize automatically the board ID, so target type has to
|
|
# be passed explicitly
|
|
FLASH_TARGET_TYPE ?= -t nrf51
|
|
endif
|
|
|
|
# include nrf51 boards common configuration
|
|
include $(RIOTBOARD)/common/nrf51/Makefile.include
|