mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards: don't export globally OPENOCD_RESET_USE...
This commit is contained in:
parent
5ba95ed857
commit
f1ba22534a
@ -13,7 +13,7 @@ DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# this board can become un-flashable after a hardfault,
|
||||
# use connect_assert_srst to always be able to flash or reset the board.
|
||||
export OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -13,7 +13,7 @@ DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# The board can become un-flashable after some execution,
|
||||
# use connect_assert_srst to always be able to flash or reset the board.
|
||||
export OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -21,7 +21,7 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# The board can become un-flashable after some execution,
|
||||
# use connect_assert_srst to always be able to flash or reset the board.
|
||||
export OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -7,7 +7,7 @@ export BAUD = 500000
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# Using connect_assert_srst removes errors on flash from invalid state
|
||||
export OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
|
||||
DEBUG_ADAPTER ?= iotlab
|
||||
|
||||
|
@ -13,7 +13,7 @@ DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# this board can become un-flashable after a hardfault,
|
||||
# use connect_assert_srst to always be able to flash or reset the boards.
|
||||
export OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -13,7 +13,7 @@ DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# this board can become un-flashable after a hardfault,
|
||||
# use connect_assert_srst to always be able to flash or reset the boards.
|
||||
export OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -31,7 +31,7 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
# The board can become un-flashable after some firmware, use connect_assert_srst
|
||||
# to always be able to flash or reset the board.
|
||||
export OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -10,7 +10,7 @@ STLINK_VERSION ?= 2
|
||||
|
||||
# The board can become un-flashable after some execution,
|
||||
# use connect_assert_srst to always be able to flash or reset the board.
|
||||
export OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -23,7 +23,7 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
ifeq (openocd,$(PROGRAMMER))
|
||||
# STM32 boards can become un-flashable after a hardfault,
|
||||
# use connect_assert_srst to always be able to flash or reset the boards.
|
||||
export OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
|
||||
# For STM32 boards the ST-link adapter is the default adapter, e.g. all
|
||||
# Nucleo boards have an on-board ST-link adapter
|
||||
|
Loading…
Reference in New Issue
Block a user