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:
parent
2977b06a8d
commit
2ec09ebd74
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user