mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards: set supported programmers
This commit is contained in:
parent
a13344fa1b
commit
87cf4e387f
@ -3,5 +3,6 @@ INCLUDES += -I$(RIOTBOARD)/common/arduino-due/include
|
|||||||
|
|
||||||
# setup flasher (using BOSSA)
|
# setup flasher (using BOSSA)
|
||||||
PROGRAMMER ?= bossa
|
PROGRAMMER ?= bossa
|
||||||
|
PROGRAMMERS_SUPPORTED += bossa
|
||||||
BOSSA_VERSION = 1.8
|
BOSSA_VERSION = 1.8
|
||||||
BOSSA_ARDUINO_PREFLASH = yes
|
BOSSA_ARDUINO_PREFLASH = yes
|
||||||
|
@ -6,6 +6,8 @@ PORT_DARWIN ?= /dev/tty.usbserial-ARM
|
|||||||
# Use lpc2k_pgm programmer
|
# Use lpc2k_pgm programmer
|
||||||
PROGRAMMER ?= lpc2k_pgm
|
PROGRAMMER ?= lpc2k_pgm
|
||||||
|
|
||||||
|
PROGRAMMERS_SUPPORTED += lpc2k_pgm
|
||||||
|
|
||||||
# when using miniterm set RTS and DTR lines to 0, otherwise the board is reset
|
# when using miniterm set RTS and DTR lines to 0, otherwise the board is reset
|
||||||
MINITERMFLAGS += --rts 0 --dtr 0
|
MINITERMFLAGS += --rts 0 --dtr 0
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
# of writing has not been merged in the tree and is only available at
|
# of writing has not been merged in the tree and is only available at
|
||||||
# http://openocd.zylin.com/#/c/5584/ .
|
# http://openocd.zylin.com/#/c/5584/ .
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
|
PROGRAMMERS_SUPPORTED += openocd
|
||||||
|
|
||||||
# Using dap or jlink depends on which firmware the OpenSDA debugger is running
|
# Using dap or jlink depends on which firmware the OpenSDA debugger is running
|
||||||
#OPENOCD_DEBUG_ADAPTER ?= dap
|
#OPENOCD_DEBUG_ADAPTER ?= dap
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
# this board uses openocd
|
# this board uses openocd
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
|
|
||||||
|
PROGRAMMERS_SUPPORTED += openocd
|
||||||
|
@ -5,6 +5,7 @@ endif
|
|||||||
|
|
||||||
# this board uses openocd
|
# this board uses openocd
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
|
PROGRAMMERS_SUPPORTED += openocd
|
||||||
|
|
||||||
# Default debug adapter choice is to use the Mulle programmer board
|
# Default debug adapter choice is to use the Mulle programmer board
|
||||||
OPENOCD_DEBUG_ADAPTER ?= mulle
|
OPENOCD_DEBUG_ADAPTER ?= mulle
|
||||||
|
@ -13,6 +13,7 @@ endif
|
|||||||
|
|
||||||
# this board uses openocd
|
# this board uses openocd
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
|
PROGRAMMERS_SUPPORTED += openocd
|
||||||
|
|
||||||
# We need special handling of the watchdog if we want to speed up the flash
|
# We need special handling of the watchdog if we want to speed up the flash
|
||||||
# verification by using the MCU to compute the image checksum after flashing.
|
# verification by using the MCU to compute the image checksum after flashing.
|
||||||
|
@ -4,6 +4,7 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
|||||||
|
|
||||||
# this board uses openocd with an HEXFILE
|
# this board uses openocd with an HEXFILE
|
||||||
PROGRAMMER ?= openocd
|
PROGRAMMER ?= openocd
|
||||||
|
PROGRAMMERS_SUPPORTED += openocd
|
||||||
FLASHFILE ?= $(HEXFILE)
|
FLASHFILE ?= $(HEXFILE)
|
||||||
OPENOCD_DEBUG_ADAPTER ?= dap
|
OPENOCD_DEBUG_ADAPTER ?= dap
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user