boards/stm32: set openocd as only supported programmer
This commit is contained in:
parent
1ddf61a0c5
commit
b53d750029
@ -5,6 +5,9 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||
PROGRAMMER ?= openocd
|
||||
OPENOCD_DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# Add openocd as supported programmer
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
# this board can become un-flashable after a hardfault,
|
||||
# use connect_assert_srst to always be able to flash or reset the board.
|
||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
|
||||
@ -5,6 +5,9 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||
PROGRAMMER ?= openocd
|
||||
OPENOCD_DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# Add openocd as supported programmer
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
# The board can become un-flashable after some execution,
|
||||
# use connect_assert_srst to always be able to flash or reset the board.
|
||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
|
||||
@ -7,3 +7,6 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
|
||||
|
||||
# this board uses openocd
|
||||
PROGRAMMER ?= openocd
|
||||
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
@ -10,3 +10,5 @@ OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
|
||||
# this board uses openocd
|
||||
PROGRAMMER ?= openocd
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
@ -10,4 +10,7 @@ CFLAGS+=-DSX127X_RX_SWITCH
|
||||
|
||||
# this board uses openocd
|
||||
PROGRAMMER ?= openocd
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
OPENOCD_DEBUG_ADAPTER ?= stlink
|
||||
|
||||
@ -9,3 +9,6 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
PROGRAMMER ?= openocd
|
||||
OPENOCD_DEBUG_ADAPTER ?= stlink
|
||||
STLINK_VERSION ?= 2
|
||||
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
@ -14,3 +14,6 @@ PROGRAMMER ?= stm32loader
|
||||
STM32LOADER_FLAGS ?= -u -S -l 0x1ff
|
||||
|
||||
PYTERMFLAGS += --set-rts 0
|
||||
|
||||
# stm32loader programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += stm32loader
|
||||
|
||||
@ -8,3 +8,6 @@ PROGRAMMER ?= openocd
|
||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
# By default, flash this board using an ST-link adapter
|
||||
OPENOCD_DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
@ -4,3 +4,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||
# this board uses openocd with st-link
|
||||
PROGRAMMER ?= openocd
|
||||
OPENOCD_DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
@ -9,3 +9,6 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
PROGRAMMER ?= dfu-util
|
||||
DFU_USB_ID = 0483:df11
|
||||
DFU_USE_DFUSE = 1
|
||||
|
||||
# dfu-util programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += dfu-util
|
||||
|
||||
@ -3,6 +3,7 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||
|
||||
# custom flasher to use with the bootloader
|
||||
PROGRAMMER ?= robotis-loader
|
||||
PROGRAMMERS_SUPPORTED += robotis-loader
|
||||
|
||||
# Skip the space needed by the embedded bootloader
|
||||
ROM_OFFSET ?= 0x3000
|
||||
|
||||
@ -4,3 +4,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||
# this board uses openocd with st-link
|
||||
PROGRAMMER ?= openocd
|
||||
OPENOCD_DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# Only openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
@ -7,5 +7,6 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
|
||||
# this board is flashed using DFU
|
||||
PROGRAMMER ?= dfu-util
|
||||
PROGRAMMERS_SUPPORTED += dfu-util
|
||||
DFU_USB_ID = 1d50:607f
|
||||
DFU_USE_DFUSE = 1
|
||||
|
||||
@ -9,3 +9,6 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
PROGRAMMER ?= openocd
|
||||
OPENOCD_DEBUG_ADAPTER ?= stlink
|
||||
STLINK_VERSION ?= 2
|
||||
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
@ -13,3 +13,6 @@ 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.
|
||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
@ -5,3 +5,6 @@ INCLUDES += -I$(RIOTBOARD)/common/stm32/include
|
||||
PROGRAMMER ?= openocd
|
||||
# this board has an on-board ST-link adapter
|
||||
OPENOCD_DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
@ -12,3 +12,6 @@ STLINK_VERSION ?= 2
|
||||
|
||||
# Tell renode on which UART stdio is available
|
||||
RENODE_SYSBUS_UART ?= sysbus.uart2
|
||||
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
@ -6,3 +6,6 @@ PROGRAMMER ?= openocd
|
||||
|
||||
# this board has an on-board ST-link adapter
|
||||
OPENOCD_DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
@ -6,3 +6,6 @@ PROGRAMMER ?= openocd
|
||||
|
||||
# this board has an on-board ST-link adapter
|
||||
OPENOCD_DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
@ -9,3 +9,6 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
PROGRAMMER ?= openocd
|
||||
|
||||
OPENOCD_DEBUG_ADAPTER ?= stlink
|
||||
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
@ -8,3 +8,6 @@ OPENOCD_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.
|
||||
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1
|
||||
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
@ -6,3 +6,6 @@ PROGRAMMER ?= openocd
|
||||
|
||||
OPENOCD_DEBUG_ADAPTER ?= stlink
|
||||
STLINK_VERSION ?= 2-1
|
||||
|
||||
# openocd programmer is supported
|
||||
PROGRAMMERS_SUPPORTED += openocd
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user