1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/boards/microbit/Makefile.include
Gaëtan Harter 7306dbd382
boards/tools: remove exporting DEBUG*
DEBUGGER/DEBUGGER_FLAGS/DEBUGSERVER/DEBUGSERVER_FLAGS are evaluated by the
main Makefile.include or by file included by it.
Their value does not need to be exported.

Testing
-------

`git diff --word-diff` only reports `export` being removed.

`git show --stat` reports `55 insertions(+), 55 deletions(-)`
Which is the same amount as lines that where matching
`export[[:blank::]]\+VARIABLE`.
2019-05-28 09:58:35 +02:00

28 lines
771 B
Makefile

# define the used CPU
export CPU_MODEL = nrf51x22xxab
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
# this board supports flashing through plain fscopy, using JLink or using
# openocd. Default programmer is fscopy
PROGRAMMER ?= fscopy
ifeq (fscopy,$(PROGRAMMER))
FFLAGS = $(HEXFILE)
DEBUGGER_FLAGS =
FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh
DEBUGGER =
DEBUGSERVER =
else ifeq (openocd,$(PROGRAMMER))
# this board uses a daplink adapter by default
DEBUG_ADAPTER = dap
else ifeq (pyocd, $(PROGRAMMER))
include $(RIOTMAKE)/tools/pyocd.inc.mk
endif
# include nrf51 boards common configuration
include $(RIOTBOARD)/common/nrf51/Makefile.include