1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

boards/nrf52: remove useless export of FLASH_TARGET_TYPE

This commit is contained in:
Alexandre Abadie 2020-03-08 15:03:49 +01:00
parent 2977b06a8d
commit 2ec09ebd74
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
5 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ ifeq (openocd,$(PROGRAMMER))
else ifeq (pyocd,$(PROGRAMMER))
# PyOCD doesn't recognize automatically the board ID, so target type has to
# be passed explicitly
export FLASH_TARGET_TYPE ?= -t nrf51
FLASH_TARGET_TYPE ?= -t nrf51
include $(RIOTMAKE)/tools/pyocd.inc.mk
endif

View File

@ -17,7 +17,7 @@ PROGRAMMER ?= pyocd
ifeq (pyocd,$(PROGRAMMER))
# The board is not recognized automatically by pyocd, so the CPU target
# option is passed explicitly
export FLASH_TARGET_TYPE ?= -t nrf52840
FLASH_TARGET_TYPE ?= -t nrf52840
include $(RIOTMAKE)/tools/pyocd.inc.mk
else ifeq (openocd,$(PROGRAMMER))
DEBUG_ADAPTER ?= dap

View File

@ -6,7 +6,7 @@ PROGRAMMER ?= pyocd
ifeq (pyocd,$(PROGRAMMER))
# The board is not recognized automatically by pyocd, so the CPU target
# option is passed explicitly
export FLASH_TARGET_TYPE ?= -t $(CPU)
FLASH_TARGET_TYPE ?= -t $(CPU)
include $(RIOTMAKE)/tools/pyocd.inc.mk
else ifeq (openocd,$(PROGRAMMER))
DEBUG_ADAPTER = dap

View File

@ -6,7 +6,7 @@ PROGRAMMER ?= pyocd
ifeq (pyocd,$(PROGRAMMER))
# The board is not recognized automatically by pyocd, so the CPU target
# option is passed explicitly
export FLASH_TARGET_TYPE ?= -t nrf52840
FLASH_TARGET_TYPE ?= -t nrf52840
include $(RIOTMAKE)/tools/pyocd.inc.mk
else ifeq (openocd,$(PROGRAMMER))
DEBUG_ADAPTER = dap

View File

@ -4,7 +4,7 @@ include $(RIOTMAKE)/tools/serial.inc.mk
# define pyocd as programmer to program with stlink
ifeq (pyocd,$(PROGRAMMER))
export FLASH_TARGET_TYPE ?= -t $(CPU)
FLASH_TARGET_TYPE ?= -t $(CPU)
include $(RIOTMAKE)/tools/pyocd.inc.mk
endif