add jtag/usb_common.[ch] files
Begins to consolidate code used by several USB JTAG interfaces. This first patch provides the required build system changes and a common jtag_usb_open routine, which will replace the guts for probing the busses and devices for possible VID/PID matches. The following patches convert each driver to use it.
This commit is contained in:
@@ -23,6 +23,10 @@ else
|
||||
# Standard Driver: common files
|
||||
DRIVERFILES += driver.c commands.c
|
||||
|
||||
if USB
|
||||
DRIVERFILES += usb_common.c
|
||||
endif
|
||||
|
||||
if BITBANG
|
||||
DRIVERFILES += bitbang.c
|
||||
endif
|
||||
@@ -92,7 +96,8 @@ noinst_HEADERS = \
|
||||
rlink/ep1_cmd.h \
|
||||
rlink/rlink.h \
|
||||
rlink/st7.h \
|
||||
minidummy/jtag_minidriver.h
|
||||
minidummy/jtag_minidriver.h \
|
||||
usb_common.h
|
||||
|
||||
EXTRA_DIST = startup.tcl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user