2019-06-04 15:09:23 +02:00
|
|
|
# for this board we support flashing via openocd or pyocd
|
|
|
|
PROGRAMMER ?= openocd
|
2018-10-26 10:13:40 +02:00
|
|
|
|
2021-02-11 14:59:01 +01:00
|
|
|
# This board can be flashed with pyocd
|
|
|
|
PROGRAMMERS_SUPPORTED += pyocd
|
|
|
|
|
2021-02-18 17:29:53 +01:00
|
|
|
OPENOCD_DEBUG_ADAPTER = dap
|
|
|
|
# PyOCD doesn't recognize automatically the board ID, so target type has to
|
|
|
|
# be passed explicitly
|
|
|
|
PYOCD_FLASH_TARGET_TYPE ?= -t nrf51
|
2018-10-26 10:13:40 +02:00
|
|
|
|
2021-11-03 11:35:57 +01:00
|
|
|
ifneq (,$(filter microbit,$(USEMODULE)))
|
|
|
|
INCLUDES += -I$(RIOTBOARD)/common/microbit/include
|
|
|
|
endif
|
|
|
|
|
2018-10-26 10:13:40 +02:00
|
|
|
# include nrf51 boards common configuration
|
|
|
|
include $(RIOTBOARD)/common/nrf51/Makefile.include
|