mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
17 lines
521 B
Makefile
17 lines
521 B
Makefile
# for this board, flash with OpenOCD by default. PyOCD is also supported.
|
|
PROGRAMMER ?= openocd
|
|
ifeq (pyocd,$(PROGRAMMER))
|
|
# The board is not recognized automatically by pyocd, so the CPU target
|
|
# option is passed explicitly
|
|
FLASH_TARGET_TYPE ?= -t $(CPU)
|
|
else ifeq (openocd,$(PROGRAMMER))
|
|
DEBUG_ADAPTER = dap
|
|
endif
|
|
|
|
ifneq (,$(filter microbit,$(USEMODULE)))
|
|
INCLUDES += -I$(RIOTBOARD)/common/microbit/include
|
|
endif
|
|
|
|
# include nrf52 boards common configuration
|
|
include $(RIOTBOARD)/common/nrf52/Makefile.include
|