mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
18 lines
512 B
Makefile
18 lines
512 B
Makefile
# for this board we support flashing via openocd or pyocd
|
|
PROGRAMMER ?= openocd
|
|
|
|
# This board can be flashed with pyocd
|
|
PROGRAMMERS_SUPPORTED += pyocd
|
|
|
|
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
|
|
|
|
ifneq (,$(filter microbit,$(USEMODULE)))
|
|
INCLUDES += -I$(RIOTBOARD)/common/microbit/include
|
|
endif
|
|
|
|
# include nrf51 boards common configuration
|
|
include $(RIOTBOARD)/common/nrf51/Makefile.include
|