mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/stm32l0: use connect_assert_srst when flashing
This commit is contained in:
parent
281273f362
commit
e45388e210
@ -11,8 +11,9 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
# this board has an on-board ST-link adapter
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# call a 'reset halt' command before starting the debugger
|
||||
export OPENOCD_DBG_START_CMD = -c 'reset halt'
|
||||
# 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
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -11,8 +11,9 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
# to flash this board, use an ST-link adapter
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# call a 'reset halt' command before starting the debugger
|
||||
export OPENOCD_DBG_START_CMD = -c 'reset halt'
|
||||
# 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
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
@ -11,8 +11,9 @@ include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
# By default, flash this board using an ST-link adapter
|
||||
DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# call a 'reset halt' command before starting the debugger
|
||||
export OPENOCD_DBG_START_CMD = -c 'reset halt'
|
||||
# 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
|
||||
|
||||
# this board uses openocd
|
||||
include $(RIOTMAKE)/tools/openocd.inc.mk
|
||||
|
Loading…
Reference in New Issue
Block a user