mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/*: remove useless export when setting DEBUG_ADAPTER
This commit is contained in:
parent
0d88de90c3
commit
414c304f2b
@ -13,7 +13,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# this board has an on-board ST-link adapter
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# call a 'reset halt' command before starting the debugger
|
||||
export OPENOCD_DBG_START_CMD = -c 'reset halt'
|
||||
|
@ -13,7 +13,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# this board has an on-board ST-link adapter
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -4,8 +4,8 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
|
||||
# Use the shared OpenOCD configuration
|
||||
# Using dap or jlink depends on which firmware the OpenSDA debugger is running
|
||||
export DEBUG_ADAPTER ?= dap
|
||||
#export DEBUG_ADAPTER ?= jlink
|
||||
DEBUG_ADAPTER ?= dap
|
||||
#DEBUG_ADAPTER ?= jlink
|
||||
|
||||
# OpenOCD v0.10.0 and newer have built-in support for disabling the Kinetis
|
||||
# watchdog automatically. Some older releases of Ubuntu and Debian have only
|
||||
|
@ -7,7 +7,7 @@ INCLUDES += -I$(RIOTBOARD)/common/kw41z/include
|
||||
USEMODULE += boards_common_kw41z
|
||||
|
||||
# This board comes with OpenSDA configured for JLink compatibility
|
||||
export DEBUG_ADAPTER ?= jlink
|
||||
DEBUG_ADAPTER ?= jlink
|
||||
|
||||
# Include default FRDM board config
|
||||
include $(RIOTBOARD)/common/frdm/Makefile.include
|
||||
|
@ -38,7 +38,7 @@ else ifeq (openocd,$(PROGRAMMER))
|
||||
# openocd doesn't work (yet) with softdevice
|
||||
$(error Cannot use OpenOCD with nordic_softdevice module)
|
||||
endif
|
||||
export DEBUG_ADAPTER ?= jlink
|
||||
DEBUG_ADAPTER ?= jlink
|
||||
export OPENOCD_CONFIG := $(RIOTBOARD)/common/nrf52/dist/openocd.cfg
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
endif
|
||||
|
@ -13,7 +13,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# all Nucleo boards have an on-board ST-link adapter
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# nucleo boards use openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -34,8 +34,8 @@ ifeq ($(PROGRAMMER),dfu-util)
|
||||
else
|
||||
|
||||
# this board uses openocd by default
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
export STLINK_VERSION ?= 2
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
STLINK_VERSION ?= 2
|
||||
|
||||
# call a 'reset halt' command before starting the debugger
|
||||
# it is required as `connect_assert_srst` is set
|
||||
|
@ -13,7 +13,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# to flash this board, use an ST-link adapter
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# call a 'reset halt' command before starting the debugger
|
||||
export OPENOCD_DBG_START_CMD = -c 'reset halt'
|
||||
|
@ -9,8 +9,8 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
# setup serial terminal
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
export STLINK_VERSION ?= 2
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
STLINK_VERSION ?= 2
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -13,7 +13,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# By default, flash this board using an ST-link adapter
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# call a 'reset halt' command before starting the debugger
|
||||
export OPENOCD_DBG_START_CMD = -c 'reset halt'
|
||||
|
@ -9,7 +9,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
# setup serial terminal
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -12,8 +12,8 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
# setup serial terminal
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
export STLINK_VERSION ?= 2
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
STLINK_VERSION ?= 2
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -20,7 +20,7 @@ endif
|
||||
export CPU_MODEL
|
||||
|
||||
# Default debug adapter choice is to use the Mulle programmer board
|
||||
export DEBUG_ADAPTER ?= mulle
|
||||
DEBUG_ADAPTER ?= mulle
|
||||
# Host OS name
|
||||
OS := $(shell uname)
|
||||
|
||||
|
@ -20,7 +20,7 @@ export OPENOCD_PRE_VERIFY_CMDS += \
|
||||
export OPENOCD_EXTRA_INIT
|
||||
export PRE_FLASH_CHECK_SCRIPT = $(RIOTCPU)/$(CPU)/dist/check-fcfield.sh
|
||||
|
||||
export DEBUG_ADAPTER ?= dap
|
||||
DEBUG_ADAPTER ?= dap
|
||||
|
||||
# Add board selector (USB serial) to OpenOCD options if specified.
|
||||
# Use /dist/tools/usb-serial/list-ttys.sh to find out serial number.
|
||||
|
@ -9,8 +9,8 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
# setup serial terminal
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
export STLINK_VERSION ?= 2
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
STLINK_VERSION ?= 2
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -9,8 +9,8 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
# setup serial terminal
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
export STLINK_VERSION ?= 2
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
STLINK_VERSION ?= 2
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -13,7 +13,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# this board has an on-board ST-link adapter
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -12,8 +12,8 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
# setup serial terminal
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
export STLINK_VERSION ?= 2
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
STLINK_VERSION ?= 2
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -13,7 +13,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# this board has an on-board ST-link adapter
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -12,7 +12,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
# setup serial terminal
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -9,8 +9,8 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
# setup serial terminal
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
export STLINK_VERSION ?= 2-1
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
STLINK_VERSION ?= 2-1
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -9,8 +9,8 @@ PORT_LINUX ?= /dev/ttyUSB0
|
||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
|
||||
# This board uses an ST-Link v2 debug adapter
|
||||
export DEBUG_ADAPTER ?= stlink
|
||||
export STLINK_VERSION ?= 2
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
STLINK_VERSION ?= 2
|
||||
|
||||
# use openocd to program this board
|
||||
PROGRAMMER = openocd
|
||||
|
Loading…
Reference in New Issue
Block a user