mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
dirtyjtag: Add DirtyJTAG programmer
Add a new programmer driver for the DirtyJTAG project (a USB-JTAG firmware for STM32 MCUs). Successfully tested with DirtyJTAG 1.4 running on an Olimex STM32-H103 development board and a SST25VF020B SPI flash chip. Change-Id: Ic43e9a014ed7d04e429e73b30c9dcfdde1a78913 Signed-off-by: Jean THOMAS <virgule@jeanthomas.me> Reviewed-on: https://review.coreboot.org/c/flashrom/+/67878 Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:

committed by
Felix Singer

parent
5d3b95bbac
commit
001c87d901
9
Makefile
9
Makefile
@ -161,6 +161,7 @@ DEPENDS_ON_LIBUSB1 := \
|
||||
CONFIG_PICKIT2_SPI \
|
||||
CONFIG_RAIDEN_DEBUG_SPI \
|
||||
CONFIG_STLINKV3_SPI \
|
||||
CONFIG_DIRTYJTAG_SPI \
|
||||
|
||||
DEPENDS_ON_LIBFTDI1 := \
|
||||
CONFIG_FT2232_SPI \
|
||||
@ -521,6 +522,9 @@ CONFIG_CH341A_SPI ?= yes
|
||||
# Digilent Development board JTAG
|
||||
CONFIG_DIGILENT_SPI ?= yes
|
||||
|
||||
# DirtyJTAG
|
||||
CONFIG_DIRTYJTAG_SPI ?= yes
|
||||
|
||||
# Disable J-Link for now.
|
||||
CONFIG_JLINK_SPI ?= no
|
||||
|
||||
@ -771,6 +775,11 @@ FEATURE_FLAGS += -D'CONFIG_DIGILENT_SPI=1'
|
||||
PROGRAMMER_OBJS += digilent_spi.o
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_DIRTYJTAG_SPI), yes)
|
||||
FEATURE_CFLAGS += -D'CONFIG_DIRTYJTAG_SPI=1'
|
||||
PROGRAMMER_OBJS += dirtyjtag_spi.o
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_JLINK_SPI), yes)
|
||||
FEATURE_FLAGS += -D'CONFIG_JLINK_SPI=1'
|
||||
PROGRAMMER_OBJS += jlink_spi.o
|
||||
|
Reference in New Issue
Block a user